Added mumbles ebuild from gentoo bugzilla

This commit is contained in:
2010-05-01 00:36:53 +00:00
parent 750be08ab4
commit 0f94a39aba
2 changed files with 33 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
DIST mumbles_0.4-1.tar.gz 78620 RMD160 ed563462242ed55812ac682eb5bb2e899a404488 SHA1 785f8b67c8aecc699750019e97b05a2d5b184bc5 SHA256 c2b741a9a0b54580833fa5a64fd129e964d261f852b34c63d6b42f3744920a94
EBUILD mumbles-0.4.1.ebuild 858 RMD160 91288dc4feed411e87e90763af3f680dfa0c9c73 SHA1 4a4a6b3bbd9b491a77935b869e075a941ac4ca47 SHA256 c41bb2476843f0b06498fd716dbe597b800d1549d5b86d4afa915bbc45210e04

View File

@@ -0,0 +1,31 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit distutils versionator
SOURCE_PV=$(replace_version_separator 2 '-')
UNPACK_PV=$(get_version_component_range 1-2)
DESCRIPTION="A modern notification system, similar to libnotify or Growl on OSX"
HOMEPAGE="http://www.mumbles-project.org/"
SRC_URI="mirror://sourceforge/${PN}/${PN}_${SOURCE_PV}.tar.gz"
S="${WORKDIR}/${PN}-${UNPACK_PV}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
#Depends: python-glade2
RDEPEND=" >=dev-python/pygtk-2.8
dev-python/pycairo
dev-python/dbus-python"
DEPEND=" dev-python/setuptools"
src_unpack() {
unpack ${A}
cd "${S}"
sed -i -e 's@"/usr/share/python-support/mumbles/src/"@"/usr/lib/python2.5/site-packages/src/"@' \
bin/mumbles bin/mumbles-send || die "sed failed"
}