aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerion Entrup <gerion.entrup@flump.de>2012-11-29 18:56:27 +0100
committerGerion Entrup <gerion.entrup@flump.de>2012-11-29 18:56:27 +0100
commitc78c8f7dbfa546c74833477c9bab1afcca9916ea (patch)
treed92844c3025e7c4d3252195aa95f89e41423b1c2 /media-sound/pyjama
downloadgerislay-c78c8f7dbfa546c74833477c9bab1afcca9916ea.tar.gz
gerislay-c78c8f7dbfa546c74833477c9bab1afcca9916ea.tar.bz2
gerislay-c78c8f7dbfa546c74833477c9bab1afcca9916ea.zip
initial
Diffstat (limited to 'media-sound/pyjama')
-rw-r--r--media-sound/pyjama/Manifest2
-rw-r--r--media-sound/pyjama/pyjama-0.3.0.1.ebuild53
2 files changed, 55 insertions, 0 deletions
diff --git a/media-sound/pyjama/Manifest b/media-sound/pyjama/Manifest
new file mode 100644
index 0000000..4475226
--- /dev/null
+++ b/media-sound/pyjama/Manifest
@@ -0,0 +1,2 @@
+DIST pyjama-0.3.0.1.tar.gz 845105 RMD160 646f4d09ad2dfd3a5addaabbaccb841ace277c5f SHA1 f2059bf6b05f04dccb01c2f3c1ec50419281f92d SHA256 6354cb364aa9f2aee69949b2d1c0f01a937dd27f65a10b1bd680198b326a0120
+EBUILD pyjama-0.3.0.1.ebuild 1467 RMD160 93ecff60ca3575a2822d23eb719f01f2672660d1 SHA1 adb3cae4b095b9541620f9148a39c3e77e841093 SHA256 d430576c48d7259e3aff2930b7e8c2a0d18447e8b54ff576a4f5b97ea3131fc0
diff --git a/media-sound/pyjama/pyjama-0.3.0.1.ebuild b/media-sound/pyjama/pyjama-0.3.0.1.ebuild
new file mode 100644
index 0000000..41e7fb1
--- /dev/null
+++ b/media-sound/pyjama/pyjama-0.3.0.1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v3
+# $Header: $
+
+EAPI=2
+
+DESCRIPTION="A Python/GTK application to play free music from Jamendo"
+HOMEPAGE="https://launchpad.net/pyjama"
+SRC_URI="http://launchpad.net/pyjama/trunk/0.3/+download/${P}_all.tar.gz
+ -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="gnome"
+
+RDEPEND="dev-python/pygtk
+ dev-python/simplejson
+ || ( dev-python/lxml dev-python/pyxml )
+ || ( dev-lang/python:2.6[sqlite] dev-python/pysqlite )
+ dev-lang/python:2.6
+ >=dev-python/gst-python-0.10
+ >=media-plugins/gst-plugins-soup-0.10
+ gnome? ( dev-python/gnome-python-extras )"
+
+DEPEND="${DEPEND}"
+
+src_compile() {
+ einfo "Nothing to compile for ${P}."
+}
+
+src_install() {
+
+ if [ -e /usr/lib/pyjama/pyjama.py ]
+ then
+ ewarn "Please delete /usr/lib/pyjama!"
+ ewarn "This directory is not needed any more"
+ fi
+
+ einfo "1/3 Copying files"
+ dodir /usr/share/apps/pyjama
+ cp -R "${S}_all"/src/* ${D}/usr/share/apps/pyjama/
+ dosym /usr/share/apps/pyjama/pyjama.py /usr/bin/pyjama
+
+ einfo "2/3 Checking modules..."
+ ${D}/usr/bin/pyjama check-modules
+
+ einfo "3/3 Creating menu-entry for pyjama"
+ dosym /usr/share/apps/pyjama/images/pyjama.xpm /usr/share/pixmaps/pyjama.xpm
+ dosym /usr/share/apps/pyjama/pyjama.desktop /usr/share/applications/pyjama.desktop
+
+ einfo "Pyjama has been installed. Just type 'pyjama' to run it."
+}