summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Stine <battousai@gentoo.org>2004-06-06 20:17:30 +0000
committerBryan Stine <battousai@gentoo.org>2004-06-06 20:17:30 +0000
commit6f09dc085ad9b7d1167778944a052a736206dc99 (patch)
treefb4d9ac5ac71c134415b92dbbd2012193f07a89c /x11-misc/linuxwacom
parentMasked divx4linux useflag on sparc. (diff)
downloadgentoo-2-6f09dc085ad9b7d1167778944a052a736206dc99.tar.gz
gentoo-2-6f09dc085ad9b7d1167778944a052a736206dc99.tar.bz2
gentoo-2-6f09dc085ad9b7d1167778944a052a736206dc99.zip
Bumpy, 0.6.3. Close 53109.
Diffstat (limited to 'x11-misc/linuxwacom')
-rw-r--r--x11-misc/linuxwacom/ChangeLog8
-rw-r--r--x11-misc/linuxwacom/files/digest-linuxwacom-0.6.31
-rw-r--r--x11-misc/linuxwacom/linuxwacom-0.6.3.ebuild90
3 files changed, 98 insertions, 1 deletions
diff --git a/x11-misc/linuxwacom/ChangeLog b/x11-misc/linuxwacom/ChangeLog
index 499ce0371326..d5975e9762e6 100644
--- a/x11-misc/linuxwacom/ChangeLog
+++ b/x11-misc/linuxwacom/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for x11-misc/linuxwacom
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/linuxwacom/ChangeLog,v 1.7 2004/05/10 22:04:37 battousai Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/linuxwacom/ChangeLog,v 1.8 2004/06/06 20:17:30 battousai Exp $
+
+*linuxwacom-0.6.3 (06 Jun 2004)
+
+ 06 Jun 2004; Bryan Stine <battousai@gentoo.org>; linuxwacom-0.6.3.ebuild:
+ Bump to version 0.6.3. Closes #53109, thanks to Lee Trager
+ <nukem@users.xeroprj.org>.
10 May 2004; Bryan Stine <battousai@gentoo.org>; linuxwacom-0.6.2.ebuild:
Got rid of the ? : DEPEND syntax, it's deprecated. Also added a plus to the
diff --git a/x11-misc/linuxwacom/files/digest-linuxwacom-0.6.3 b/x11-misc/linuxwacom/files/digest-linuxwacom-0.6.3
new file mode 100644
index 000000000000..3aafec64cbcd
--- /dev/null
+++ b/x11-misc/linuxwacom/files/digest-linuxwacom-0.6.3
@@ -0,0 +1 @@
+MD5 a1be441647cba1bfaeef2804eb53a3fd linuxwacom-0.6.3.tar.bz2 436742
diff --git a/x11-misc/linuxwacom/linuxwacom-0.6.3.ebuild b/x11-misc/linuxwacom/linuxwacom-0.6.3.ebuild
new file mode 100644
index 000000000000..f345676e18e4
--- /dev/null
+++ b/x11-misc/linuxwacom/linuxwacom-0.6.3.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/linuxwacom/linuxwacom-0.6.3.ebuild,v 1.1 2004/06/06 20:17:30 battousai Exp $
+
+DESCRIPTION="Input driver for Wacom tablets and drawing devices"
+HOMEPAGE="http://linuxwacom.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="gtk gtk2 tcltk"
+
+RDEPEND="|| ( >=x11-base/xfree-4.3.0-r6 x11-base/xorg-x11 )
+ gtk? (
+ gtk2? ( >=x11-libs/gtk+-2 )
+ !gtk2? ( =x11-libs/gtk+-1.2* )
+ )
+ tcltk? ( dev-lang/tcl dev-lang/tk )
+ sys-libs/ncurses"
+
+DEPEND="${RDEPEND}
+ sys-devel/libtool
+ dev-util/pkgconfig"
+
+pkg_setup() {
+ if has_version ">=x11-base/xfree-4.3.0-r6"
+ then
+ if [ ! "`grep sdk /var/db/pkg/x11-base/xfree-[0-9]*/USE`" ]
+ then
+ eerror "This package builds against the XFree86 SDK, and therefore requires"
+ eerror "that you have emerged xfree with the sdk USE flag enabled."
+ die "Please remerge xfree with the sdk USE flag enabled."
+ fi
+ else
+ if [ ! "`grep sdk /var/db/pkg/x11-base/xorg-x11-[0-9]*/USE`" ]
+ then
+ eerror "This package builds against the X.Org SDK, and therefore requires"
+ eerror "that you have emerged xorg-x11 with the sdk USE flag enabled."
+ die "Please remerge xorg-x11 with the sdk USE flag enabled."
+ fi
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+
+ # Simple fixes to configure to check the actual location of the XFree86 SDK
+ cd ${S}
+ sed -i -e "s:XF86SUBDIR=.*:XF86SUBDIR=include:" configure
+ sed -i -e "s:XF86V3SUBDIR=.*:XF86V3SUBDIR=include:" configure
+}
+
+src_compile() {
+ if [ `use gtk` ];
+ then
+ if [ `use gtk2` ];
+ then
+ withgtk="--with-gtk=2.0"
+ else
+ withgtk="--with-gtk=1.2"
+ fi
+ else
+ withgtk="--with-gtk=no"
+ fi
+ if [ `use tcltk` ];
+ then
+ withtcltk="--with-tcl --with-tk"
+ else
+ withtcltk="--without-tcl --without-tk"
+ fi
+
+ myconf="--enable-wacomdrv --with-xf86=/usr/X11R6/lib/Server $withgtk $withtcltk"
+ econf ${myconf} || die "configure failed."
+
+ # Makefile fix for build against SDK
+ cd ${S}/src
+ cp Makefile Makefile.orig
+ sed -i -e "s:XF86_DIR = .*:XF86_DIR = /usr/X11R6/lib/Server:" Makefile
+ sed -i -e "s:XF86_V3_DIR = .*:XF86_V3_DIR = /usr/X11R6/lib/Server:" Makefile
+ sed -i -e "s:/include/extensions:/include:g" Makefile
+ cd ${S}
+
+ emake || die "build failed."
+}
+
+src_install() {
+ emake DESTDIR=${D} install || die "Install failed."
+ dohtml -r docs/*
+ dodoc AUTHORS ChangeLog NEWS README
+}