From b619875ee9892b3586877211e085cedc1ff82c02 Mon Sep 17 00:00:00 2001 From: Jakov Smolić Date: Tue, 5 Oct 2021 08:56:06 +0200 Subject: net-irc/kvirc: Remove qtwebkit support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/750881 Bug: https://bugs.gentoo.org/684580 Signed-off-by: Jakov Smolić --- .../kvirc/kvirc-5.2_pre20200605155236-r1.ebuild | 181 --------------------- .../kvirc/kvirc-5.2_pre20200605155236-r2.ebuild | 181 +++++++++++++++++++++ .../kvirc/kvirc-5.2_pre20210630233331-r1.ebuild | 177 ++++++++++++++++++++ net-irc/kvirc/kvirc-5.2_pre20210630233331.ebuild | 177 -------------------- net-irc/kvirc/kvirc-9999.ebuild | 6 +- 5 files changed, 361 insertions(+), 361 deletions(-) delete mode 100644 net-irc/kvirc/kvirc-5.2_pre20200605155236-r1.ebuild create mode 100644 net-irc/kvirc/kvirc-5.2_pre20200605155236-r2.ebuild create mode 100644 net-irc/kvirc/kvirc-5.2_pre20210630233331-r1.ebuild delete mode 100644 net-irc/kvirc/kvirc-5.2_pre20210630233331.ebuild (limited to 'net-irc/kvirc') diff --git a/net-irc/kvirc/kvirc-5.2_pre20200605155236-r1.ebuild b/net-irc/kvirc/kvirc-5.2_pre20200605155236-r1.ebuild deleted file mode 100644 index c92018013e98..000000000000 --- a/net-irc/kvirc/kvirc-5.2_pre20200605155236-r1.ebuild +++ /dev/null @@ -1,181 +0,0 @@ -# Copyright 2009-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" -CMAKE_MAKEFILE_GENERATOR="emake" -PYTHON_COMPAT=(python{3_8,3_9}) - -inherit cmake flag-o-matic python-single-r1 xdg-utils - -if [[ "${PV}" == "9999" ]]; then - inherit git-r3 - - EGIT_REPO_URI="https://github.com/kvirc/KVIrc" - KVIRC_GIT_REVISION="" - KVIRC_GIT_SOURCES_DATE="" -else - KVIRC_GIT_REVISION="e66a5106ef55a92e2532c38aa255ac376ba6afe1" - KVIRC_GIT_SOURCES_DATE="${PV#*_pre}" - KVIRC_GIT_SOURCES_DATE="${KVIRC_GIT_SOURCES_DATE:0:4}-${KVIRC_GIT_SOURCES_DATE:4:2}-${KVIRC_GIT_SOURCES_DATE:6:2}" -fi - -DESCRIPTION="Advanced IRC Client" -HOMEPAGE="https://www.kvirc.net/ https://github.com/kvirc/KVIrc" -if [[ "${PV}" == "9999" ]]; then - SRC_URI="" -else - SRC_URI="https://github.com/kvirc/KVIrc/archive/${KVIRC_GIT_REVISION}.tar.gz -> ${P}.tar.gz" -fi - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="amd64 ~ppc ~ppc64 x86" -IUSE="audiofile +dbus dcc-video debug doc gsm kde +nls oss +perl +phonon profile +python spell +ssl theora webkit" -REQUIRED_USE="audiofile? ( oss ) python? ( ${PYTHON_REQUIRED_USE} )" - -BDEPEND="dev-lang/perl:0 - >=dev-util/cmake-3.16 - virtual/pkgconfig - doc? ( app-doc/doxygen ) - kde? ( kde-frameworks/extra-cmake-modules:5 ) - nls? ( sys-devel/gettext )" -DEPEND="dev-qt/qtcore: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:0= ) - ssl? ( dev-libs/openssl:0= ) - theora? ( - media-libs/libogg - media-libs/libtheora - media-libs/libvorbis - ) - webkit? ( dev-qt/qtwebkit:5 )" -RDEPEND="${DEPEND} - gsm? ( media-sound/gsm )" - -if [[ "${PV}" != "9999" ]]; then - S="${WORKDIR}/KVIrc-${KVIRC_GIT_REVISION}" -fi - -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)" - fi - 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" - - # https://github.com/kvirc/KVIrc/issues/2504 - # https://github.com/kvirc/KVIrc/commit/fa2b4a9f98e2820432e3a7561b3ca914982a4454 - sed -e "s/KWindowInfo wi = KWindowSystem::windowInfo(activeId, NET::WMState);/KWindowInfo wi = KWindowInfo(activeId, NET::WMState);/" -i src/modules/notifier/NotifierWindow.cpp || die -} - -src_configure() { - append-flags -fno-strict-aliasing - - local libdir="$(get_libdir)" - local mycmakeargs=( - -DLIB_SUFFIX=${libdir#lib} - -DMANUAL_REVISION=${KVIRC_GIT_REVISION} - -DMANUAL_SOURCES_DATE=${KVIRC_GIT_SOURCES_DATE//-/} - -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 ON OFF) - -DWANT_DCC_VIDEO=$(usex dcc-video ON OFF) - -DWANT_DEBUG=$(usex debug ON OFF) - -DWANT_DOXYGEN=$(usex doc ON OFF) - -DWANT_GETTEXT=$(usex nls ON OFF) - -DWANT_GSM=$(usex gsm ON OFF) - -DWANT_KDE=$(usex kde ON OFF) - -DWANT_MEMORY_PROFILE=$(usex profile ON OFF) - -DWANT_OGG_THEORA=$(usex theora ON OFF) - -DWANT_OPENSSL=$(usex ssl ON OFF) - -DWANT_OSS=$(usex oss ON OFF) - -DWANT_PERL=$(usex perl ON OFF) - -DWANT_PHONON=$(usex phonon ON OFF) - -DWANT_PYTHON=$(usex python ON OFF) - -DWANT_QTDBUS=$(usex dbus ON OFF) - -DWANT_QTWEBKIT=$(usex webkit ON OFF) - -DWANT_SPELLCHECKER=$(usex spell ON OFF) - - # 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 - - 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 -} - -pkg_postinst() { - xdg_desktop_database_update - xdg_icon_cache_update -} - -pkg_postrm() { - xdg_desktop_database_update - xdg_icon_cache_update -} diff --git a/net-irc/kvirc/kvirc-5.2_pre20200605155236-r2.ebuild b/net-irc/kvirc/kvirc-5.2_pre20200605155236-r2.ebuild new file mode 100644 index 000000000000..dd4434e337ee --- /dev/null +++ b/net-irc/kvirc/kvirc-5.2_pre20200605155236-r2.ebuild @@ -0,0 +1,181 @@ +# Copyright 2009-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" +CMAKE_MAKEFILE_GENERATOR="emake" +PYTHON_COMPAT=(python{3_8,3_9}) + +inherit cmake flag-o-matic python-single-r1 xdg-utils + +if [[ "${PV}" == "9999" ]]; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/kvirc/KVIrc" + KVIRC_GIT_REVISION="" + KVIRC_GIT_SOURCES_DATE="" +else + KVIRC_GIT_REVISION="e66a5106ef55a92e2532c38aa255ac376ba6afe1" + KVIRC_GIT_SOURCES_DATE="${PV#*_pre}" + KVIRC_GIT_SOURCES_DATE="${KVIRC_GIT_SOURCES_DATE:0:4}-${KVIRC_GIT_SOURCES_DATE:4:2}-${KVIRC_GIT_SOURCES_DATE:6:2}" +fi + +DESCRIPTION="Advanced IRC Client" +HOMEPAGE="https://www.kvirc.net/ https://github.com/kvirc/KVIrc" +if [[ "${PV}" == "9999" ]]; then + SRC_URI="" +else + SRC_URI="https://github.com/kvirc/KVIrc/archive/${KVIRC_GIT_REVISION}.tar.gz -> ${P}.tar.gz" +fi + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="amd64 ~ppc ~ppc64 x86" +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 + >=dev-util/cmake-3.16 + virtual/pkgconfig + doc? ( app-doc/doxygen ) + kde? ( kde-frameworks/extra-cmake-modules:5 ) + nls? ( sys-devel/gettext )" +DEPEND="dev-qt/qtcore: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:0= ) + ssl? ( dev-libs/openssl:0= ) + theora? ( + media-libs/libogg + media-libs/libtheora + media-libs/libvorbis + ) +" +RDEPEND="${DEPEND} + gsm? ( media-sound/gsm )" + +if [[ "${PV}" != "9999" ]]; then + S="${WORKDIR}/KVIrc-${KVIRC_GIT_REVISION}" +fi + +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)" + fi + 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" + + # https://github.com/kvirc/KVIrc/issues/2504 + # https://github.com/kvirc/KVIrc/commit/fa2b4a9f98e2820432e3a7561b3ca914982a4454 + sed -e "s/KWindowInfo wi = KWindowSystem::windowInfo(activeId, NET::WMState);/KWindowInfo wi = KWindowInfo(activeId, NET::WMState);/" -i src/modules/notifier/NotifierWindow.cpp || die +} + +src_configure() { + append-flags -fno-strict-aliasing + + local libdir="$(get_libdir)" + local mycmakeargs=( + -DLIB_SUFFIX=${libdir#lib} + -DMANUAL_REVISION=${KVIRC_GIT_REVISION} + -DMANUAL_SOURCES_DATE=${KVIRC_GIT_SOURCES_DATE//-/} + -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 ON OFF) + -DWANT_DCC_VIDEO=$(usex dcc-video ON OFF) + -DWANT_DEBUG=$(usex debug ON OFF) + -DWANT_DOXYGEN=$(usex doc ON OFF) + -DWANT_GETTEXT=$(usex nls ON OFF) + -DWANT_GSM=$(usex gsm ON OFF) + -DWANT_KDE=$(usex kde ON OFF) + -DWANT_MEMORY_PROFILE=$(usex profile ON OFF) + -DWANT_OGG_THEORA=$(usex theora ON OFF) + -DWANT_OPENSSL=$(usex ssl ON OFF) + -DWANT_OSS=$(usex oss ON OFF) + -DWANT_PERL=$(usex perl ON OFF) + -DWANT_PHONON=$(usex phonon ON OFF) + -DWANT_PYTHON=$(usex python ON OFF) + -DWANT_QTDBUS=$(usex dbus ON OFF) + -DWANT_QTWEBKIT=OFF + -DWANT_SPELLCHECKER=$(usex spell ON OFF) + + # 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 + + 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 +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update +} diff --git a/net-irc/kvirc/kvirc-5.2_pre20210630233331-r1.ebuild b/net-irc/kvirc/kvirc-5.2_pre20210630233331-r1.ebuild new file mode 100644 index 000000000000..d30be45428be --- /dev/null +++ b/net-irc/kvirc/kvirc-5.2_pre20210630233331-r1.ebuild @@ -0,0 +1,177 @@ +# Copyright 2009-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" +CMAKE_MAKEFILE_GENERATOR="emake" +PYTHON_COMPAT=(python{3_8,3_9}) + +inherit cmake flag-o-matic python-single-r1 xdg-utils + +if [[ "${PV}" == "9999" ]]; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/kvirc/KVIrc" + KVIRC_GIT_REVISION="" + KVIRC_GIT_SOURCES_DATE="" +else + KVIRC_GIT_REVISION="d86b79f657bb7388d7ec1d3e0d91e7c4221c2394" + KVIRC_GIT_SOURCES_DATE="${PV#*_pre}" + KVIRC_GIT_SOURCES_DATE="${KVIRC_GIT_SOURCES_DATE:0:4}-${KVIRC_GIT_SOURCES_DATE:4:2}-${KVIRC_GIT_SOURCES_DATE:6:2}" +fi + +DESCRIPTION="Advanced IRC Client" +HOMEPAGE="https://www.kvirc.net/ https://github.com/kvirc/KVIrc" +if [[ "${PV}" == "9999" ]]; then + SRC_URI="" +else + SRC_URI="https://github.com/kvirc/KVIrc/archive/${KVIRC_GIT_REVISION}.tar.gz -> ${P}.tar.gz" +fi + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +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 + >=dev-util/cmake-3.16 + virtual/pkgconfig + doc? ( app-doc/doxygen ) + kde? ( kde-frameworks/extra-cmake-modules:5 ) + nls? ( sys-devel/gettext )" +DEPEND="dev-qt/qtcore: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:0= ) + ssl? ( dev-libs/openssl:0= ) + theora? ( + media-libs/libogg + media-libs/libtheora + media-libs/libvorbis + ) +" +RDEPEND="${DEPEND} + gsm? ( media-sound/gsm )" + +if [[ "${PV}" != "9999" ]]; then + S="${WORKDIR}/KVIrc-${KVIRC_GIT_REVISION}" +fi + +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)" + fi + 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" +} + +src_configure() { + append-flags -fno-strict-aliasing + + local libdir="$(get_libdir)" + local mycmakeargs=( + -DLIB_SUFFIX=${libdir#lib} + -DMANUAL_REVISION=${KVIRC_GIT_REVISION} + -DMANUAL_SOURCES_DATE=${KVIRC_GIT_SOURCES_DATE//-/} + -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 ON OFF) + -DWANT_DCC_VIDEO=$(usex dcc-video ON OFF) + -DWANT_DEBUG=$(usex debug ON OFF) + -DWANT_DOXYGEN=$(usex doc ON OFF) + -DWANT_GETTEXT=$(usex nls ON OFF) + -DWANT_GSM=$(usex gsm ON OFF) + -DWANT_KDE=$(usex kde ON OFF) + -DWANT_MEMORY_PROFILE=$(usex profile ON OFF) + -DWANT_OGG_THEORA=$(usex theora ON OFF) + -DWANT_OPENSSL=$(usex ssl ON OFF) + -DWANT_OSS=$(usex oss ON OFF) + -DWANT_PERL=$(usex perl ON OFF) + -DWANT_PHONON=$(usex phonon ON OFF) + -DWANT_PYTHON=$(usex python ON OFF) + -DWANT_QTDBUS=$(usex dbus ON OFF) + -DWANT_QTWEBKIT=OFF + -DWANT_SPELLCHECKER=$(usex spell ON OFF) + + # 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 + + 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 +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update +} diff --git a/net-irc/kvirc/kvirc-5.2_pre20210630233331.ebuild b/net-irc/kvirc/kvirc-5.2_pre20210630233331.ebuild deleted file mode 100644 index 06907a5543b4..000000000000 --- a/net-irc/kvirc/kvirc-5.2_pre20210630233331.ebuild +++ /dev/null @@ -1,177 +0,0 @@ -# Copyright 2009-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" -CMAKE_MAKEFILE_GENERATOR="emake" -PYTHON_COMPAT=(python{3_8,3_9}) - -inherit cmake flag-o-matic python-single-r1 xdg-utils - -if [[ "${PV}" == "9999" ]]; then - inherit git-r3 - - EGIT_REPO_URI="https://github.com/kvirc/KVIrc" - KVIRC_GIT_REVISION="" - KVIRC_GIT_SOURCES_DATE="" -else - KVIRC_GIT_REVISION="d86b79f657bb7388d7ec1d3e0d91e7c4221c2394" - KVIRC_GIT_SOURCES_DATE="${PV#*_pre}" - KVIRC_GIT_SOURCES_DATE="${KVIRC_GIT_SOURCES_DATE:0:4}-${KVIRC_GIT_SOURCES_DATE:4:2}-${KVIRC_GIT_SOURCES_DATE:6:2}" -fi - -DESCRIPTION="Advanced IRC Client" -HOMEPAGE="https://www.kvirc.net/ https://github.com/kvirc/KVIrc" -if [[ "${PV}" == "9999" ]]; then - SRC_URI="" -else - SRC_URI="https://github.com/kvirc/KVIrc/archive/${KVIRC_GIT_REVISION}.tar.gz -> ${P}.tar.gz" -fi - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" -IUSE="audiofile +dbus dcc-video debug doc gsm kde +nls oss +perl +phonon profile +python spell +ssl theora webkit" -REQUIRED_USE="audiofile? ( oss ) python? ( ${PYTHON_REQUIRED_USE} )" - -BDEPEND="dev-lang/perl:0 - >=dev-util/cmake-3.16 - virtual/pkgconfig - doc? ( app-doc/doxygen ) - kde? ( kde-frameworks/extra-cmake-modules:5 ) - nls? ( sys-devel/gettext )" -DEPEND="dev-qt/qtcore: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:0= ) - ssl? ( dev-libs/openssl:0= ) - theora? ( - media-libs/libogg - media-libs/libtheora - media-libs/libvorbis - ) - webkit? ( dev-qt/qtwebkit:5 )" -RDEPEND="${DEPEND} - gsm? ( media-sound/gsm )" - -if [[ "${PV}" != "9999" ]]; then - S="${WORKDIR}/KVIrc-${KVIRC_GIT_REVISION}" -fi - -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)" - fi - 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" -} - -src_configure() { - append-flags -fno-strict-aliasing - - local libdir="$(get_libdir)" - local mycmakeargs=( - -DLIB_SUFFIX=${libdir#lib} - -DMANUAL_REVISION=${KVIRC_GIT_REVISION} - -DMANUAL_SOURCES_DATE=${KVIRC_GIT_SOURCES_DATE//-/} - -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 ON OFF) - -DWANT_DCC_VIDEO=$(usex dcc-video ON OFF) - -DWANT_DEBUG=$(usex debug ON OFF) - -DWANT_DOXYGEN=$(usex doc ON OFF) - -DWANT_GETTEXT=$(usex nls ON OFF) - -DWANT_GSM=$(usex gsm ON OFF) - -DWANT_KDE=$(usex kde ON OFF) - -DWANT_MEMORY_PROFILE=$(usex profile ON OFF) - -DWANT_OGG_THEORA=$(usex theora ON OFF) - -DWANT_OPENSSL=$(usex ssl ON OFF) - -DWANT_OSS=$(usex oss ON OFF) - -DWANT_PERL=$(usex perl ON OFF) - -DWANT_PHONON=$(usex phonon ON OFF) - -DWANT_PYTHON=$(usex python ON OFF) - -DWANT_QTDBUS=$(usex dbus ON OFF) - -DWANT_QTWEBKIT=$(usex webkit ON OFF) - -DWANT_SPELLCHECKER=$(usex spell ON OFF) - - # 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 - - 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 -} - -pkg_postinst() { - xdg_desktop_database_update - xdg_icon_cache_update -} - -pkg_postrm() { - xdg_desktop_database_update - xdg_icon_cache_update -} diff --git a/net-irc/kvirc/kvirc-9999.ebuild b/net-irc/kvirc/kvirc-9999.ebuild index 2393d5ae4c23..c123daed9574 100644 --- a/net-irc/kvirc/kvirc-9999.ebuild +++ b/net-irc/kvirc/kvirc-9999.ebuild @@ -30,7 +30,7 @@ fi LICENSE="GPL-2+" SLOT="0" KEYWORDS="" -IUSE="audiofile +dbus dcc-video debug doc gsm kde +nls oss +perl +phonon profile +python spell +ssl theora webkit" +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 @@ -72,7 +72,7 @@ DEPEND="dev-qt/qtcore:5 media-libs/libtheora media-libs/libvorbis ) - webkit? ( dev-qt/qtwebkit:5 )" +" RDEPEND="${DEPEND} gsm? ( media-sound/gsm )" @@ -131,7 +131,7 @@ src_configure() { -DWANT_PHONON=$(usex phonon ON OFF) -DWANT_PYTHON=$(usex python ON OFF) -DWANT_QTDBUS=$(usex dbus ON OFF) - -DWANT_QTWEBKIT=$(usex webkit ON OFF) + -DWANT_QTWEBKIT=OFF -DWANT_SPELLCHECKER=$(usex spell ON OFF) # COMPILE_SVG_SUPPORT not used in source code. -- cgit v1.2.3-65-gdbad