summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>2019-06-17 17:54:34 +0000
committerMike Gilbert <floppym@gentoo.org>2019-06-18 11:59:07 -0400
commit53402781a7bccf8c5b89ec5431539890a2ab7d48 (patch)
tree1d4d0e381e4b151230037f4b4467ead507603f38 /net-irc/kvirc
parentnet-irc/kvirc: Delete old versions (<5.0_pre20181205184837). (diff)
downloadgentoo-53402781a7bccf8c5b89ec5431539890a2ab7d48.tar.gz
gentoo-53402781a7bccf8c5b89ec5431539890a2ab7d48.tar.bz2
gentoo-53402781a7bccf8c5b89ec5431539890a2ab7d48.zip
net-irc/kvirc: Use EAPI="7".
Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'net-irc/kvirc')
-rw-r--r--net-irc/kvirc/kvirc-5.0_pre20181205184837.ebuild31
-rw-r--r--net-irc/kvirc/kvirc-9999.ebuild31
2 files changed, 34 insertions, 28 deletions
diff --git a/net-irc/kvirc/kvirc-5.0_pre20181205184837.ebuild b/net-irc/kvirc/kvirc-5.0_pre20181205184837.ebuild
index 412a2fc2a56..06ddaf20622 100644
--- a/net-irc/kvirc/kvirc-5.0_pre20181205184837.ebuild
+++ b/net-irc/kvirc/kvirc-5.0_pre20181205184837.ebuild
@@ -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
}
diff --git a/net-irc/kvirc/kvirc-9999.ebuild b/net-irc/kvirc/kvirc-9999.ebuild
index 543e5042b44..97eed8f4867 100644
--- a/net-irc/kvirc/kvirc-9999.ebuild
+++ b/net-irc/kvirc/kvirc-9999.ebuild
@@ -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
}