diff options
Diffstat (limited to 'media-sound/christine/christine-0.7.0.ebuild')
-rw-r--r-- | media-sound/christine/christine-0.7.0.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/media-sound/christine/christine-0.7.0.ebuild b/media-sound/christine/christine-0.7.0.ebuild new file mode 100644 index 000000000000..d4e1cb825f3f --- /dev/null +++ b/media-sound/christine/christine-0.7.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +PYTHON_DEPEND="2:2.7" +PYTHON_USE_WITH="sqlite" + +inherit autotools eutils python + +DESCRIPTION="A simple gstreamer based media player" +HOMEPAGE="http://christine-project.org/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="libnotify nls readline" + +COMMON_DEPEND="=dev-python/gst-python-0.10* + dev-python/pycairo + dev-python/pygobject:2 + =dev-python/pygtk-2* + media-libs/mutagen + libnotify? ( dev-python/notify-python ) + readline? ( sys-libs/readline )" +RDEPEND="${COMMON_DEPEND} + =media-plugins/gst-plugins-meta-0.10*" +DEPEND="${COMMON_DEPEND} + virtual/pkgconfig + nls? ( dev-util/intltool )" + +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} + +src_prepare() { + epatch "${FILESDIR}"/${P}-validate.patch + find . -name 'Makefile.*' -exec sed -i -e 's:mkdir_p:MKDIR_P:g' {} + #423113 + eautoreconf +} + +src_configure() { + econf $(use_enable nls) $(use_with readline) +} + +pkg_postinst() { python_mod_optimize libchristine; } +pkg_postrm() { python_mod_cleanup libchristine; } |