summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/bmpx/bmpx-0.40.0_rc3.ebuild')
-rw-r--r--media-sound/bmpx/bmpx-0.40.0_rc3.ebuild82
1 files changed, 82 insertions, 0 deletions
diff --git a/media-sound/bmpx/bmpx-0.40.0_rc3.ebuild b/media-sound/bmpx/bmpx-0.40.0_rc3.ebuild
new file mode 100644
index 000000000000..ef4b4ea9c7be
--- /dev/null
+++ b/media-sound/bmpx/bmpx-0.40.0_rc3.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/bmpx/bmpx-0.40.0_rc3.ebuild,v 1.1 2007/08/02 15:57:52 drac Exp $
+
+inherit fdo-mime gnome2-utils versionator
+
+MY_PR="$(get_version_component_range 1-2 ${PV})"
+MY_PV=${PV/_rc/RC}
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="Next generation Beep Media Player"
+HOMEPAGE="http://www.beep-media-player.org"
+SRC_URI="http://files.beep-media-player.org/releases/${MY_PR}/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="aac debug hal modplug ofa sid startup-notification"
+
+RDEPEND=">=net-libs/libsoup-2.2
+ >=dev-db/sqlite-3.3
+ >=dev-libs/glib-2.10
+ >=dev-cpp/glibmm-2.8.3
+ >=dev-libs/libsigc++-2
+ >=x11-libs/gtk+-2.8
+ >=gnome-base/librsvg-2.14
+ >=dev-cpp/gtkmm-2.8.2
+ >=dev-cpp/libglademm-2.6
+ >=dev-cpp/cairomm-0.6
+ >=dev-cpp/libsexymm-0.1.9
+ >=dev-libs/libxml2-2.6.1
+ >=media-libs/gst-plugins-base-0.10.9
+ >=dev-libs/dbus-glib-0.61
+ virtual/fam
+ >=media-libs/taglib-1.4
+ media-sound/cdparanoia
+ app-arch/zip
+ media-libs/alsa-lib
+ dev-libs/boost
+ ofa? ( >=media-libs/libofa-0.9.3 )
+ media-libs/musicbrainz
+ hal? ( >=sys-apps/hal-0.5.7.1 )
+ aac? ( media-libs/faad2 )
+ sid? ( media-libs/libsidplay )
+ modplug? ( >=media-libs/libmodplug-0.8 )
+ startup-notification? ( x11-libs/startup-notification )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ sys-devel/gettext
+ dev-util/intltool
+ app-text/docbook-xsl-stylesheets
+ dev-libs/libxslt"
+
+S="${WORKDIR}"/${MY_P}
+
+src_compile() {
+ econf $(use_enable modplug) \
+ $(use_enable aac mp4v2) \
+ $(use_enable hal) \
+ $(use_enable ofa) \
+ $(use_enable sid) \
+ $(use_enable startup-notification sn) \
+ $(use_enable debug)
+ emake || die "emake failed."
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed."
+ dodoc AUTHORS ChangeLog README
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+ gnome2_icon_cache_update
+}