summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2019-12-11 00:48:55 +0100
committerDavid Seifert <soap@gentoo.org>2019-12-11 00:48:55 +0100
commitc73383474e4815b02ca3feea76b35512b88371f3 (patch)
treed4ee14ef2359419ef41ed27f1905fc9e24a8fe8b /media-sound/gimmix
parentmedia-sound/alsamixergui: Port to EAPI 7 (diff)
downloadgentoo-c73383474e4815b02ca3feea76b35512b88371f3.tar.gz
gentoo-c73383474e4815b02ca3feea76b35512b88371f3.tar.bz2
gentoo-c73383474e4815b02ca3feea76b35512b88371f3.zip
media-sound/gimmix: Port to EAPI 7
Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'media-sound/gimmix')
-rw-r--r--media-sound/gimmix/files/gimmix-0.5.7.2-QA-desktop-file.patch11
-rw-r--r--media-sound/gimmix/gimmix-0.5.7.2-r1.ebuild40
2 files changed, 35 insertions, 16 deletions
diff --git a/media-sound/gimmix/files/gimmix-0.5.7.2-QA-desktop-file.patch b/media-sound/gimmix/files/gimmix-0.5.7.2-QA-desktop-file.patch
new file mode 100644
index 00000000000..1a0b3d0105a
--- /dev/null
+++ b/media-sound/gimmix/files/gimmix-0.5.7.2-QA-desktop-file.patch
@@ -0,0 +1,11 @@
+--- a/data/gimmix.desktop
++++ b/data/gimmix.desktop
+@@ -5,6 +5,6 @@
+ Terminal=false
+ Type=Application
+ StartupNotify=true
+-Icon=gimmix.png
+-Categories=Application;GTK;AudioVideo;
++Icon=gimmix
++Categories=GTK;AudioVideo;
+ MimeType=
diff --git a/media-sound/gimmix/gimmix-0.5.7.2-r1.ebuild b/media-sound/gimmix/gimmix-0.5.7.2-r1.ebuild
index 0b9ae98c4bb..7d875e3d3fd 100644
--- a/media-sound/gimmix/gimmix-0.5.7.2-r1.ebuild
+++ b/media-sound/gimmix/gimmix-0.5.7.2-r1.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=4
-inherit autotools eutils
+EAPI=7
+
+inherit autotools
DESCRIPTION="a graphical music player daemon (MPD) client using GTK+2"
HOMEPAGE="https://launchpad.net/gimmix"
@@ -13,25 +14,32 @@ SLOT="0"
KEYWORDS="amd64 ~ppc x86"
IUSE="cover lyrics taglib"
-RDEPEND=">=media-libs/libmpd-0.17
- gnome-base/libglade
+RDEPEND="
+ media-libs/libmpd:=
+ gnome-base/libglade:=
x11-libs/gtk+:2
- cover? ( net-libs/libnxml net-misc/curl )
- lyrics? ( net-libs/libnxml net-misc/curl )
- taglib? ( >=media-libs/taglib-1.5 )"
-DEPEND="${RDEPEND}
+ cover? (
+ net-libs/libnxml:=
+ net-misc/curl:=
+ )
+ lyrics? (
+ net-libs/libnxml:=
+ net-misc/curl:=
+ )
+ taglib? ( media-libs/taglib:= )"
+DEPEND="${RDEPEND}"
+BDEPEND="
virtual/pkgconfig
dev-util/intltool"
-DOCS=( AUTHORS ChangeLog README TODO )
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.5.7.1-curl-headers.patch
+ "${FILESDIR}"/${P}-format-security.patch
+ "${FILESDIR}"/${PN}-0.5.7.2-QA-desktop-file.patch
+)
src_prepare() {
- epatch "${FILESDIR}"/${PN}-0.5.7.1-curl-headers.patch \
- "${FILESDIR}"/${P}-format-security.patch
- sed -i -e "/^Icon/s/\.png$//" \
- -e "/^Categories/s/Application;//" data/gimmix.desktop
-
- # broken build system in tarball
+ default
eautoreconf
}