summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mate-extra/mate-media/mate-media-1.8.0.ebuild')
-rw-r--r--mate-extra/mate-media/mate-media-1.8.0.ebuild93
1 files changed, 93 insertions, 0 deletions
diff --git a/mate-extra/mate-media/mate-media-1.8.0.ebuild b/mate-extra/mate-media/mate-media-1.8.0.ebuild
new file mode 100644
index 000000000000..2f17b429ee5a
--- /dev/null
+++ b/mate-extra/mate-media/mate-media-1.8.0.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mate-extra/mate-media/mate-media-1.8.0.ebuild,v 1.1 2014/04/22 20:41:37 tomwij Exp $
+
+EAPI="5"
+
+GCONF_DEBUG="yes"
+
+inherit gnome2 versionator
+
+MATE_BRANCH="$(get_version_component_range 1-2)"
+
+SRC_URI="http://pub.mate-desktop.org/releases/${MATE_BRANCH}/${P}.tar.xz"
+DESCRIPTION="Multimedia related programs for the MATE desktop"
+HOMEPAGE="http://mate-desktop.org"
+
+LICENSE="LGPL-2 GPL-2 FDL-1.1"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE="aac flac mp3 pulseaudio speex twolame vorbis"
+
+# FIXME: automagic dev-util/glade:3 support
+COMMON_DEPEND="app-text/rarian:0
+ dev-libs/libxml2:2
+ >=dev-libs/glib-2.18.2:2
+ >=x11-libs/gtk+-2.24:2
+ >=mate-base/mate-panel-1.8:0
+ >=mate-base/mate-desktop-1.8:0
+ >=media-libs/gstreamer-0.10.23:0.10
+ >=media-libs/gst-plugins-base-0.10.23:0.10
+ >=media-libs/gst-plugins-good-0.10:0.10
+ >=media-libs/libcanberra-0.13:0[gtk]
+ >=media-plugins/gst-plugins-meta-0.10-r2:0.10
+ >=media-plugins/gst-plugins-gconf-0.10.1:0.10
+ >=dev-libs/libunique-1:1
+ x11-libs/cairo:0
+ x11-libs/pango:0
+ virtual/libintl:0
+ pulseaudio? ( >=media-sound/pulseaudio-0.9.16:0[glib] )"
+
+# Specific gst plugins are used by the default audio encoding profiles
+RDEPEND="${COMMON_DEPEND}
+ >=media-plugins/gst-plugins-meta-0.10:0.10[flac?,vorbis?]
+ aac? (
+ >=media-plugins/gst-plugins-faac-0.10.23:0.10
+ >=media-plugins/gst-plugins-ffmpeg-0.10:0.10
+ )
+ mp3? (
+ >=media-libs/gst-plugins-ugly-0.10:0.10
+ >=media-plugins/gst-plugins-taglib-0.10.23:0.10
+ >=media-plugins/gst-plugins-lame-0.10:0.10
+ )
+ speex? (
+ >=media-plugins/gst-plugins-ogg-0.10.23:0.10
+ >=media-plugins/gst-plugins-speex-0.10.23:0.10
+ )
+ twolame? (
+ >=media-plugins/gst-plugins-taglib-0.10.23:0.10
+ >=media-plugins/gst-plugins-twolame-0.10:0.10
+ )"
+
+DEPEND="${COMMON_DEPEND}
+ app-text/docbook-xml-dtd:4.1.2
+ app-text/yelp-tools:0
+ >=app-text/scrollkeeper-dtd-1:1.0
+ >=dev-util/intltool-0.35.0:*
+ sys-devel/gettext:*
+ virtual/pkgconfig:*
+ !!<mate-base/mate-applets-1.6:*"
+
+src_configure() {
+ gnome2_src_configure \
+ $(use_enable pulseaudio) \
+ $(use_enable !pulseaudio gstmix) \
+ $(use_enable !pulseaudio gst-mixer-applet)
+}
+
+DOCS="AUTHORS ChangeLog* NEWS README"
+
+pkg_postinst() {
+ gnome2_pkg_postinst
+
+ ewarn
+ ewarn "If you cannot play some music format, please check your"
+ ewarn "USE flags on media-plugins/gst-plugins-meta"
+ ewarn
+
+ if use pulseaudio ; then
+ ewarn "You have enabled pulseaudio support, gstmixer will not be built"
+ ewarn "If you do not use pulseaudio, you do not want this"
+ fi
+}