diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-09-05 12:28:41 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-09-05 12:28:41 +0100 |
commit | 5d93bae2c1576ab817f482024a6d47592829407b (patch) | |
tree | 1fd9619473e6cdba4c004554cb1743ec16654102 /net-irc | |
parent | 518b45bffd19d0b75715f338985f96c459f9d129 (diff) |
gentoo auto-resync : 05:09:2024 - 12:28:40
Diffstat (limited to 'net-irc')
-rw-r--r-- | net-irc/Manifest.gz | bin | 8075 -> 8070 bytes | |||
-rw-r--r-- | net-irc/kvirc/Manifest | 9 | ||||
-rw-r--r-- | net-irc/kvirc/files/kvirc-5.2.0-dccvideo.patch | 69 | ||||
-rw-r--r-- | net-irc/kvirc/files/kvirc-5.2.0-qtver.patch | 25 | ||||
-rw-r--r-- | net-irc/kvirc/kvirc-5.2.0-r1.ebuild | 162 | ||||
-rw-r--r-- | net-irc/kvirc/kvirc-5.2.0-r2.ebuild | 164 | ||||
-rw-r--r-- | net-irc/kvirc/kvirc-5.2.2.ebuild | 159 | ||||
-rw-r--r-- | net-irc/kvirc/kvirc-9999.ebuild | 47 |
8 files changed, 22 insertions, 613 deletions
diff --git a/net-irc/Manifest.gz b/net-irc/Manifest.gz Binary files differindex 4dc3b81e736c..57a675c537fc 100644 --- a/net-irc/Manifest.gz +++ b/net-irc/Manifest.gz diff --git a/net-irc/kvirc/Manifest b/net-irc/kvirc/Manifest index ef36d04e8546..84c0b6e440b2 100644 --- a/net-irc/kvirc/Manifest +++ b/net-irc/kvirc/Manifest @@ -1,11 +1,4 @@ -AUX kvirc-5.2.0-dccvideo.patch 2435 BLAKE2B 3e037240bc221ad37b4542c91396ccea44f4d785c40821a46e9860f7ffdf245ec558f69accef400e5ce0d3400776fd14852d0e3f21a4b79e561c45eff9c1e3a5 SHA512 7c023828e9b0a26ece18479955aad98047bfa789ddfbf86c7f912a1a43e6fb5d155c6dec9168df4adbe1ea7326a8f543b9a5f2048cd146087a75786d22859190 -AUX kvirc-5.2.0-qtver.patch 911 BLAKE2B 23f3af68c8b87643d28cc7e377f6964190c354980d4a3e592c7b0149cf99d99bf3a28b55748d64d0c11533a1b0ee717d2f868b8ade84b39e7b8d0bb9cb9d9dcd SHA512 d5926370fb329ba101f1bd2672076349156f16aa0fc502421777f35c68b293694816219023a12890f91e9ca4827e8aeca6c8cfe2b9ed055eaeab6c9647207a72 -DIST kvirc-5.2.0.tar.gz 6365703 BLAKE2B fda63b6579b9d8d75eae5c2b039f474f4a810c79c74d98da0adebc4bec51c19286a9fb4a219dafefdf4132709394e946dd5aa30d1335ce1af4cbffd60764578d SHA512 01a183ae283b774dc096ec4bf81509ad79acf10fb3c82e06f66b7360736d32c1514856849ef562e2fc2b4ef3019e0842d17de8a762c7858dbac34f85de125079 -DIST kvirc-5.2.2.tar.gz 6362952 BLAKE2B ba90de3730dee0466c21cd658eda622bfb8f601e1af79d53952b2b016c0bacf0dc1d83c78f307288cc2e3bfda409773adfffc1b53fba6a0d8c682a5ab8739259 SHA512 dcb140051cebe4eaa82d8b8e221e4df3f40695b3b3a9aa9842ef5325e3129c73d08e5849589385793efc1eb70fd115ee634422af8be3f943eea79719a4159ea5 DIST kvirc-5.2.4.tar.gz 6333384 BLAKE2B e9e85c90cd66bda6b53aac14f807e487c1b65b3a4e463462ea768227a28f774db40e0dce63387aa934b3366db376be945e76682c5a14aae638e4f6470741f5e4 SHA512 7658bdf5258d822164d8b38b6f4baa1814ad49a9ecc7dc0013fc0e9dbd952aca0ba9ab8e90dbcfa0c9db43c756e862989b04cedcfba00f2751371955ffea6503 -EBUILD kvirc-5.2.0-r1.ebuild 3840 BLAKE2B 5a55f5df339149b5612e0e5a899e97573b56852a4de3923c826a29eeb9f2be8388924db286116db477869573d18bd454ec881d5ee755d4ed6bed9953b5305b2e SHA512 036a248568ca1a7600afcf1b8b15740b9fc524f2c5237035335bfe32a80aca14a7d58942d14e5c345220be702920e1af257099ed4cf702ef1943ddcc27732cf5 -EBUILD kvirc-5.2.0-r2.ebuild 3957 BLAKE2B 22955fcc7202cfd3191acae1e3a32e9913a25f2b5e276b3a4700c886e0ea5c7254fcb4d667cf41aaa45854661f6eb369b6b0d9e7b0faaef43404ccfaad72a6fb SHA512 d4a5a89c70bbbcdc2046604b8612fbd9fb8481eafcb1a6bc150df316a48bc37f1a4498ab53ca2721f2ea5c144d1f10b3dc2410f413cb42668d96559806dc1210 -EBUILD kvirc-5.2.2.ebuild 3861 BLAKE2B 488d0a67b39a4ecc5eeef98194a236512534766926ed287d1a7b52209c621a4c8cddcf2a946cb3633084708dd3765d29af62ea2b08b18effdcc9d5c81294f9ab SHA512 7cbcb8215edf65ad21322e2d79427cb8d7673da8dcb17fbbc2d89bcf088f71400ec07408d6b5a5d41e50115dafd3753ac0d32ff86710e9f84671fa5bf089af44 EBUILD kvirc-5.2.4.ebuild 3861 BLAKE2B 488d0a67b39a4ecc5eeef98194a236512534766926ed287d1a7b52209c621a4c8cddcf2a946cb3633084708dd3765d29af62ea2b08b18effdcc9d5c81294f9ab SHA512 7cbcb8215edf65ad21322e2d79427cb8d7673da8dcb17fbbc2d89bcf088f71400ec07408d6b5a5d41e50115dafd3753ac0d32ff86710e9f84671fa5bf089af44 -EBUILD kvirc-9999.ebuild 3863 BLAKE2B 4e412a5a3fc0b630ca5d1169a5a5cce7e72748d89a4c4ecd238ca2c2467f5f1337769c75015741847cb97262e03e67fbd0823a6630e1edd03c2a803edf6f3318 SHA512 a4614efc093f80d6c9662dc534c240d296218336982678f5a8b75e018f2d94d183186025daeb02089ee6936bde401fdcf4bab88e1752b72298d5f05eb6453523 +EBUILD kvirc-9999.ebuild 3717 BLAKE2B 3282a508bb75e8f9ab76f26ce2bff14d99c84e7abf014bd63eacd869f0de55aaf2f1689fcbc7d4bc4c168b6e2e66c402762b38ebe1df32b35053bb9c3fc54ee5 SHA512 aecae26758ee78986842047a50a66eb710e731b8f9d0aa9b830f035353ff1ca846868a6fe6be4867eedeb797e3b14aadf0bbdb4b611b3e38cd855ce4ea0becc1 MISC metadata.xml 685 BLAKE2B 910e706182d26d6591d8aaea2d99ab0b3de4d937cb2179fc64adeb5247b4f113475f1088f9f4d38ba248a0c63504f5d43d29506d90b248909a2f8525d10b6bbd SHA512 a740aefd857f92cb9a896b8b0e7b77aebe234835a96fe3d358de060eb6306606273e34e9578e134d8f79118119500e55208020fd31a4a6c48829f606cba979cd diff --git a/net-irc/kvirc/files/kvirc-5.2.0-dccvideo.patch b/net-irc/kvirc/files/kvirc-5.2.0-dccvideo.patch deleted file mode 100644 index 0d2944e30830..000000000000 --- a/net-irc/kvirc/files/kvirc-5.2.0-dccvideo.patch +++ /dev/null @@ -1,69 +0,0 @@ -From da4659a9d9c30b6d89875f328cca88758ef568c6 Mon Sep 17 00:00:00 2001 -From: Aleksei Bavshin <alebastr89@gmail.com> -Date: Wed, 17 Jan 2024 20:58:27 -0800 -Subject: [PATCH] Fix build with Qt5 and WANT_DCC_VIDEO -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -``` -src/modules/dcc/DccVideoWindow.cpp: In member function ‘virtual const QString& DccVideoWindow::target()’: -src/modules/dcc/DccVideoWindow.cpp:660:40: error: cannot convert ‘QString’ to ‘QString*’ in assignment -``` ---- - src/modules/dcc/DccVideoWindow.cpp | 14 ++------------ - src/modules/dcc/DccVideoWindow.h | 2 +- - 2 files changed, 3 insertions(+), 13 deletions(-) - -diff --git a/src/modules/dcc/DccVideoWindow.cpp b/src/modules/dcc/DccVideoWindow.cpp -index 7f4f66ea42..7cf8058fe8 100644 ---- a/src/modules/dcc/DccVideoWindow.cpp -+++ b/src/modules/dcc/DccVideoWindow.cpp -@@ -396,7 +396,6 @@ DccVideoWindow::DccVideoWindow(DccDescriptor * dcc, const char * name) - { - m_pDescriptor = dcc; - m_pSlaveThread = nullptr; -- m_pszTarget = nullptr; - - m_pButtonBox = new KviTalHBox(this); - -@@ -557,12 +556,6 @@ DccVideoWindow::~DccVideoWindow() - } - - KviThreadManager::killPendingEvents(this); -- -- if(m_pszTarget) -- { -- delete m_pszTarget; -- m_pszTarget = nullptr; -- } - } - - void DccVideoWindow::resizeEvent(QResizeEvent *) -@@ -654,11 +647,8 @@ void DccVideoWindow::connectionInProgress() - const QString & DccVideoWindow::target() - { - // This may change on the fly... -- if(!m_pszTarget) -- m_pszTarget = new QString(); -- -- m_pszTarget = QString::asprintf("%s@%s:%s", m_pDescriptor->szNick.toUtf8().data(), m_pDescriptor->szIp.toUtf8().data(), m_pDescriptor->szPort.toUtf8().data()); -- return *m_pszTarget; -+ m_szTarget = QString::asprintf("%s@%s:%s", m_pDescriptor->szNick.toUtf8().data(), m_pDescriptor->szIp.toUtf8().data(), m_pDescriptor->szPort.toUtf8().data()); -+ return m_szTarget; - } - - void DccVideoWindow::getBaseLogFileName(QString & buffer) -diff --git a/src/modules/dcc/DccVideoWindow.h b/src/modules/dcc/DccVideoWindow.h -index 98bb622f5b..d0f957ea3e 100644 ---- a/src/modules/dcc/DccVideoWindow.h -+++ b/src/modules/dcc/DccVideoWindow.h -@@ -129,7 +129,7 @@ class DccVideoWindow : public DccWindow - QGridLayout * m_pLayout; - QTimer m_Timer; - QLabel * m_pVideoLabel[3]; -- QString * m_pszTarget; -+ QString m_szTarget; - DccVideoThread * m_pSlaveThread; - QByteArray m_tmpTextDataOut; - QString m_szLocalNick; diff --git a/net-irc/kvirc/files/kvirc-5.2.0-qtver.patch b/net-irc/kvirc/files/kvirc-5.2.0-qtver.patch deleted file mode 100644 index 9f3700ec9d9b..000000000000 --- a/net-irc/kvirc/files/kvirc-5.2.0-qtver.patch +++ /dev/null @@ -1,25 +0,0 @@ -From a301aa4998c4f0040d093cd2950b7b2f4ec4dcdc Mon Sep 17 00:00:00 2001 -From: Alexey Sokolov <sokolov@google.com> -Date: Sun, 21 Jan 2024 21:07:37 +0000 -Subject: [PATCH] Fix ability to select Qt5 vs Qt6 - -https://bugs.gentoo.org/922636 ---- - CMakeLists.txt | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index aabc0988b..9368e81c9 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -389,7 +389,9 @@ endif() - ############################################################################ - - # first check if Qt6 or Qt5 has to be used --find_package(QT NAMES Qt6 Qt5 REQUIRED COMPONENTS Core) -+if(NOT DEFINED QT_VERSION_MAJOR) -+ find_package(QT NAMES Qt6 Qt5 REQUIRED COMPONENTS Core) -+endif() - # second, detect available modules for the specific Qt version - find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS Widgets) - if(Qt${QT_VERSION_MAJOR}Widgets_FOUND) diff --git a/net-irc/kvirc/kvirc-5.2.0-r1.ebuild b/net-irc/kvirc/kvirc-5.2.0-r1.ebuild deleted file mode 100644 index e9b6d4a308d7..000000000000 --- a/net-irc/kvirc/kvirc-5.2.0-r1.ebuild +++ /dev/null @@ -1,162 +0,0 @@ -# Copyright 2009-2024 Gentoo Authors -# 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" -CMAKE_MAKEFILE_GENERATOR="emake" -PYTHON_COMPAT=( python3_{10..12} ) - -inherit cmake flag-o-matic python-single-r1 xdg - -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}" -fi - -LICENSE="GPL-2+" -SLOT="0" -IUSE="audiofile +dbus dcc-video debug doc gsm kde +nls oss +perl +phonon profile +python spell +ssl theora" -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/qtcore:5 - dev-qt/qtconcurrent:5 - dev-qt/qtgui:5 - dev-qt/qtmultimedia:5 - dev-qt/qtnetwork:5 - dev-qt/qtprintsupport:5 - dev-qt/qtsql:5 - dev-qt/qtwidgets:5 - dev-qt/qtx11extras:5 - dev-qt/qtxml:5 - sys-libs/zlib:0= - x11-libs/libX11 - x11-libs/libXScrnSaver - audiofile? ( media-libs/audiofile ) - dbus? ( dev-qt/qtdbus:5 ) - dcc-video? ( dev-qt/qtmultimedia:5[widgets] ) - kde? ( - kde-frameworks/kcoreaddons:5 - kde-frameworks/ki18n:5 - kde-frameworks/knotifications:5 - kde-frameworks/kservice:5 - kde-frameworks/kwindowsystem:5 - kde-frameworks/kxmlgui:5 - ) - perl? ( dev-lang/perl:0= ) - phonon? ( media-libs/phonon[qt5(+)] ) - python? ( ${PYTHON_DEPS} ) - spell? ( app-text/enchant:2 ) - ssl? ( dev-libs/openssl:0= ) - theora? ( - media-libs/libogg - media-libs/libtheora - media-libs/libvorbis - )" -RDEPEND="${DEPEND} - gsm? ( media-sound/gsm )" - -DOCS=() - -PATCHES=( - "${FILESDIR}/kvirc-5.2.0-qtver.patch" -) - -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_DCC_VIDEO=$(usex dcc-video) - -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_PHONON=$(usex phonon) - -DWANT_PYTHON=$(usex python) - -DWANT_QTDBUS=$(usex dbus) - -DWANT_QTWEBKIT=OFF - -DWANT_SPELLCHECKER=$(usex spell) - -DQT_VERSION_MAJOR=5 - - # COMPILE_SVG_SUPPORT not used in source code. - -DWANT_QTSVG=OFF - ) - 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-5.2.0-r2.ebuild b/net-irc/kvirc/kvirc-5.2.0-r2.ebuild deleted file mode 100644 index bb2c098eb7b8..000000000000 --- a/net-irc/kvirc/kvirc-5.2.0-r2.ebuild +++ /dev/null @@ -1,164 +0,0 @@ -# Copyright 2009-2024 Gentoo Authors -# 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" -CMAKE_MAKEFILE_GENERATOR="emake" -PYTHON_COMPAT=( python3_{10..12} ) - -inherit cmake flag-o-matic python-single-r1 xdg - -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}" -fi - -LICENSE="GPL-2+" -SLOT="0" -IUSE="audiofile +dbus dcc-video debug doc gsm kde +nls oss +perl +phonon 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/qtcore:5 - dev-qt/qtconcurrent:5 - dev-qt/qtgui:5 - dev-qt/qtmultimedia:5 - dev-qt/qtnetwork:5 - dev-qt/qtprintsupport:5 - dev-qt/qtsql:5 - dev-qt/qtwidgets:5 - dev-qt/qtx11extras:5 - dev-qt/qtxml:5 - sys-libs/zlib:0= - x11-libs/libX11 - x11-libs/libXScrnSaver - audiofile? ( media-libs/audiofile ) - dbus? ( dev-qt/qtdbus:5 ) - dcc-video? ( dev-qt/qtmultimedia:5[widgets] ) - kde? ( - kde-frameworks/kcoreaddons:5 - kde-frameworks/ki18n:5 - kde-frameworks/knotifications:5 - kde-frameworks/kservice:5 - kde-frameworks/kwindowsystem:5 - kde-frameworks/kxmlgui:5 - ) - perl? ( dev-lang/perl:0= ) - phonon? ( media-libs/phonon[qt5(+)] ) - 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:5[widgets] )" -RDEPEND="${DEPEND} - gsm? ( media-sound/gsm )" - -DOCS=() - -PATCHES=( - "${FILESDIR}/kvirc-5.2.0-qtver.patch" - "${FILESDIR}/kvirc-5.2.0-dccvideo.patch" -) - -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_DCC_VIDEO=$(usex dcc-video) - -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_PHONON=$(usex phonon) - -DWANT_PYTHON=$(usex python) - -DWANT_QTDBUS=$(usex dbus) - -DWANT_QTWEBENGINE=$(usex webengine) - -DWANT_SPELLCHECKER=$(usex spell) - -DQT_VERSION_MAJOR=5 - - # COMPILE_SVG_SUPPORT not used in source code. - -DWANT_QTSVG=OFF - ) - 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-5.2.2.ebuild b/net-irc/kvirc/kvirc-5.2.2.ebuild deleted file mode 100644 index 5f7c77b52cf6..000000000000 --- a/net-irc/kvirc/kvirc-5.2.2.ebuild +++ /dev/null @@ -1,159 +0,0 @@ -# Copyright 2009-2024 Gentoo Authors -# 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" -CMAKE_MAKEFILE_GENERATOR="emake" -PYTHON_COMPAT=( python3_{10..12} ) - -inherit cmake flag-o-matic python-single-r1 xdg - -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}" -fi - -LICENSE="GPL-2+" -SLOT="0" -IUSE="audiofile +dbus dcc-video debug doc gsm kde +nls oss +perl +phonon 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/qtcore:5 - dev-qt/qtconcurrent:5 - dev-qt/qtgui:5 - dev-qt/qtmultimedia:5 - dev-qt/qtnetwork:5 - dev-qt/qtprintsupport:5 - dev-qt/qtsql:5 - dev-qt/qtwidgets:5 - dev-qt/qtx11extras:5 - dev-qt/qtxml:5 - sys-libs/zlib:0= - x11-libs/libX11 - x11-libs/libXScrnSaver - audiofile? ( media-libs/audiofile ) - dbus? ( dev-qt/qtdbus:5 ) - dcc-video? ( dev-qt/qtmultimedia:5[widgets] ) - kde? ( - kde-frameworks/kcoreaddons:5 - kde-frameworks/ki18n:5 - kde-frameworks/knotifications:5 - kde-frameworks/kservice:5 - kde-frameworks/kwindowsystem:5 - kde-frameworks/kxmlgui:5 - ) - perl? ( dev-lang/perl:0= ) - phonon? ( media-libs/phonon[qt5(+)] ) - 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:5[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_DCC_VIDEO=$(usex dcc-video) - -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_PHONON=$(usex phonon) - -DWANT_PYTHON=$(usex python) - -DWANT_QTDBUS=$(usex dbus) - -DWANT_QTWEBENGINE=$(usex webengine) - -DWANT_SPELLCHECKER=$(usex spell) - -DQT_VERSION_MAJOR=5 - - # COMPILE_SVG_SUPPORT not used in source code. - -DWANT_QTSVG=OFF - ) - 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 32a984d0afbb..0f72f0889af3 100644 --- a/net-irc/kvirc/kvirc-9999.ebuild +++ b/net-irc/kvirc/kvirc-9999.ebuild @@ -20,40 +20,35 @@ fi LICENSE="GPL-2+" SLOT="0" -IUSE="audiofile +dbus dcc-video debug doc gsm kde +nls oss +perl +phonon profile +python spell +ssl theora webengine" +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 +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/qtcore:5 - dev-qt/qtconcurrent:5 - dev-qt/qtgui:5 - dev-qt/qtmultimedia:5 - dev-qt/qtnetwork:5 - dev-qt/qtprintsupport:5 - dev-qt/qtsql:5 - dev-qt/qtwidgets:5 - dev-qt/qtx11extras:5 - dev-qt/qtxml:5 +DEPEND=" + dev-qt/qtbase:6[concurrent,gui,network,sql,widgets,xml] + dev-qt/qtmultimedia:6 sys-libs/zlib:0= x11-libs/libX11 - x11-libs/libXScrnSaver audiofile? ( media-libs/audiofile ) - dbus? ( dev-qt/qtdbus:5 ) - dcc-video? ( dev-qt/qtmultimedia:5[widgets] ) + dbus? ( dev-qt/qtbase:6[dbus] ) kde? ( - kde-frameworks/kcoreaddons:5 - kde-frameworks/ki18n:5 - kde-frameworks/knotifications:5 - kde-frameworks/kservice:5 - kde-frameworks/kwindowsystem:5 - kde-frameworks/kxmlgui:5 + 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 + kde-frameworks/kxmlgui:6 ) perl? ( dev-lang/perl:0= ) - phonon? ( media-libs/phonon[qt5(+)] ) python? ( ${PYTHON_DEPS} ) spell? ( app-text/enchant:2 ) ssl? ( dev-libs/openssl:0= ) @@ -62,7 +57,7 @@ DEPEND="dev-qt/qtcore:5 media-libs/libtheora media-libs/libvorbis ) - webengine? ( dev-qt/qtwebengine:5[widgets] )" + webengine? ( dev-qt/qtwebengine:6[widgets] )" RDEPEND="${DEPEND} gsm? ( media-sound/gsm )" @@ -102,7 +97,7 @@ src_configure() { -DWANT_TRANSPARENCY=ON -DWANT_AUDIOFILE=$(usex audiofile) - -DWANT_DCC_VIDEO=$(usex dcc-video) + -DWANT_DCC_VIDEO=OFF -DWANT_DEBUG=$(usex debug) -DWANT_DOXYGEN=$(usex doc) -DWANT_GETTEXT=$(usex nls) @@ -113,12 +108,12 @@ src_configure() { -DWANT_OPENSSL=$(usex ssl) -DWANT_OSS=$(usex oss) -DWANT_PERL=$(usex perl) - -DWANT_PHONON=$(usex phonon) + -DWANT_PHONON=OFF -DWANT_PYTHON=$(usex python) -DWANT_QTDBUS=$(usex dbus) -DWANT_QTWEBENGINE=$(usex webengine) -DWANT_SPELLCHECKER=$(usex spell) - -DQT_VERSION_MAJOR=5 + -DQT_VERSION_MAJOR=6 # COMPILE_SVG_SUPPORT not used in source code. -DWANT_QTSVG=OFF |