diff options
Diffstat (limited to 'media-sound/pympd')
-rw-r--r-- | media-sound/pympd/ChangeLog | 8 | ||||
-rw-r--r-- | media-sound/pympd/files/digest-pympd-0.07 | 3 | ||||
-rw-r--r-- | media-sound/pympd/pympd-0.07.ebuild | 42 |
3 files changed, 52 insertions, 1 deletions
diff --git a/media-sound/pympd/ChangeLog b/media-sound/pympd/ChangeLog index 2dfe7dedd2df..70234e45b419 100644 --- a/media-sound/pympd/ChangeLog +++ b/media-sound/pympd/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-sound/pympd # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/pympd/ChangeLog,v 1.9 2006/03/22 10:54:37 ticho Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/pympd/ChangeLog,v 1.10 2006/07/22 16:05:33 ticho Exp $ + +*pympd-0.07 (22 Jul 2006) + + 22 Jul 2006; Andrej Kacian <ticho@gentoo.org> +pympd-0.07.ebuild: + Version bump. Use ebuild from bug #139710, submitted by Samuli Suominen + <sasuomin at uusikaupunki.fi>. *pympd-0.06.1 (22 Mar 2006) diff --git a/media-sound/pympd/files/digest-pympd-0.07 b/media-sound/pympd/files/digest-pympd-0.07 new file mode 100644 index 000000000000..1e092de13f28 --- /dev/null +++ b/media-sound/pympd/files/digest-pympd-0.07 @@ -0,0 +1,3 @@ +MD5 72b4671cfbff46689154c8acefb30348 pympd-0.07.tar.gz 92785 +RMD160 a91c6f1d5fd064cfe66cf79c38418b0e1cfd7677 pympd-0.07.tar.gz 92785 +SHA256 091cf6a2cc9149abf383f50d623cef49d5805fb68ca27d51614663c570c6591a pympd-0.07.tar.gz 92785 diff --git a/media-sound/pympd/pympd-0.07.ebuild b/media-sound/pympd/pympd-0.07.ebuild new file mode 100644 index 000000000000..4df5f3688275 --- /dev/null +++ b/media-sound/pympd/pympd-0.07.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/pympd/pympd-0.07.ebuild,v 1.1 2006/07/22 16:05:33 ticho Exp $ + +inherit toolchain-funcs python + +DESCRIPTION="a Rhythmbox-like PyGTK+ client for Music Player Daemon" +HOMEPAGE="http://sourceforge.net/projects/pympd" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="" + +RDEPEND=">=virtual/python-2.4 + >=dev-python/pygtk-2.6" + +src_compile() { + # Honor CFLAGS in make.conf + export BUILDFLAGS="${CFLAGS}" + sed -i -e 's:CFLAGS =:CFLAGS = ${BUILDFLAGS}:' src/modules/tray/Makefile + emake CC="$(tc-getCC)" PREFIX="/usr" DESTDIR="${D}" || die "emake failed." +} + +src_install() { + # Fix for 'src//glade/../pympd.svg': No such file or directory + sed -i -e 's:\..\/py:/usr/share/pympd/py:g' src/glade/pympd.glade + + emake PREFIX="/usr" DESTDIR="${D}" install || die "emake install failed." + dodoc README +} + +pkg_postinst() { + python_version + python_mod_optimize /usr/lib/python${PYVER}/site-packages/pympd +} + +pkg_postrm() { + python_version + python_mod_cleanup +} |