summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Arnold <nerdboy@gentoo.org>2011-04-16 17:35:14 +0000
committerSteve Arnold <nerdboy@gentoo.org>2011-04-16 17:35:14 +0000
commitda99dbb7fbd0e4c4fd56853100671a72183a3177 (patch)
tree5d27a512cb2de10b5150d4d85ccc4cbc3aa16fdf /media-plugins
parentRemove bogus dependency on virtual/blackbox, bug 358825. (diff)
downloadgentoo-2-da99dbb7fbd0e4c4fd56853100671a72183a3177.tar.gz
gentoo-2-da99dbb7fbd0e4c4fd56853100671a72183a3177.tar.bz2
gentoo-2-da99dbb7fbd0e4c4fd56853100671a72183a3177.zip
New ebuild for an actual Rhythmbox plugin, a 10-band graphic equalizer.
(Portage version: 2.1.9.46/cvs/Linux x86_64)
Diffstat (limited to 'media-plugins')
-rw-r--r--media-plugins/rhythmbox-equalizer/ChangeLog11
-rw-r--r--media-plugins/rhythmbox-equalizer/metadata.xml11
-rw-r--r--media-plugins/rhythmbox-equalizer/rhythmbox-equalizer-0.1.ebuild48
3 files changed, 70 insertions, 0 deletions
diff --git a/media-plugins/rhythmbox-equalizer/ChangeLog b/media-plugins/rhythmbox-equalizer/ChangeLog
new file mode 100644
index 000000000000..b95bdfa470e5
--- /dev/null
+++ b/media-plugins/rhythmbox-equalizer/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for media-plugins/rhythmbox-equalizer
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/rhythmbox-equalizer/ChangeLog,v 1.1 2011/04/16 17:35:14 nerdboy Exp $
+
+*rhythmbox-equalizer-0.1 (16 Apr 2011)
+
+ 16 Apr 2011; Steve Arnold <nerdboy@gentoo.org>
+ +rhythmbox-equalizer-0.1.ebuild, +metadata.xml:
+ New ebuild for an actual Rhythmbox plugin, a 10-band graphic equalizer.
+ Using metadata from the edna ebuild, at least as a start.
+
diff --git a/media-plugins/rhythmbox-equalizer/metadata.xml b/media-plugins/rhythmbox-equalizer/metadata.xml
new file mode 100644
index 000000000000..ebe7cc9e2892
--- /dev/null
+++ b/media-plugins/rhythmbox-equalizer/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sound</herd>
+<maintainer>
+ <email>sound@gentoo.org</email>
+</maintainer>
+<longdescription>
+ A real-time 10 band graphic equalizer for rhythmbox.
+</longdescription>
+</pkgmetadata>
diff --git a/media-plugins/rhythmbox-equalizer/rhythmbox-equalizer-0.1.ebuild b/media-plugins/rhythmbox-equalizer/rhythmbox-equalizer-0.1.ebuild
new file mode 100644
index 000000000000..97f94e176364
--- /dev/null
+++ b/media-plugins/rhythmbox-equalizer/rhythmbox-equalizer-0.1.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-plugins/rhythmbox-equalizer/rhythmbox-equalizer-0.1.ebuild,v 1.1 2011/04/16 17:35:14 nerdboy Exp $
+
+EAPI=3
+
+PYTHON_DEPEND="2:2.6"
+
+inherit eutils python
+
+MY_P="rb-equalizer-${PV}"
+
+DESCRIPTION="10-band graphic equalizer plugin for Rhythmbox"
+HOMEPAGE="http://www.lirmm.fr/~morandat/index.php/Main/Tools"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+DEPEND=""
+
+RDEPEND="${DEPEND}
+ x11-libs/gtk+:2
+ >=dev-python/pygtk-2.8:2
+ gnome-base/libglade:2.0
+ >=media-libs/gst-plugins-base-0.10.29
+ >=media-sound/rhythmbox-0.12.8[python]"
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+ python_set_active_version 2
+}
+
+src_install() {
+ insinto /usr/$(get_libdir)/rhythmbox/plugins
+ doins -r equalizer || die
+}
+
+pkg_postinst() {
+ python_mod_optimize /usr/$(get_libdir)/rhythmbox/plugins/equalizer
+}
+
+pkg_postrm() {
+ python_mod_cleanup /usr/$(get_libdir)/rhythmbox/plugins/equalizer
+}