summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Ullmann <jokey@gentoo.org>2006-10-31 22:42:27 +0000
committerMarkus Ullmann <jokey@gentoo.org>2006-10-31 22:42:27 +0000
commitf97b9cf47b66428436c500f5415d5a5f706e2620 (patch)
tree8e4e638faa8cbcf634690f436a1131b73185fa0d /app-misc
parentKeyworded ~Âx86-fbsd. (diff)
downloadgentoo-2-f97b9cf47b66428436c500f5415d5a5f706e2620.tar.gz
gentoo-2-f97b9cf47b66428436c500f5415d5a5f706e2620.tar.bz2
gentoo-2-f97b9cf47b66428436c500f5415d5a5f706e2620.zip
Init script fixes
(Portage version: 2.1.2_rc1-r1)
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/g15composer/ChangeLog8
-rw-r--r--app-misc/g15composer/files/digest-g15composer-2.1-r13
-rw-r--r--app-misc/g15composer/g15composer-2.1-r1.ebuild62
3 files changed, 72 insertions, 1 deletions
diff --git a/app-misc/g15composer/ChangeLog b/app-misc/g15composer/ChangeLog
index 1e3ee2d906a2..68fe4524ab85 100644
--- a/app-misc/g15composer/ChangeLog
+++ b/app-misc/g15composer/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-misc/g15composer
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/g15composer/ChangeLog,v 1.7 2006/10/31 22:18:51 jokey Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/g15composer/ChangeLog,v 1.8 2006/10/31 22:42:27 jokey Exp $
+
+*g15composer-2.1-r1 (31 Oct 2006)
+
+ 31 Oct 2006; Markus Ullmann <jokey@gentoo.org> -g15composer-2.1.ebuild,
+ +g15composer-2.1-r1.ebuild:
+ Init script fixes
*g15composer-3.0.1 (31 Oct 2006)
diff --git a/app-misc/g15composer/files/digest-g15composer-2.1-r1 b/app-misc/g15composer/files/digest-g15composer-2.1-r1
new file mode 100644
index 000000000000..81b82d5c656d
--- /dev/null
+++ b/app-misc/g15composer/files/digest-g15composer-2.1-r1
@@ -0,0 +1,3 @@
+MD5 65f38249fe14afb482e763ae0abf6ce6 g15composer-2.1.tar.bz2 73269
+RMD160 ed16f6d85a4042c597df7e9d8a5909a52b893eca g15composer-2.1.tar.bz2 73269
+SHA256 bbde3ac09db37b9aeb8f67e89e4cadc6c92e1529b3b9b431d863ddcecb9aa58e g15composer-2.1.tar.bz2 73269
diff --git a/app-misc/g15composer/g15composer-2.1-r1.ebuild b/app-misc/g15composer/g15composer-2.1-r1.ebuild
new file mode 100644
index 000000000000..c40c898aa660
--- /dev/null
+++ b/app-misc/g15composer/g15composer-2.1-r1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/g15composer/g15composer-2.1-r1.ebuild,v 1.1 2006/10/31 22:42:27 jokey Exp $
+
+inherit eutils
+
+DESCRIPTION="A library to render text and shapes into a buffer usable by the Logitech G15 keyboard"
+HOMEPAGE="http://g15tools.sourceforge.net/"
+SRC_URI="mirror://sourceforge/g15tools/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="amarok truetype"
+
+RDEPEND="app-misc/g15daemon
+ dev-libs/libg15render
+ truetype? ( media-libs/freetype )
+ amarok? ( kde-base/kdelibs dev-perl/DCOP-Amarok-Player )"
+
+DEPEND="${RDEPEND}
+ dev-libs/libg15"
+
+pkg_setup() {
+ if use amarok && ! built_with_use dev-lang/perl ithreads ; then
+ echo
+ eerror "dev-lang/perl must be built with USE=\"ithreads\" for the Amarok display to work."
+ die
+ fi
+}
+
+src_compile() {
+ econf \
+ $(use_enable truetype ttf ) \
+ || die "configure failed"
+
+ emake || die "make failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "make install failed"
+
+ newinitd "${FILESDIR}/${P}.initd" ${PN}
+ newconfd "${FILESDIR}/${P}.confd" ${PN}
+
+ dodoc AUTHORS README ChangeLog
+
+ exeinto "${ROOT}usr/share/${PN}"
+ doexe examples/*
+
+ if use amarok ; then
+ exeinto "${ROOT}usr/share/apps/amarok/scripts"
+ newexe examples/amarok-g15-perl.pl g15-display.pl
+ fi
+}
+
+pkg_postinst() {
+ if use amarok; then
+ einfo "g15-display.pl was installed into your Amarok script directory."
+ einfo "To start it, have a look at Tools -> Script Manager in the Amarok menu."
+ fi
+}