net-irc/kvirc: Use EAPI="7".
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
Mon, 17 Jun 2019 17:54:34 +0000 (17:54 +0000)
committerMike Gilbert <floppym@gentoo.org>
Tue, 18 Jun 2019 15:59:07 +0000 (11:59 -0400)
Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
net-irc/kvirc/kvirc-5.0_pre20181205184837.ebuild
net-irc/kvirc/kvirc-9999.ebuild

index 412a2fc2a562888b5159b6664849b9ea77aa3e4c..06ddaf206228053f63a9d68df1c535721402b31b 100644 (file)
@@ -1,10 +1,12 @@
-# Copyright 2009-2019 Arfrever Frehtes Taifersar Arahesis
+# Copyright 2009-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="6"
+# True Authors: Arfrever Frehtes Taifersar Arahesis
+
+EAPI="7"
 PYTHON_COMPAT=(python2_7)
 
-inherit cmake-utils flag-o-matic gnome2-utils python-single-r1 xdg-utils
+inherit cmake-utils flag-o-matic python-single-r1 xdg-utils
 
 if [[ "${PV}" == "9999" ]]; then
        inherit git-r3
@@ -13,8 +15,6 @@ if [[ "${PV}" == "9999" ]]; then
        KVIRC_GIT_REVISION=""
        KVIRC_GIT_SOURCES_DATE=""
 else
-       inherit vcs-snapshot
-
        KVIRC_GIT_REVISION="f06b4f0397fa7feb23713e4fe4c00759d2cced71"
        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}"
@@ -34,7 +34,11 @@ 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} )"
 
-RDEPEND="dev-qt/qtcore:5
+BDEPEND="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
@@ -68,14 +72,13 @@ RDEPEND="dev-qt/qtcore:5
                media-libs/libvorbis
        )
        webkit? ( dev-qt/qtwebkit:5 )"
-DEPEND="${RDEPEND}
-       virtual/pkgconfig
-       doc? ( app-doc/doxygen )
-       kde? ( kde-frameworks/extra-cmake-modules:5 )
-       nls? ( sys-devel/gettext )"
-RDEPEND="${RDEPEND}
+RDEPEND="${DEPEND}
        gsm? ( media-sound/gsm )"
 
+if [[ "${PV}" != "9999" ]]; then
+       S="${WORKDIR}/KVIrc-${KVIRC_GIT_REVISION}"
+fi
+
 DOCS=()
 
 pkg_setup() {
@@ -138,11 +141,11 @@ src_configure() {
 }
 
 pkg_postinst() {
-       gnome2_icon_cache_update
        xdg_desktop_database_update
+       xdg_icon_cache_update
 }
 
 pkg_postrm() {
-       gnome2_icon_cache_update
        xdg_desktop_database_update
+       xdg_icon_cache_update
 }
index 543e5042b44079875c16d4061d181f70b13cbd34..97eed8f48677142f0dfe9c33f45cdaf826aeeb5b 100644 (file)
@@ -1,10 +1,12 @@
-# Copyright 2009-2018 Arfrever Frehtes Taifersar Arahesis
+# Copyright 2009-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="6"
+# True Authors: Arfrever Frehtes Taifersar Arahesis
+
+EAPI="7"
 PYTHON_COMPAT=(python2_7)
 
-inherit cmake-utils flag-o-matic gnome2-utils python-single-r1 xdg-utils
+inherit cmake-utils flag-o-matic python-single-r1 xdg-utils
 
 if [[ "${PV}" == "9999" ]]; then
        inherit git-r3
@@ -13,8 +15,6 @@ if [[ "${PV}" == "9999" ]]; then
        KVIRC_GIT_REVISION=""
        KVIRC_GIT_SOURCES_DATE=""
 else
-       inherit vcs-snapshot
-
        KVIRC_GIT_REVISION=""
        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}"
@@ -34,7 +34,11 @@ KEYWORDS=""
 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} )"
 
-RDEPEND="dev-qt/qtcore:5
+BDEPEND="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
@@ -68,14 +72,13 @@ RDEPEND="dev-qt/qtcore:5
                media-libs/libvorbis
        )
        webkit? ( dev-qt/qtwebkit:5 )"
-DEPEND="${RDEPEND}
-       virtual/pkgconfig
-       doc? ( app-doc/doxygen )
-       kde? ( kde-frameworks/extra-cmake-modules:5 )
-       nls? ( sys-devel/gettext )"
-RDEPEND="${RDEPEND}
+RDEPEND="${DEPEND}
        gsm? ( media-sound/gsm )"
 
+if [[ "${PV}" != "9999" ]]; then
+       S="${WORKDIR}/KVIrc-${KVIRC_GIT_REVISION}"
+fi
+
 DOCS=()
 
 pkg_setup() {
@@ -138,11 +141,11 @@ src_configure() {
 }
 
 pkg_postinst() {
-       gnome2_icon_cache_update
        xdg_desktop_database_update
+       xdg_icon_cache_update
 }
 
 pkg_postrm() {
-       gnome2_icon_cache_update
        xdg_desktop_database_update
+       xdg_icon_cache_update
 }