summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-03-18 23:27:25 +0000
committerMike Frysinger <vapier@gentoo.org>2005-03-18 23:27:25 +0000
commit4976f42094fa699559bb6da590b06c90d3b38d53 (patch)
tree61c90569a680f4d33acb4960313b35bdf50088a7 /media-libs/libjsw
parentmetadata (diff)
downloadhistorical-4976f42094fa699559bb6da590b06c90d3b38d53.tar.gz
historical-4976f42094fa699559bb6da590b06c90d3b38d53.tar.bz2
historical-4976f42094fa699559bb6da590b06c90d3b38d53.zip
Version bump.
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'media-libs/libjsw')
-rw-r--r--media-libs/libjsw/ChangeLog9
-rw-r--r--media-libs/libjsw/Manifest17
-rw-r--r--media-libs/libjsw/files/digest-libjsw-1.5.51
-rw-r--r--media-libs/libjsw/libjsw-1.5.5.ebuild59
4 files changed, 71 insertions, 15 deletions
diff --git a/media-libs/libjsw/ChangeLog b/media-libs/libjsw/ChangeLog
index 7ecdf5694932..4989146cb483 100644
--- a/media-libs/libjsw/ChangeLog
+++ b/media-libs/libjsw/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/libjsw
-# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libjsw/ChangeLog,v 1.5 2004/06/28 03:45:53 vapier Exp $
+# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libjsw/ChangeLog,v 1.6 2005/03/18 23:27:25 vapier Exp $
+
+*libjsw-1.5.5 (18 Mar 2005)
+
+ 18 Mar 2005; Mike Frysinger <vapier@gentoo.org> +libjsw-1.5.5.ebuild:
+ Version bump.
*libjsw-1.5.4 (27 Jun 2004)
diff --git a/media-libs/libjsw/Manifest b/media-libs/libjsw/Manifest
index 4713771f623a..4c72fb42ef1e 100644
--- a/media-libs/libjsw/Manifest
+++ b/media-libs/libjsw/Manifest
@@ -1,15 +1,6 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 2edea56370b4b9eb493c473fb1581811 ChangeLog 553
-MD5 89f7655ef1cb56d55e7764f83c52f37e libjsw-1.5.0.ebuild 1364
+MD5 9190492d75ec25e3cb85e908922c9fee ChangeLog 671
+MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
+MD5 a2fe9532b71d8c266c17f7c22ccf654b libjsw-1.5.5.ebuild 1382
MD5 1ad0599c536b63e2ec2aa10a1a7fc77b libjsw-1.5.4.ebuild 1348
-MD5 f5aec4a52116c2058db8f19603fc844b files/digest-libjsw-1.5.0 65
+MD5 31ad1236d527eb6aa9762930554c4239 files/digest-libjsw-1.5.5 65
MD5 8a17ca47e6e65ae0bf1b82d24c2dd400 files/digest-libjsw-1.5.4 65
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.9.8 (GNU/Linux)
-
-iD8DBQFA35SDHTu7gpaalycRAjL7AKDhujRqAG6ymxPuwNoscTlAfbLsswCfUwal
-tUHxmpjPRkdI4YKyIxi1J3E=
-=M/pf
------END PGP SIGNATURE-----
diff --git a/media-libs/libjsw/files/digest-libjsw-1.5.5 b/media-libs/libjsw/files/digest-libjsw-1.5.5
new file mode 100644
index 000000000000..9e302eac9423
--- /dev/null
+++ b/media-libs/libjsw/files/digest-libjsw-1.5.5
@@ -0,0 +1 @@
+MD5 10c3f3dd043bf5c095e9486dfe13edc3 libjsw-1.5.5.tar.bz2 317027
diff --git a/media-libs/libjsw/libjsw-1.5.5.ebuild b/media-libs/libjsw/libjsw-1.5.5.ebuild
new file mode 100644
index 000000000000..073c64fd77a7
--- /dev/null
+++ b/media-libs/libjsw/libjsw-1.5.5.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libjsw/libjsw-1.5.5.ebuild,v 1.1 2005/03/18 23:27:25 vapier Exp $
+
+inherit eutils
+
+DESCRIPTION="provide a uniform API and user configuration for joysticks and game controllers"
+HOMEPAGE="http://wolfpack.twu.net/libjsw/"
+SRC_URI="ftp://wolfpack.twu.net/users/wolfpack/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="gtk"
+
+DEPEND="gtk? ( =x11-libs/gtk+-1.2* )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ bunzip2 libjsw/man/* jscalibrator/jscalibrator.1.bz2 || die "bunzip failed"
+}
+
+src_compile() {
+ cd "${S}"/libjsw
+ emake CFLAGS="${CFLAGS} -fPIC" || die "main build failed"
+ ln -s libjsw.so.${PV} libjsw.so
+
+ if use gtk ; then
+ cd "${S}"/jscalibrator
+ ln -s ../include/jsw.h
+ emake \
+ CFLAGS="${CFLAGS}" \
+ INC_DIRS="$(gtk-config --cflags) -I." \
+ LIB_DIRS="-L../libjsw" \
+ || die "jscalibrator failed"
+ fi
+}
+
+src_install() {
+ insinto /usr/include
+ doins include/jsw.h || die "doins jsw.h failed"
+
+ dodoc AUTHORS README
+ docinto jswdemos
+ dodoc jswdemos/*
+
+ cd "${S}"/libjsw
+ dolib.so libjsw.so.${PV} || die "dolib.so"
+ dosym libjsw.so.${PV} /usr/lib/libjsw.so
+ doman man/*
+
+ if use gtk ; then
+ cd "${S}"/jscalibrator
+ dobin jscalibrator || die
+ doman jscalibrator.1
+ dohtml data/help/*
+ fi
+}