summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/gmusicbrowser/gmusicbrowser-1.0.1.ebuild')
-rw-r--r--media-sound/gmusicbrowser/gmusicbrowser-1.0.1.ebuild56
1 files changed, 56 insertions, 0 deletions
diff --git a/media-sound/gmusicbrowser/gmusicbrowser-1.0.1.ebuild b/media-sound/gmusicbrowser/gmusicbrowser-1.0.1.ebuild
new file mode 100644
index 000000000000..5e254cfeef45
--- /dev/null
+++ b/media-sound/gmusicbrowser/gmusicbrowser-1.0.1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/gmusicbrowser/gmusicbrowser-1.0.1.ebuild,v 1.1 2009/02/27 13:11:57 aballier Exp $
+
+inherit fdo-mime
+
+DESCRIPTION="An open-source jukebox for large collections of mp3/ogg/flac files"
+HOMEPAGE="http://squentin.free.fr/gmusicbrowser/gmusicbrowser.html"
+SRC_URI="http://squentin.free.fr/gmusicbrowser/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~sparc ~x86"
+IUSE="dbus gstreamer mplayer mozilla webkit"
+
+RDEPEND=">=dev-lang/perl-5.8
+ dev-perl/gtk2-perl
+ dev-perl/gtk2-trayicon
+ dbus? ( dev-perl/Net-DBus )
+ gstreamer? (
+ dev-perl/GStreamer
+ dev-perl/GStreamer-Interfaces
+ media-libs/gst-plugins-good
+ )
+ mplayer? ( media-video/mplayer )
+ !gstreamer? ( !mplayer? (
+ virtual/mpg123
+ media-sound/vorbis-tools
+ media-sound/flac123
+ media-sound/alsa-utils
+ ) )
+ mozilla? ( dev-perl/Gtk2-MozEmbed )
+ webkit? ( dev-perl/Gtk2-WebKit )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -e 's:mpg321:mpg123:g' -i gmusicbrowser* || die "sed failed."
+}
+
+src_install() {
+ emake DOCS="AUTHORS NEWS README" DESTDIR="${D}" \
+ iconsdir="${D}/usr/share/pixmaps" install \
+ || die "emake install failed."
+ rm -rf "${D}"/usr/lib/menu/${PN}
+ dohtml layout_doc.html
+ prepalldocs
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+}