summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-03-28 15:23:18 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-03-28 15:23:18 +0000
commit402f7b46101ea6466205b68dc06129c361192e49 (patch)
tree2613e1d3a605ca1c5440c2614c55a199726c2df9 /media-sound/gstreamripper
parentwhitespace (diff)
downloadgentoo-2-402f7b46101ea6466205b68dc06129c361192e49.tar.gz
gentoo-2-402f7b46101ea6466205b68dc06129c361192e49.tar.bz2
gentoo-2-402f7b46101ea6466205b68dc06129c361192e49.zip
Use SLOT dependencies for x11-libs/gtk+. Install .desktop entry wrt #360239 by Kevin Haddock.
(Portage version: 2.2.0_alpha29/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/gstreamripper')
-rw-r--r--media-sound/gstreamripper/ChangeLog8
-rw-r--r--media-sound/gstreamripper/gstreamripper-0.2.ebuild42
2 files changed, 31 insertions, 19 deletions
diff --git a/media-sound/gstreamripper/ChangeLog b/media-sound/gstreamripper/ChangeLog
index 25110d1fb86d..16a2c1171a6b 100644
--- a/media-sound/gstreamripper/ChangeLog
+++ b/media-sound/gstreamripper/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-sound/gstreamripper
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/gstreamripper/ChangeLog,v 1.13 2008/12/19 18:27:06 aballier Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/gstreamripper/ChangeLog,v 1.14 2011/03/28 15:23:18 ssuominen Exp $
+
+ 28 Mar 2011; Samuli Suominen <ssuominen@gentoo.org> gstreamripper-0.2.ebuild:
+ Use SLOT dependencies for x11-libs/gtk+. Install .desktop entry wrt #360239
+ by Kevin Haddock.
19 Dec 2008; Alexis Ballier <aballier@gentoo.org>
gstreamripper-0.2.ebuild:
diff --git a/media-sound/gstreamripper/gstreamripper-0.2.ebuild b/media-sound/gstreamripper/gstreamripper-0.2.ebuild
index a071c056b226..1e3cb8449677 100644
--- a/media-sound/gstreamripper/gstreamripper-0.2.ebuild
+++ b/media-sound/gstreamripper/gstreamripper-0.2.ebuild
@@ -1,32 +1,40 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/gstreamripper/gstreamripper-0.2.ebuild,v 1.12 2008/12/19 18:27:06 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/gstreamripper/gstreamripper-0.2.ebuild,v 1.13 2011/03/28 15:23:18 ssuominen Exp $
-IUSE=""
-
-MY_PN="GStreamripperX"
-MY_P="${MY_PN}-${PV}"
-S="${WORKDIR}/${MY_P}"
+EAPI=2
+inherit eutils
-DESCRIPTION="GStreamripper, a GTK front-end to streamripper"
+MY_P=GStreamripperX-${PV}
+DESCRIPTION="A GTK+ toolkit based frontend for streamripper"
HOMEPAGE="http://sourceforge.net/projects/gstreamripper/"
SRC_URI="mirror://sourceforge/gstreamripper/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc ppc64 sparc x86"
+IUSE=""
-RDEPEND=">=x11-libs/gtk+-2.4
- >=media-sound/streamripper-1.60.5"
-DEPEND="${RDEPEND}
+COMMON_DEPEND="x11-libs/gtk+:2"
+RDEPEND="${COMMON_DEPEND}
+ media-sound/streamripper"
+DEPEND="${COMMON_DEPEND}
dev-util/pkgconfig"
+S=${WORKDIR}/${MY_P}
+
src_install() {
- # override gstreamripperxdoc_DATA because they get installed in a wrong
- # location and we already dodoc them
- emake DESTDIR="${D}" gstreamripperxdoc_DATA="" install || die
- dodoc AUTHORS ChangeLog NEWS README TODO
- # it creates that dir anyway...
- rm -rf "${D}/usr/doc/"
+ local docdir=/usr/share/doc/${PF}
+
+ emake \
+ DESTDIR="${D}" \
+ gstreamripperxdocdir=${docdir} \
+ install || die
+
+ rm -f "${D}"/${docdir}/COPYING
+
+ make_desktop_entry gstreamripperx GStreamripperX
+
+ prepalldocs
}