From 2916cf6049cf9d3092021e247d56c580df6029a7 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 14 Oct 2024 04:04:03 +0100 Subject: gentoo auto-resync : 14:10:2024 - 04:04:03 --- net-irc/kvirc/Manifest | 4 +- net-irc/kvirc/kvirc-5.2.6.ebuild | 151 +++++++++++++++++++++++++++++++++++++++ net-irc/kvirc/kvirc-9999.ebuild | 30 ++++---- 3 files changed, 168 insertions(+), 17 deletions(-) create mode 100644 net-irc/kvirc/kvirc-5.2.6.ebuild (limited to 'net-irc/kvirc') diff --git a/net-irc/kvirc/Manifest b/net-irc/kvirc/Manifest index 6a75de01a49e..4c8115ad5fd7 100644 --- a/net-irc/kvirc/Manifest +++ b/net-irc/kvirc/Manifest @@ -1,4 +1,6 @@ DIST kvirc-5.2.4.tar.gz 6333384 BLAKE2B e9e85c90cd66bda6b53aac14f807e487c1b65b3a4e463462ea768227a28f774db40e0dce63387aa934b3366db376be945e76682c5a14aae638e4f6470741f5e4 SHA512 7658bdf5258d822164d8b38b6f4baa1814ad49a9ecc7dc0013fc0e9dbd952aca0ba9ab8e90dbcfa0c9db43c756e862989b04cedcfba00f2751371955ffea6503 +DIST kvirc-5.2.6.tar.gz 6336310 BLAKE2B ef86dd65cfb3ffe4de528fcbb0c3a1ce845f7108279d67590699e86a515fd62cfdadce360224020f77e4285c6cfe93897c69ac2d6d23da44be49753e41908e7c SHA512 54c845287d69be0e777a812b47212e061ae74b85c129fe97091ada554a320f4ae6ef65643a2a8238c8f938d1e1d7b02236d76e0950a41e6376288ac1b9070de5 EBUILD kvirc-5.2.4.ebuild 3861 BLAKE2B 488d0a67b39a4ecc5eeef98194a236512534766926ed287d1a7b52209c621a4c8cddcf2a946cb3633084708dd3765d29af62ea2b08b18effdcc9d5c81294f9ab SHA512 7cbcb8215edf65ad21322e2d79427cb8d7673da8dcb17fbbc2d89bcf088f71400ec07408d6b5a5d41e50115dafd3753ac0d32ff86710e9f84671fa5bf089af44 -EBUILD kvirc-9999.ebuild 3684 BLAKE2B 4be031d9995ab7ee3c15fb52dcf2cbb341cd67d9c30da72199a0d7575c714d0c04ab05de596903b6cac507cbf70eba0d9c9a795cde674b55715ea4be31624ece SHA512 2d2ac9b93d78379d470581fb6daaf5a1cc78e15eecca68467cbe81a163195f0a86f61701e71798690756604b421a2a843973a51873e5251351ae7fc148f030d9 +EBUILD kvirc-5.2.6.ebuild 3670 BLAKE2B b8e07fe159cfe6ffa0630f452072d83d4b80b6e359f7aedc74bf32eaf19cf34163ec5371096ebb6824e73bfe40d765366133d52cf53ee3a61129368dd79dc1b4 SHA512 6e392f845eff0d7ba2c0103689daf82f0a585aeaaef8e50a2b3fa262515e2a4c64543b44dc10f985b7d3c41f9e91c9d065f285f18fd598a69de213ca5495ad18 +EBUILD kvirc-9999.ebuild 3670 BLAKE2B b8e07fe159cfe6ffa0630f452072d83d4b80b6e359f7aedc74bf32eaf19cf34163ec5371096ebb6824e73bfe40d765366133d52cf53ee3a61129368dd79dc1b4 SHA512 6e392f845eff0d7ba2c0103689daf82f0a585aeaaef8e50a2b3fa262515e2a4c64543b44dc10f985b7d3c41f9e91c9d065f285f18fd598a69de213ca5495ad18 MISC metadata.xml 685 BLAKE2B 910e706182d26d6591d8aaea2d99ab0b3de4d937cb2179fc64adeb5247b4f113475f1088f9f4d38ba248a0c63504f5d43d29506d90b248909a2f8525d10b6bbd SHA512 a740aefd857f92cb9a896b8b0e7b77aebe234835a96fe3d358de060eb6306606273e34e9578e134d8f79118119500e55208020fd31a4a6c48829f606cba979cd diff --git a/net-irc/kvirc/kvirc-5.2.6.ebuild b/net-irc/kvirc/kvirc-5.2.6.ebuild new file mode 100644 index 000000000000..2831208694a0 --- /dev/null +++ b/net-irc/kvirc/kvirc-5.2.6.ebuild @@ -0,0 +1,151 @@ +# Copyright 2009-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +PYTHON_COMPAT=( python3_{10..13} ) +inherit cmake flag-o-matic python-single-r1 xdg + +DESCRIPTION="Advanced IRC Client" +HOMEPAGE="https://www.kvirc.net/ https://github.com/kvirc/KVIrc" + +if [[ ${PV} == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/kvirc/KVIrc" +else + SRC_URI="https://github.com/kvirc/KVIrc/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/KVIrc-${PV}" + KEYWORDS="~amd64 ~ppc ~ppc64 ~riscv ~x86" +fi + +LICENSE="GPL-2+" +SLOT="0" +IUSE="audiofile +dbus debug doc gsm kde +nls oss +perl profile +python spell +ssl theora webengine" +REQUIRED_USE="audiofile? ( oss ) python? ( ${PYTHON_REQUIRED_USE} )" + +BDEPEND=" + dev-lang/perl:0 + virtual/pkgconfig + doc? ( app-text/doxygen ) + kde? ( kde-frameworks/extra-cmake-modules:0 ) + nls? ( sys-devel/gettext )" +DEPEND=" + dev-qt/qtbase:6[concurrent,gui,network,sql,widgets,xml] + dev-qt/qtmultimedia:6 + sys-libs/zlib:0= + x11-libs/libX11 + audiofile? ( media-libs/audiofile ) + dbus? ( dev-qt/qtbase:6[dbus] ) + kde? ( + kde-frameworks/kconfig:6 + kde-frameworks/kcoreaddons:6 + kde-frameworks/kio:6 + kde-frameworks/ki18n:6 + kde-frameworks/knotifications:6 + kde-frameworks/kparts:6 + kde-frameworks/kservice:6 + kde-frameworks/kstatusnotifieritem:6 + kde-frameworks/kwindowsystem:6[X] + kde-frameworks/kxmlgui:6 + ) + perl? ( dev-lang/perl:0= ) + python? ( ${PYTHON_DEPS} ) + spell? ( app-text/enchant:2 ) + ssl? ( dev-libs/openssl:0= ) + theora? ( + media-libs/libogg + media-libs/libtheora + media-libs/libvorbis + ) + webengine? ( dev-qt/qtwebengine:6[widgets] )" +RDEPEND="${DEPEND} + gsm? ( media-sound/gsm )" + +DOCS=() + +pkg_setup() { + if use python; then + python-single-r1_pkg_setup + fi +} + +src_prepare() { + cmake_src_prepare + + if [[ ${PV} == *9999* ]]; then + KVIRC_GIT_REVISION="$(git show -s --format=%H)" + KVIRC_GIT_SOURCES_DATE="$(git show -s --format=%cd --date=short)" + einfo "Setting of revision number to ${KVIRC_GIT_REVISION} ${KVIRC_GIT_SOURCES_DATE}" + sed -e "/#define KVI_DEFAULT_FRAME_CAPTION/s/KVI_VERSION/& \" (${KVIRC_GIT_REVISION} ${KVIRC_GIT_SOURCES_DATE})\"/" \ + -i src/kvirc/ui/KviMainWindow.cpp || die "Setting of revision number failed" + fi +} + +src_configure() { + append-flags -fno-strict-aliasing + + local libdir="$(get_libdir)" + local mycmakeargs=( + -DLIB_SUFFIX=${libdir#lib} + -DWANT_ENV_FLAGS=ON + -DWANT_VERBOSE=ON + + -DWANT_CRYPT=ON + -DWANT_DCC_VOICE=ON + -DWANT_IPC=ON + -DWANT_IPV6=ON + -DWANT_TRANSPARENCY=ON + + -DWANT_AUDIOFILE=$(usex audiofile) + -DWANT_DEBUG=$(usex debug) + -DWANT_DOXYGEN=$(usex doc) + -DWANT_GETTEXT=$(usex nls) + -DWANT_GSM=$(usex gsm) + -DWANT_KDE=$(usex kde) + -DWANT_MEMORY_PROFILE=$(usex profile) + -DWANT_OGG_THEORA=$(usex theora) + -DWANT_OPENSSL=$(usex ssl) + -DWANT_OSS=$(usex oss) + -DWANT_PERL=$(usex perl) + -DWANT_PYTHON=$(usex python) + -DWANT_QTDBUS=$(usex dbus) + -DWANT_QTWEBENGINE=$(usex webengine) + -DWANT_SPELLCHECKER=$(usex spell) + -DQT_VERSION_MAJOR=6 + + -DWANT_DCC_VIDEO=OFF + -DWANT_PHONON=OFF + -DWANT_QTSVG=OFF # COMPILE_SVG_SUPPORT not used in source code. + ) + if use python; then + mycmakeargs+=( + -DPython3_INCLUDE_DIR="$(python_get_includedir)" + -DPython3_LIBRARY="$(python_get_library_path)" + ) + fi + if [[ ${PV} == *9999* ]]; then + mycmakeargs+=( + -DMANUAL_REVISION=${KVIRC_GIT_REVISION} + -DMANUAL_SOURCES_DATE=${KVIRC_GIT_SOURCES_DATE//-/} + ) + fi + + cmake_src_configure +} + +src_compile() { + cmake_src_compile + + if use doc; then + cmake_src_compile devdocs + fi +} + +src_install() { + cmake_src_install + + if use doc; then + docinto html + dodoc -r "${BUILD_DIR}/doc/api/html/"* + fi +} diff --git a/net-irc/kvirc/kvirc-9999.ebuild b/net-irc/kvirc/kvirc-9999.ebuild index 27dced2fcd5d..2831208694a0 100644 --- a/net-irc/kvirc/kvirc-9999.ebuild +++ b/net-irc/kvirc/kvirc-9999.ebuild @@ -2,19 +2,20 @@ # Distributed under the terms of the GNU General Public License v2 EAPI="8" -DESCRIPTION="Advanced IRC Client" -HOMEPAGE="https://www.kvirc.net/ https://github.com/kvirc/KVIrc" -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit cmake flag-o-matic python-single-r1 xdg -if [[ "${PV}" == "9999" ]]; then +DESCRIPTION="Advanced IRC Client" +HOMEPAGE="https://www.kvirc.net/ https://github.com/kvirc/KVIrc" + +if [[ ${PV} == *9999* ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/kvirc/KVIrc" else SRC_URI="https://github.com/kvirc/KVIrc/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~ppc ~ppc64 ~riscv ~x86" S="${WORKDIR}/KVIrc-${PV}" + KEYWORDS="~amd64 ~ppc ~ppc64 ~riscv ~x86" fi LICENSE="GPL-2+" @@ -44,7 +45,7 @@ DEPEND=" kde-frameworks/kparts:6 kde-frameworks/kservice:6 kde-frameworks/kstatusnotifieritem:6 - kde-frameworks/kwindowsystem:6 + kde-frameworks/kwindowsystem:6[X] kde-frameworks/kxmlgui:6 ) perl? ( dev-lang/perl:0= ) @@ -71,7 +72,7 @@ pkg_setup() { src_prepare() { cmake_src_prepare - if [[ "${PV}" == "9999" ]]; then + if [[ ${PV} == *9999* ]]; then KVIRC_GIT_REVISION="$(git show -s --format=%H)" KVIRC_GIT_SOURCES_DATE="$(git show -s --format=%cd --date=short)" einfo "Setting of revision number to ${KVIRC_GIT_REVISION} ${KVIRC_GIT_SOURCES_DATE}" @@ -96,7 +97,6 @@ src_configure() { -DWANT_TRANSPARENCY=ON -DWANT_AUDIOFILE=$(usex audiofile) - -DWANT_DCC_VIDEO=OFF -DWANT_DEBUG=$(usex debug) -DWANT_DOXYGEN=$(usex doc) -DWANT_GETTEXT=$(usex nls) @@ -107,15 +107,15 @@ src_configure() { -DWANT_OPENSSL=$(usex ssl) -DWANT_OSS=$(usex oss) -DWANT_PERL=$(usex perl) - -DWANT_PHONON=OFF -DWANT_PYTHON=$(usex python) -DWANT_QTDBUS=$(usex dbus) -DWANT_QTWEBENGINE=$(usex webengine) -DWANT_SPELLCHECKER=$(usex spell) -DQT_VERSION_MAJOR=6 - # COMPILE_SVG_SUPPORT not used in source code. - -DWANT_QTSVG=OFF + -DWANT_DCC_VIDEO=OFF + -DWANT_PHONON=OFF + -DWANT_QTSVG=OFF # COMPILE_SVG_SUPPORT not used in source code. ) if use python; then mycmakeargs+=( @@ -123,7 +123,7 @@ src_configure() { -DPython3_LIBRARY="$(python_get_library_path)" ) fi - if [[ "${PV}" == "9999" ]]; then + if [[ ${PV} == *9999* ]]; then mycmakeargs+=( -DMANUAL_REVISION=${KVIRC_GIT_REVISION} -DMANUAL_SOURCES_DATE=${KVIRC_GIT_SOURCES_DATE//-/} @@ -145,9 +145,7 @@ src_install() { cmake_src_install if use doc; then - ( - docinto html - dodoc -r "${BUILD_DIR}/doc/api/html/"* - ) + docinto html + dodoc -r "${BUILD_DIR}/doc/api/html/"* fi } -- cgit v1.2.3