diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2014-07-16 00:45:45 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2014-07-16 00:45:45 +0000 |
commit | 7c3cfd1cc9e1b65bdb3c92386a975da5159e8c32 (patch) | |
tree | 26c198e6de96731c9e743a8c0f1ec53a4b4bed83 /games-util | |
parent | Version bump. Cleanup old. (diff) | |
download | historical-7c3cfd1cc9e1b65bdb3c92386a975da5159e8c32.tar.gz historical-7c3cfd1cc9e1b65bdb3c92386a975da5159e8c32.tar.bz2 historical-7c3cfd1cc9e1b65bdb3c92386a975da5159e8c32.zip |
old
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64
Diffstat (limited to 'games-util')
-rw-r--r-- | games-util/joystick/ChangeLog | 10 | ||||
-rw-r--r-- | games-util/joystick/Manifest | 30 | ||||
-rw-r--r-- | games-util/joystick/files/joystick-1.4.2-build.patch | 79 | ||||
-rw-r--r-- | games-util/joystick/files/joystick-20060731-asneeded.patch | 27 | ||||
-rw-r--r-- | games-util/joystick/files/joystick-MCS-defines.patch | 27 | ||||
-rw-r--r-- | games-util/joystick/files/joystick-jstest-segv.patch | 52 | ||||
-rw-r--r-- | games-util/joystick/joystick-0_pre20060731.ebuild | 44 | ||||
-rw-r--r-- | games-util/joystick/joystick-1.4.2.ebuild | 29 |
8 files changed, 9 insertions, 289 deletions
diff --git a/games-util/joystick/ChangeLog b/games-util/joystick/ChangeLog index 4168d5bbda92..100eeac6e17d 100644 --- a/games-util/joystick/ChangeLog +++ b/games-util/joystick/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-util/joystick -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-util/joystick/ChangeLog,v 1.23 2013/06/30 21:09:53 ago Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-util/joystick/ChangeLog,v 1.24 2014/07/16 00:45:41 mr_bones_ Exp $ + + 16 Jul 2014; Michael Sterrett <mr_bones_@gentoo.org> + -files/joystick-1.4.2-build.patch, -files/joystick-20060731-asneeded.patch, + -files/joystick-MCS-defines.patch, -files/joystick-jstest-segv.patch, + -joystick-0_pre20060731.ebuild, -joystick-1.4.2.ebuild: + old 30 Jun 2013; Agostino Sarubbo <ago@gentoo.org> joystick-1.4.4.ebuild: Stable for ppc, wrt bug #475238 diff --git a/games-util/joystick/Manifest b/games-util/joystick/Manifest index 0ef291c837eb..8e8947f84dda 100644 --- a/games-util/joystick/Manifest +++ b/games-util/joystick/Manifest @@ -1,33 +1,5 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA512 - -AUX joystick-1.4.2-build.patch 2169 SHA256 6a059bf8705cd78fbf017c15ccf542ec9ea955eee7f4c766d9b884d03f2cfb85 SHA512 af4a854315fbf5be56c46498eac52b96328d10df93a0d40102a9922e759472ebdfc9d5ded9236bad13d1e99cf51630cb4d70730ff21a61e30e9026c453b2cb83 WHIRLPOOL afb71d40273d898aa17771d506282197ff05a9f4232ef0c5cdc166e6276f9efd63effe07dc7899be906b14c9a745c687c70717709a33296d7c0a7cb0aa42f67a AUX joystick-1.4.4-build.patch 1324 SHA256 db3c39e843ff3c3c67cda945ce77c0228dd94ec9ef994b866280680248c00c1f SHA512 3ab3a840d5498d56379ff5619d5b26e446363eedcc7a5c96c9d2328e74c6c75722f541bb58bd40557beb76c6ea96213816f99ed9c2ab7639a0204c6e2176192f WHIRLPOOL e3be756b6151558f2a748b6f1562c60fa9e6208474963b2e09c59fa3096af7523c69dfc28896839a2e4d414efde2a0f4711c75fcd1701a60a5b38e7caebf66b7 -AUX joystick-20060731-asneeded.patch 832 SHA256 6f714e005697fe5f2965727529c2b2dc56534f5d49f301dbef69e26479399887 SHA512 264000cd2b9cb5763cfd19c96b1e58e22a9b1eeaba90a0bb748a81a4884a5e2cda9c961516484157dc1abd4f05d63a1466e609794ca09fc1f2b888550a1e8fab WHIRLPOOL e80379cf419044374c7a528e8310ac92b72a6e9f4494e3ae41f54dbf8857e129b5050ddeeb73abcb90bb779a0ffdbd949369320e63c4b2c46b2fab703741f414 -AUX joystick-MCS-defines.patch 575 SHA256 fc58bba55c2b158aa5615599c6433989df2d09204d1d2717728f50489fac0b61 SHA512 060c8f833690887aa441da9c58ba2f796aeeb53055767bfa969c641176ddbb1dbd449bd8602c55ab39a5cc709907ec36b1156f59850c0170610aca1339bc8ea9 WHIRLPOOL 57d8e42e67433c34e2e369b2b5229041aef82828b60ba958b6b079c019b5d516178c395953ddea4ff560423ae73fa0eafbba64502259ae007ac21c47d71582e8 -AUX joystick-jstest-segv.patch 1561 SHA256 d0caec60e34eb2b60ae621ddaf3d5aeb6f0ca7efbcd10d0727c39a79153c873a SHA512 d2085f8a80fb2fb32f94f6b40512a3a95dcfa14a97566302d90312a78a63704f46d2c60c8f36731549a70192eaa3a3027f1a785c1a4407e1f02538c58e4f1219 WHIRLPOOL 0769669a0573137e159e24c784f4800b0b5f5656a9866408c41aae3b1a47fe40f8d486e1afc85458edca02ef73aa3f8a732aeb30bf79537adb2fe9b179b1e055 -DIST joystick-20060731.tar.bz2 27411 SHA256 17aa3ca45f6bbd2004d0cede4a0f1c32b4cabb946628a85602d89c45d874006b -DIST linuxconsoletools-1.4.2.tar.bz2 39818 SHA256 af85bac15df35dac00191a717813a49294402dc3ee556a4fd8f0e191feb21763 SHA512 4e3acadb9540a21c3b8578f69aab02cb20977be528b4e7f4f928c27724bfbe3e17969b4e61dab35500af2e11e48ce4bf3a206fa7272aa4cc3fb9db1ab48a5ae4 WHIRLPOOL 4201de313af70bfb1e2d7815fcde903b6a73db36cde434552f981d8095360857827d44f7f2ff79d825c0c6b977b74e60e02331267ba89e70bdcaa99bd1c43131 DIST linuxconsoletools-1.4.4.tar.bz2 40867 SHA256 61ac023a6944c1bc1c3ac56b9c281a3148f4d63557a1e239523d4de638dac4a8 SHA512 ab2f15e26da3705cea35e26dda149f83d5792b0643aa8f684854be26d98a69943cfac3f07c8eac83485a289c9bdc7d41ad3af8990cec0a168b6b6e30381ee33a WHIRLPOOL 6347a4e2dbfb518da9f1ad9e3f7c45c59c49e64b4fe025927f26c7ddec52dad0507a58790a27f6d7077e1a314d5e812219d6132104720c4ea55205fc295a69d3 -EBUILD joystick-0_pre20060731.ebuild 1021 SHA256 6570220a8d76edbbfc7b5b13808693ca6f202c42c0f398c68d946ed014ab9fc8 SHA512 2d421741874735ec19b425a64bd3589692494d545653985d2e0a2210950a8023b7e7bf0d9bf8bbd58420c24ea94e7931be49d333a1a9c69c3ec6db0ffa116214 WHIRLPOOL 9c39609fde1ce1374d2e796fe2e79617af411b96a022b5fbca728a21e2c4e9ced8bf057eebd686647636cb5a4ae2117d9842cbb5d336483a4cb43d94099758d0 -EBUILD joystick-1.4.2.ebuild 819 SHA256 5313b418537cf53c1ae4eef73a527fdc374d302ac8bce16fcce99e2a66d44661 SHA512 fc1d229798f33ce3c1916c311cd4664a39dadb04f1dd72858aabfb7a7e3c1dfd5b15192ffed180028ba6f545eb57bd5377f0ad26e33af265902705a8a73c4e40 WHIRLPOOL fbcd358a24be46098a13426d8052094bee1ae91384a51f4ffd3ee83ac3ad20a02e8bfaf5ff1cf8baa14f16d723832e7287ee353f9d315bda2cdc07916f3ee98c EBUILD joystick-1.4.4.ebuild 814 SHA256 997c91b507848ecd22addb8cd8a1cd09d89b6674ed0e3bd1a7d975268a73adf1 SHA512 02fafe6a9f46d0440e5f3327e4c824c3f0b7aa3ab2524d30956eb18144ef1aad120ef3cdcca750960a16d4c521ff1cfa539fbb121e8ff2086688f9c01cfc0219 WHIRLPOOL f8a7a71b73480667ed504c01210c936ce309473fd8557383e92e28d55343b109fb58893dc53bc2d3e013fc033c806e43e5e3813b82f792321033bf8efab3727f -MISC ChangeLog 3356 SHA256 50b0f25ecce76d268ab9991f4c5cddcc06deae64ff5f287f7c4fd3add51ed23e SHA512 02778537381188bf2935fd561077a32996463eda3b9b6c866d912ffa9cc2b4ece48021931bd6b8dede2ff290abdd8ede331d19ca0827a705e34ee5d48fd0bce1 WHIRLPOOL 7efb37a849c6dcb4f7601305346ac5317666286fa9831cfbed246077c4736c82bd1894486cf00801e6ba02fc4626b079c9738acefa9493e738eed8ca9955059a +MISC ChangeLog 3632 SHA256 744b5d25568d3881e6e0b8f39b8ea81e146f4d93ea692691fadab31c09fb2704 SHA512 7162516aeff59e42b481ce00d4e294c0d16873e3e7e9fe40409ca5a0ff2620cb75355c9c2ac72743c782a50707da9314ebc8f04974ffb70b9f539e456b1d3d32 WHIRLPOOL d382a3de22f67bbf24e95f0896bad25a3fb95deb6202d614f2693f802e8f7689cf37bec49c3d5689dd18c113309e42c67327904b9fdea054e64158668281046b MISC metadata.xml 158 SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 SHA512 d954564236b67b6ab97846b73f74e715e8f1bec2dba6595e9a5046c2e8c3b93f4879c293f9d1d02d99a533bee56156dae3f31a485697128c51af14cdbfdada8a WHIRLPOOL d03e7293d09d794d61c095a423f945b3644355a247f270a73ca8d30b4dfe9c98244297536bfd1a4bd6c14794aa1152eca20fd83bfdf3e1e74d4f676152d35ada ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.20 (GNU/Linux) - -iQIcBAEBCgAGBQJR0J3tAAoJELp701BxlEWfvOAQAMO1jLVZkBPw4h2LGET4LrJw -jT7sdDCVdqJnCFQrr65ywPTV0rCca4WzXYjodE7VquTs8iIcVM7CM1DbBxc1q16f -7tgdiZbdBGtNBGNVgeVQ+ynPHssIwMTXjiXQo47twKdrVqpLD4EjBr+qr8/aM887 -4YlFUimj2GSLZznv93N7nhVIzDSaQVADt4p2bxkCUH5fJeDHIdmMwDbAfp39oLVB -j3vUx6e60fZr7CczT7pjHf6YbIEoXut/ZNvPR6gVRA4qGAuNI2uQMeGrCvIcu0CK -zl0GqfXZEthTTfaLf5SlDHnBP1Xv02FL+fPYDlEOulsppjkH4vy3lan7kn/pCY5M -WKOvxr4wgJ8N9FkdE6X18i6ANNKpeElRPQkL7FSsHnOq+esRP/ybXCRPI1G88+ON -vyVlwsR3cr0XzBI5NYucBhpl6j8/wDbPcULc3GGIQJ98P7XyCmAADdp7Hyp0jw42 -Rz5vllU+HHYfY5pLSe47G3ibB6vHlvD3h3mBr8fhrlXFIyBadxVRLRRcTW/vAIon -+/i4wlIALXMV2dIfsT/0kuXyd3izT/zyhKrtnk6cCyHf9ZVfKELYQHHtbw8R8nhN -XWbgzNOOogb6zbUAAueRkXY3jdTLXWwqfVu0qOjPI89LhwWMGI9l6OUApoZDWVD0 -0vf3udfaY+cmlNeGg9hn -=kX6o ------END PGP SIGNATURE----- diff --git a/games-util/joystick/files/joystick-1.4.2-build.patch b/games-util/joystick/files/joystick-1.4.2-build.patch deleted file mode 100644 index 6e3d5774e5e4..000000000000 --- a/games-util/joystick/files/joystick-1.4.2-build.patch +++ /dev/null @@ -1,79 +0,0 @@ ---- a/docs/Makefile -+++ b/docs/Makefile -@@ -20,13 +20,16 @@ - # 02110-1301 USA. - - MANPAGES = inputattach.1 jstest.1 jscal.1 fftest.1 \ -- ffmvforce.1 ffset.1 ffcfstress.1 jscal-store.1 \ -+ ffset.1 ffcfstress.1 jscal-store.1 \ - jscal-restore.1 -+ifneq ($(USE_SDL),no) -+MANPAGES += ffmvforce.1 -+endif - - PREFIX ?= /usr/local - - install: - install -d $(DESTDIR)$(PREFIX)/share/man/man1 -- install $(MANPAGES) $(DESTDIR)$(PREFIX)/share/man/man1 -+ install -m 644 $(MANPAGES) $(DESTDIR)$(PREFIX)/share/man/man1 - - .PHONY: install ---- a/utils/Makefile -+++ b/utils/Makefile -@@ -25,11 +25,19 @@ - # Edit the options below to suit your needs - # - --CC = gcc --CFLAGS = -g -O2 -Wall -I../linux/include -+CC ?= gcc -+PKG_CONFIG ?= pkg-config -+CFLAGS ?= -g -O2 -+CFLAGS += -Wall -+CPPFLAGS += -I../linux/include -+SDL_CFLAGS = $(shell $(PKG_CONFIG) --cflags sdl) -+SDL_LIBS = $(shell $(PKG_CONFIG) --libs sdl) - --PROGRAMS = inputattach jstest jscal fftest ffmvforce ffset \ -+PROGRAMS = inputattach jstest jscal fftest ffset \ - ffcfstress jscal-restore jscal-store -+ifneq ($(USE_SDL),no) -+PROGRAMS += ffmvforce -+endif - - PREFIX ?= /usr/local - -@@ -40,27 +48,27 @@ - $(RM) *.o *.swp $(PROGRAMS) *.orig *.rej map *~ - - ffcfstress: ffcfstress.c -- $(CC) -O2 -funsigned-char ffcfstress.c -lm -o ffcfstress -+ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -funsigned-char ffcfstress.c -lm -o ffcfstress - - ffmvforce.o: ffmvforce.c -- $(CC) -c $(CFLAGS) $(CPPFLAGS) $^ -o $@ `sdl-config --cflags` -+ $(CC) -c $(CFLAGS) $(CPPFLAGS) $(SDL_CFLAGS) $^ -o $@ - - ffmvforce: ffmvforce.o -- $(CC) $^ -o $@ $(LDFLAGS) -g -lm `sdl-config --libs` -+ $(CC) $^ -o $@ $(CFLAGS) $(LDFLAGS) -lm $(SDL_LIBS) - - axbtnmap.o: axbtnmap.c axbtnmap.h - - jscal.o: jscal.c axbtnmap.h - - jscal: jscal.o axbtnmap.o -- $(CC) $(CFLAGS) $(CPPFLAGS) $^ -lm -o $@ -+ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $^ -lm -o $@ - - jstest.o: jstest.c axbtnmap.h - - jstest: jstest.o axbtnmap.o - - gencodes: gencodes.c scancodes.h -- $(CC) $(CFLAGS) $(CPPFLAGS) gencodes.c -o gencodes -+ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) gencodes.c -o gencodes - - jscal-restore: jscal-restore.in - sed "s^@@PREFIX@@^$(PREFIX)^g" < $^ > $@ diff --git a/games-util/joystick/files/joystick-20060731-asneeded.patch b/games-util/joystick/files/joystick-20060731-asneeded.patch deleted file mode 100644 index d9bbc07240ae..000000000000 --- a/games-util/joystick/files/joystick-20060731-asneeded.patch +++ /dev/null @@ -1,27 +0,0 @@ ---- utils.orig/Makefile 2006-07-31 06:50:01.000000000 +0200 -+++ utils/Makefile 2009-12-09 20:11:17.962976029 +0100 -@@ -46,7 +45,7 @@ - - ffcfstress: ffcfstress.c - $(CC) $(CFLAGS) -funsigned-char \ -- -lm ffcfstress.c -o ffcfstress -+ ffcfstress.c -o ffcfstress $(LDFLAGS) -lm - - ffmvforce.o: ffmvforce.c - $(CC) -c $(CFLAGS) $(CPPFLAGS) $^ -o $@ `sdl-config --cflags` -@@ -55,13 +54,13 @@ - $(CC) $^ -o $@ $(LDFLAGS) $(CFLAGS) -lm `sdl-config --libs` - - jscal: jscal.o -- $(CC) $(CFLAGS) $(CPPFLAGS) -lm $^ -o $@ -+ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $^ -o $@ -lm - - gencodes: gencodes.c scancodes.h - $(CC) $(CFLAGS) $(CPPFLAGS) gencodes.c -o gencodes - - acceltest: acceltest.c -- $(CC) $(CFLAGS) $(CPPFLAGS) -lm $^ -o $@ -+ $(CC) $(CFLAGS) $(CPPFLAGS) $^ -o $@ -lm - - dist: - tar jcf ../joystick-`date +%Y%m%d`.tar.bz2 -C .. utils diff --git a/games-util/joystick/files/joystick-MCS-defines.patch b/games-util/joystick/files/joystick-MCS-defines.patch deleted file mode 100644 index 9fa8aad16880..000000000000 --- a/games-util/joystick/files/joystick-MCS-defines.patch +++ /dev/null @@ -1,27 +0,0 @@ -http://bugs.gentoo.org/103270 - ---- evtest.c -+++ evtest.c -@@ -254,6 +254,22 @@ - [ABS_VOLUME] = "Volume", [ABS_MISC] = "Misc", - }; - -+/* many of these MSC defines are only in newer linux headers */ -+#ifndef MSC_SERIAL -+# define MSC_SERIAL -+#endif 0x00 -+#ifndef MSC_PULSELED -+# define MSC_PULSELED 0x01 -+#endif -+#ifndef MSC_GESTURE -+# define MSC_GESTURE 0x02 -+#endif -+#ifndef MSC_RAW -+# define MSC_RAW 0x03 -+#endif -+#ifndef MSC_SCAN -+# define MSC_SCAN 0x04 -+#endif - char *misc[MSC_MAX + 1] = { - [ 0 ... MSC_MAX] = NULL, - [MSC_SERIAL] = "Serial", [MSC_PULSELED] = "Pulseled", diff --git a/games-util/joystick/files/joystick-jstest-segv.patch b/games-util/joystick/files/joystick-jstest-segv.patch deleted file mode 100644 index fa1e4cdd6cbd..000000000000 --- a/games-util/joystick/files/joystick-jstest-segv.patch +++ /dev/null @@ -1,52 +0,0 @@ -fix segfault when JSIOCGAXMAP/JSIOCGBTNMAP dont work - -http://bugs.gentoo.org/132607 - -patch by Matt Anderson - ---- utils/jstest.c -+++ utils/jstest.c -@@ -76,6 +76,7 @@ int main (int argc, char **argv) - char name[NAME_LENGTH] = "Unknown"; - uint16_t btnmap[KEY_MAX - BTN_MISC + 1]; - uint8_t axmap[ABS_MAX + 1]; -+ int btnmap_ok, axismap_ok; - - if (argc < 2 || argc > 3 || !strcmp("--help", argv[1])) { - puts(""); -@@ -99,21 +100,29 @@ int main (int argc, char **argv) - ioctl(fd, JSIOCGAXES, &axes); - ioctl(fd, JSIOCGBUTTONS, &buttons); - ioctl(fd, JSIOCGNAME(NAME_LENGTH), name); -- ioctl(fd, JSIOCGAXMAP, axmap); -- ioctl(fd, JSIOCGBTNMAP, btnmap); -+ axismap_ok = ioctl(fd, JSIOCGAXMAP, axmap); -+ btnmap_ok = ioctl(fd, JSIOCGBTNMAP, btnmap); - - - printf("Driver version is %d.%d.%d.\n", - version >> 16, (version >> 8) & 0xff, version & 0xff); - - printf("Joystick (%s) has %d axes (", name, axes); -- for (i = 0; i < axes; i++) -- printf("%s%s", i > 0 ? ", " : "", axis_names[axmap[i]]); -+ if (!axismap_ok) { -+ for (i = 0; i < axes; i++) -+ printf("%s%s", i > 0 ? ", " : "", axis_names[axmap[i]]); -+ } else { -+ printf(" axismap never defined "); -+ } - puts(")"); - - printf("and %d buttons (", buttons); -- for (i = 0; i < buttons; i++) -- printf("%s%s", i > 0 ? ", " : "", button_names[btnmap[i] - BTN_MISC]); -+ if (!btnmap_ok) { -+ for (i = 0; i < buttons; i++) -+ printf("%s%s", i > 0 ? ", " : "", button_names[btnmap[i] - BTN_MISC]); -+ } else { -+ printf(" buttonmap never defined "); -+ } - puts(")."); - - printf("Testing ... (interrupt to exit)\n"); diff --git a/games-util/joystick/joystick-0_pre20060731.ebuild b/games-util/joystick/joystick-0_pre20060731.ebuild deleted file mode 100644 index 54092da1fd69..000000000000 --- a/games-util/joystick/joystick-0_pre20060731.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-util/joystick/joystick-0_pre20060731.ebuild,v 1.3 2012/06/14 14:45:16 xmw Exp $ - -EAPI=2 -inherit eutils toolchain-funcs - -DESCRIPTION="joystick testing utilities" -HOMEPAGE="http://atrey.karlin.mff.cuni.cz/~vojtech/input/" -SRC_URI="mirror://gentoo/${P/0_pre}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ppc x86" -IUSE="sdl" - -DEPEND="sdl? ( media-libs/libsdl[video] ) - !x11-libs/tslib" - -S=${WORKDIR}/utils - -src_prepare() { - epatch \ - "${FILESDIR}"/joystick-MCS-defines.patch \ - "${FILESDIR}"/joystick-jstest-segv.patch \ - "${FILESDIR}"/${P/0_pre}-asneeded.patch - sed -i \ - -e '/^CC/d' \ - Makefile \ - || die 'sed failed' -} - -src_compile() { - local SDL - tc-export CC - use sdl && SDL=1 || SDL=0 - emake SDL=${SDL} || die "emake failed" - emake inputattach || die "inputattach failed" -} - -src_install() { - dobin $(find . -type f -a -perm +1) || die "dobin" - dodoc README -} diff --git a/games-util/joystick/joystick-1.4.2.ebuild b/games-util/joystick/joystick-1.4.2.ebuild deleted file mode 100644 index 2279cc606e0d..000000000000 --- a/games-util/joystick/joystick-1.4.2.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-util/joystick/joystick-1.4.2.ebuild,v 1.6 2012/06/13 06:43:27 mr_bones_ Exp $ - -EAPI=4 -inherit eutils toolchain-funcs - -MY_P="linuxconsoletools-${PV}" -DESCRIPTION="joystick testing utilities" -HOMEPAGE="http://sourceforge.net/projects/linuxconsole/ http://atrey.karlin.mff.cuni.cz/~vojtech/input/" -SRC_URI="mirror://sourceforge/linuxconsole/files/${MY_P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~arm ~ppc x86" -IUSE="sdl" - -DEPEND="sdl? ( media-libs/libsdl[video] ) - !<x11-libs/tslib-1.0-r2" -RDEPEND="${DEPEND}" - -S=${WORKDIR}/${MY_P} - -src_prepare() { - epatch "${FILESDIR}"/${P}-build.patch - export PREFIX=/usr - tc-export CC PKG_CONFIG - export USE_SDL=$(usex sdl) -} |