summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/gnomad/gnomad-2.9.4-r2.ebuild')
-rw-r--r--media-sound/gnomad/gnomad-2.9.4-r2.ebuild48
1 files changed, 48 insertions, 0 deletions
diff --git a/media-sound/gnomad/gnomad-2.9.4-r2.ebuild b/media-sound/gnomad/gnomad-2.9.4-r2.ebuild
new file mode 100644
index 000000000000..dffa336f7d40
--- /dev/null
+++ b/media-sound/gnomad/gnomad-2.9.4-r2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/gnomad/gnomad-2.9.4-r2.ebuild,v 1.1 2011/02/20 11:05:57 ssuominen Exp $
+
+EAPI=2
+GCONF_DEBUG=no
+inherit flag-o-matic gnome2
+
+MY_P=${PN}2-${PV}
+
+DESCRIPTION="A GNOME2 frontend for Creative Players (Zen, JukeBox, etc ...)"
+HOMEPAGE="http://gnomad2.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}2/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="nls"
+
+RDEPEND=">=dev-libs/dbus-glib-0.88
+ >=x11-libs/gtk+-2.6:2
+ >=media-libs/libnjb-2.2.4
+ >=media-libs/libmtp-0.3
+ >=media-libs/taglib-1.5
+ >=media-libs/libid3tag-0.15.1b"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ nls? ( sys-devel/gettext
+ dev-util/intltool )"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-fix-gtk-widget-destroy.diff
+ # Disable sys-apps/hal
+ sed -i -e '/PKG_CONFIG/s:hal:dIsAbLe&:' configure || die
+}
+
+pkg_setup() {
+ G2CONF+=" $(use_enable nls)"
+ DOCS="AUTHORS ChangeLog NEWS README TODO"
+}
+
+src_configure() {
+ strip-flags
+ replace-flags -O3 -O2
+ gnome2_src_configure
+}