diff options
Diffstat (limited to 'media-plugins/quodlibet-resub/quodlibet-resub-4353.ebuild')
-rw-r--r-- | media-plugins/quodlibet-resub/quodlibet-resub-4353.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/media-plugins/quodlibet-resub/quodlibet-resub-4353.ebuild b/media-plugins/quodlibet-resub/quodlibet-resub-4353.ebuild new file mode 100644 index 000000000000..78ecfadac04e --- /dev/null +++ b/media-plugins/quodlibet-resub/quodlibet-resub-4353.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/quodlibet-resub/quodlibet-resub-4353.ebuild,v 1.1 2009/05/30 15:40:44 ssuominen Exp $ + +inherit multilib python + +DESCRIPTION="Quod Libet plugin which enables regular expressions in tagging." +HOMEPAGE="http://svn.sacredchao.net/svn/quodlibet/trunk/plugins/editing/resub.py" +SRC_URI="mirror://gentoo/${P}.tar.bz2 + http://dev.gentoo.org/~ssuominen/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc64 ~x86" +IUSE="" + +RDEPEND=">=media-sound/quodlibet-2" +DEPEND="" + +pkg_setup() { + python_version + dest=/usr/$(get_libdir)/python${PYVER}/site-packages/quodlibet/plugins/editing +} + +src_install() { + insinto ${dest} + doins resub.py || die "doins failed" +} + +pkg_postinst() { + python_mod_compile ${dest}/resub.py +} + +pkg_postrm() { + python_mod_cleanup ${dest} +} |