summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2012-10-12 20:16:28 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2012-10-12 20:16:28 +0000
commitbbe80bea47a0298a563af80f27a1cfe0f15ecad1 (patch)
treec856cbaf9383e00d604a9ee7bdde48639154db07 /dev-libs
parentReal working G510 support now, so my keyboard works. See also the libg15rende... (diff)
downloadgentoo-2-bbe80bea47a0298a563af80f27a1cfe0f15ecad1.tar.gz
gentoo-2-bbe80bea47a0298a563af80f27a1cfe0f15ecad1.tar.bz2
gentoo-2-bbe80bea47a0298a563af80f27a1cfe0f15ecad1.zip
Bump to have a live version, needed for G510 keyboard support.
(Portage version: 2.2.0_alpha121/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/libg15render/ChangeLog10
-rw-r--r--dev-libs/libg15render/libg15render-9999.ebuild58
2 files changed, 65 insertions, 3 deletions
diff --git a/dev-libs/libg15render/ChangeLog b/dev-libs/libg15render/ChangeLog
index b7a04ef5a6b6..b86831f0c9c9 100644
--- a/dev-libs/libg15render/ChangeLog
+++ b/dev-libs/libg15render/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/libg15render
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libg15render/ChangeLog,v 1.14 2011/09/09 16:51:21 scarabeus Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libg15render/ChangeLog,v 1.15 2012/10/12 20:16:28 robbat2 Exp $
+
+*libg15render-9999 (12 Oct 2012)
+
+ 12 Oct 2012; Robin H. Johnson <robbat2@gentoo.org> +libg15render-9999.ebuild:
+ Bump to have a live version, needed for G510 keyboard support.
*libg15render-1.2-r2 (09 Sep 2011)
@@ -64,4 +69,3 @@
04 Oct 2006; Markus Ullmann <jokey@gentoo.org> +metadata.xml,
+libg15render-1.1.ebuild, +libg15render-1.1.1.ebuild:
Needed dep for upcoming lcdproc-0.5.1
-
diff --git a/dev-libs/libg15render/libg15render-9999.ebuild b/dev-libs/libg15render/libg15render-9999.ebuild
new file mode 100644
index 000000000000..9708a137bffc
--- /dev/null
+++ b/dev-libs/libg15render/libg15render-9999.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libg15render/libg15render-9999.ebuild,v 1.1 2012/10/12 20:16:27 robbat2 Exp $
+
+EAPI=4
+ESVN_PROJECT=g15tools/trunk
+ESVN_REPO_URI="https://g15tools.svn.sourceforge.net/svnroot/${ESVN_PROJECT}/${PN}"
+
+inherit subversion base eutils autotools
+
+DESCRIPTION="Small library for display text and graphics on a Logitech G15 keyboard"
+HOMEPAGE="http://g15tools.sourceforge.net/"
+[[ $PV = *9999* ]] || SRC_URI="mirror://sourceforge/g15tools/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+
+IUSE="truetype"
+
+RDEPEND="
+ dev-libs/libg15
+ truetype? ( media-libs/freetype )
+"
+DEPEND=${RDEPEND}
+
+src_unpack() {
+ if [[ ${PV} = *9999* ]]; then
+ subversion_src_unpack
+ fi
+}
+
+src_prepare() {
+ # Merged upstream
+ #epatch "${FILESDIR}/${PN}-1.2-pixel-c.patch"
+
+ if [[ ${PV} = *9999* ]]; then
+ subversion_wc_info
+ fi
+ base_src_prepare
+ if [[ ${PV} = *9999* ]]; then
+ eautoreconf
+ fi
+}
+
+src_configure() {
+ econf \
+ --disable-static \
+ $(use_enable truetype ttf )
+}
+
+src_install() {
+ emake DESTDIR="${D}" \
+ docdir=/usr/share/doc/${PF} install || die "make install failed"
+ rm "${ED}/usr/share/doc/${PF}/COPYING"
+
+ find "${ED}" -name '*.la' -exec rm -f {} +
+}