summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Dibb <beandog@gentoo.org>2007-07-17 01:11:12 +0000
committerSteve Dibb <beandog@gentoo.org>2007-07-17 01:11:12 +0000
commitaf6d246037515fa9205d764644c527ed34234e3f (patch)
tree62fc5125069a0878c233e49458b080886a36f241 /media-tv
parentVersion Bump. (diff)
downloadhistorical-af6d246037515fa9205d764644c527ed34234e3f.tar.gz
historical-af6d246037515fa9205d764644c527ed34234e3f.tar.bz2
historical-af6d246037515fa9205d764644c527ed34234e3f.zip
Patch to work with 2.6.21, 2.6.22 kernels (thanks to Alan Hourihane)
Package-Manager: portage-2.1.3_rc8
Diffstat (limited to 'media-tv')
-rw-r--r--media-tv/wis-go7007/ChangeLog9
-rw-r--r--media-tv/wis-go7007/Manifest37
-rw-r--r--media-tv/wis-go7007/files/digest-wis-go7007-0.9.8-r23
-rw-r--r--media-tv/wis-go7007/files/snd.patch130
-rw-r--r--media-tv/wis-go7007/files/wis-go7007-0.9.8-fix-udev.diff8
-rw-r--r--media-tv/wis-go7007/wis-go7007-0.9.8-r2.ebuild109
6 files changed, 273 insertions, 23 deletions
diff --git a/media-tv/wis-go7007/ChangeLog b/media-tv/wis-go7007/ChangeLog
index ec48fe3618ff..8bca2e801532 100644
--- a/media-tv/wis-go7007/ChangeLog
+++ b/media-tv/wis-go7007/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-tv/wis-go7007
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/wis-go7007/ChangeLog,v 1.4 2007/05/01 00:34:16 genone Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/wis-go7007/ChangeLog,v 1.5 2007/07/17 01:11:12 beandog Exp $
+
+*wis-go7007-0.9.8-r2 (17 Jul 2007)
+
+ 17 Jul 2007; Steve Dibb <beandog@gentoo.org>
+ files/wis-go7007-0.9.8-fix-udev.diff, +files/snd.patch,
+ +wis-go7007-0.9.8-r2.ebuild:
+ Patch to work with 2.6.21, 2.6.22 kernels (thanks to Alan Hourihane)
01 May 2007; Marius Mauch <genone@gentoo.org> wis-go7007-0.9.8.ebuild,
wis-go7007-0.9.8-r1.ebuild:
diff --git a/media-tv/wis-go7007/Manifest b/media-tv/wis-go7007/Manifest
index 0a9714564a7c..a1dc8e49672b 100644
--- a/media-tv/wis-go7007/Manifest
+++ b/media-tv/wis-go7007/Manifest
@@ -1,10 +1,11 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-AUX wis-go7007-0.9.8-fix-udev.diff 1459 RMD160 5cd0f53a49dae54160a209b2fd1172f1f2293b30 SHA1 cf1254d6e3cdeb1094f23d015010143a8baf47ed SHA256 78c25a7d45c2ebdf0d4360f5a2619a32ad8ee13586c3dc8b58ce5ad4b223f949
-MD5 8061c929ce66d2e825d7830363874b44 files/wis-go7007-0.9.8-fix-udev.diff 1459
-RMD160 5cd0f53a49dae54160a209b2fd1172f1f2293b30 files/wis-go7007-0.9.8-fix-udev.diff 1459
-SHA256 78c25a7d45c2ebdf0d4360f5a2619a32ad8ee13586c3dc8b58ce5ad4b223f949 files/wis-go7007-0.9.8-fix-udev.diff 1459
+AUX snd.patch 4014 RMD160 d8a07e4dd95d8b6ee744a96e17160f291fb6ba45 SHA1 92372edf1035476ebf1b3bba1fe684838ff02780 SHA256 caca819fb8b2f495150bcd3ae6765c4cb1320cec5c0d7dce74e15f1368f8cd28
+MD5 6f4b9ad56e098f29b2c4cc094db681ad files/snd.patch 4014
+RMD160 d8a07e4dd95d8b6ee744a96e17160f291fb6ba45 files/snd.patch 4014
+SHA256 caca819fb8b2f495150bcd3ae6765c4cb1320cec5c0d7dce74e15f1368f8cd28 files/snd.patch 4014
+AUX wis-go7007-0.9.8-fix-udev.diff 1467 RMD160 5e9790c33a64c8cb6dd3233e2d6f4544cfe3c690 SHA1 d8c9e26b61ae1a82f0f3fe6aa3f31fab4bd8ddab SHA256 81836ab84f092e60004ed69cf1094e8b016cda1f64814a87d3bfc07716a305a5
+MD5 afdb8f87a4497e10c48735fcf29167ed files/wis-go7007-0.9.8-fix-udev.diff 1467
+RMD160 5e9790c33a64c8cb6dd3233e2d6f4544cfe3c690 files/wis-go7007-0.9.8-fix-udev.diff 1467
+SHA256 81836ab84f092e60004ed69cf1094e8b016cda1f64814a87d3bfc07716a305a5 files/wis-go7007-0.9.8-fix-udev.diff 1467
AUX wis-go7007-0.9.8-kernel-2.6.17.diff 7039 RMD160 c8497f43dc2345959dc25dead0f08a486f7779f9 SHA1 351a1446f4e214de967d4ee1040c6205582c8564 SHA256 cf1785c4525d9764a5a022b6e61b54ac0ba03031bdcdbba15f853627d05b3f32
MD5 00f016168f6ab868a9008d8c17ee3c22 files/wis-go7007-0.9.8-kernel-2.6.17.diff 7039
RMD160 c8497f43dc2345959dc25dead0f08a486f7779f9 files/wis-go7007-0.9.8-kernel-2.6.17.diff 7039
@@ -14,14 +15,18 @@ EBUILD wis-go7007-0.9.8-r1.ebuild 2906 RMD160 e6caac034c54d2f83257fae41d83241ebb
MD5 9b053e31ad6024738a135976c839ba0f wis-go7007-0.9.8-r1.ebuild 2906
RMD160 e6caac034c54d2f83257fae41d83241ebbaa44dc wis-go7007-0.9.8-r1.ebuild 2906
SHA256 f116d93c960736b4899992dc7c731b7b0de8ecd4060fe84bd32e8ae4ca7684b0 wis-go7007-0.9.8-r1.ebuild 2906
+EBUILD wis-go7007-0.9.8-r2.ebuild 2974 RMD160 cc2f45953cd8f2612bb6c7d8ad956ef3db5671f6 SHA1 826f2b155304e91b1381a23c926a27f223ab6e1f SHA256 90d41bef3d61b1a7bbd77425be8ab8dceb4fa20c7e4766595a7636a876534978
+MD5 f496e85783e2219a1c60cdfaca045769 wis-go7007-0.9.8-r2.ebuild 2974
+RMD160 cc2f45953cd8f2612bb6c7d8ad956ef3db5671f6 wis-go7007-0.9.8-r2.ebuild 2974
+SHA256 90d41bef3d61b1a7bbd77425be8ab8dceb4fa20c7e4766595a7636a876534978 wis-go7007-0.9.8-r2.ebuild 2974
EBUILD wis-go7007-0.9.8.ebuild 2731 RMD160 13ddd0a5f98139b66a6ec71ee891820208ccf8bc SHA1 cee8f0e50e1bdc38220b64e339e7df2b1b99b486 SHA256 7c8edc13ea5b1f5e37a6102b80e55fe6896f8c53358c52c4ef46f70b864b6fe3
MD5 780243d966c005518b6cf09200c274d3 wis-go7007-0.9.8.ebuild 2731
RMD160 13ddd0a5f98139b66a6ec71ee891820208ccf8bc wis-go7007-0.9.8.ebuild 2731
SHA256 7c8edc13ea5b1f5e37a6102b80e55fe6896f8c53358c52c4ef46f70b864b6fe3 wis-go7007-0.9.8.ebuild 2731
-MISC ChangeLog 1049 RMD160 bd0c996a51a2c38ab1b539848cb9cc23988e2b59 SHA1 638182e24442a3b5f1629ad42b24ef89471374ec SHA256 c644266d7a880a8a45d76bd0caa963b7c66ece6ceecf88e5e6a2082d96c4fb07
-MD5 f26e8acac358d23759dec085ebbf45cb ChangeLog 1049
-RMD160 bd0c996a51a2c38ab1b539848cb9cc23988e2b59 ChangeLog 1049
-SHA256 c644266d7a880a8a45d76bd0caa963b7c66ece6ceecf88e5e6a2082d96c4fb07 ChangeLog 1049
+MISC ChangeLog 1294 RMD160 7cada65e4a2d74d37a50cf95ade742cfcc88c7c8 SHA1 4ec5d33eb804e225efc01d6d11de30ad10f6d30a SHA256 7a72acb655ed2407ea549ccccce728054d5ae578c53ce87e92fd52c1932a6941
+MD5 54aa08c59400fa4c7a070605614d17fb ChangeLog 1294
+RMD160 7cada65e4a2d74d37a50cf95ade742cfcc88c7c8 ChangeLog 1294
+SHA256 7a72acb655ed2407ea549ccccce728054d5ae578c53ce87e92fd52c1932a6941 ChangeLog 1294
MISC metadata.xml 246 RMD160 0f200b959fe440bc003682c4a1dd9ee1d3779fe3 SHA1 308bc54fe4d0cf8ef74b640816059455b7cd8922 SHA256 976fea96fe7879e5ed46a894977803c4927461d0763bf2a08cc17c25bdffa731
MD5 864b7b7362c88dc173a6bfb88a4d0eb1 metadata.xml 246
RMD160 0f200b959fe440bc003682c4a1dd9ee1d3779fe3 metadata.xml 246
@@ -32,10 +37,6 @@ SHA256 fc9dcae83131f6a710ae5f33325d1af4a7bb96444b71139f46b0b8065502a260 files/di
MD5 2f67c7eb5ce713df4429fe6d8bb77857 files/digest-wis-go7007-0.9.8-r1 271
RMD160 545bb4c590681822b74b84d4c6da16a1444f4da6 files/digest-wis-go7007-0.9.8-r1 271
SHA256 fc9dcae83131f6a710ae5f33325d1af4a7bb96444b71139f46b0b8065502a260 files/digest-wis-go7007-0.9.8-r1 271
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.3 (GNU/Linux)
-
-iD8DBQFGNotN6J2i8a8J4okRAjeNAKCFSn4uT5a38V6frNzDgMO4ongcNACdHZaU
-0t9dRBk/AiTAW9OS4RGxJ4A=
-=ELw2
------END PGP SIGNATURE-----
+MD5 2f67c7eb5ce713df4429fe6d8bb77857 files/digest-wis-go7007-0.9.8-r2 271
+RMD160 545bb4c590681822b74b84d4c6da16a1444f4da6 files/digest-wis-go7007-0.9.8-r2 271
+SHA256 fc9dcae83131f6a710ae5f33325d1af4a7bb96444b71139f46b0b8065502a260 files/digest-wis-go7007-0.9.8-r2 271
diff --git a/media-tv/wis-go7007/files/digest-wis-go7007-0.9.8-r2 b/media-tv/wis-go7007/files/digest-wis-go7007-0.9.8-r2
new file mode 100644
index 000000000000..b7c4ef86d812
--- /dev/null
+++ b/media-tv/wis-go7007/files/digest-wis-go7007-0.9.8-r2
@@ -0,0 +1,3 @@
+MD5 dbeaceae423972140d6a5107a1f586ec wis-go7007-linux-0.9.8.tar.bz2 136517
+RMD160 d3336efeac890848851506d6079df10d2ffd34a4 wis-go7007-linux-0.9.8.tar.bz2 136517
+SHA256 efd7600d881fc57e0484ddd7f0820c18a3bd98dce8060418dfba1626c8a79b1a wis-go7007-linux-0.9.8.tar.bz2 136517
diff --git a/media-tv/wis-go7007/files/snd.patch b/media-tv/wis-go7007/files/snd.patch
new file mode 100644
index 000000000000..26c864671c2d
--- /dev/null
+++ b/media-tv/wis-go7007/files/snd.patch
@@ -0,0 +1,130 @@
+diff -ur wis-go7007-linux-0.9.8.old/kernel/snd-go7007.c wis-go7007-linux-0.9.8/kernel/snd-go7007.c
+--- wis-go7007-linux-0.9.8.old/kernel/snd-go7007.c 2007-07-16 19:54:38.736387914 +0100
++++ wis-go7007-linux-0.9.8/kernel/snd-go7007.c 2007-07-16 19:56:18.309084853 +0100
+@@ -58,9 +58,9 @@
+ MODULE_PARM_DESC(index, "Enable for the go7007 audio driver");
+
+ struct go7007_snd {
+- snd_card_t *card;
+- snd_pcm_t *pcm;
+- snd_pcm_substream_t *substream;
++ struct snd_card *card;
++ struct snd_pcm *pcm;
++ struct snd_pcm_substream *substream;
+ spinlock_t lock;
+ int w_idx;
+ int hw_ptr;
+@@ -68,7 +68,7 @@
+ int capturing;
+ };
+
+-static snd_pcm_hardware_t go7007_snd_capture_hw = {
++static struct snd_pcm_hardware go7007_snd_capture_hw = {
+ .info = (SNDRV_PCM_INFO_MMAP |
+ SNDRV_PCM_INFO_INTERLEAVED |
+ SNDRV_PCM_INFO_BLOCK_TRANSFER |
+@@ -89,7 +89,7 @@
+ static void parse_audio_stream_data(struct go7007 *go, u8 *buf, int length)
+ {
+ struct go7007_snd *gosnd = go->snd_context;
+- snd_pcm_runtime_t *runtime = gosnd->substream->runtime;
++ struct snd_pcm_runtime *runtime = gosnd->substream->runtime;
+ int frames = bytes_to_frames(runtime, length);
+
+ spin_lock(&gosnd->lock);
+@@ -119,8 +119,8 @@
+ snd_pcm_period_elapsed(gosnd->substream);
+ }
+
+-static int go7007_snd_hw_params(snd_pcm_substream_t *substream,
+- snd_pcm_hw_params_t *hw_params)
++static int go7007_snd_hw_params(struct snd_pcm_substream *substream,
++ struct snd_pcm_hw_params *hw_params)
+ {
+ struct go7007 *go = snd_pcm_substream_chip(substream);
+ unsigned int bytes;
+@@ -137,7 +137,7 @@
+ return 0;
+ }
+
+-static int go7007_snd_hw_free(snd_pcm_substream_t *substream)
++static int go7007_snd_hw_free(struct snd_pcm_substream *substream)
+ {
+ struct go7007 *go = snd_pcm_substream_chip(substream);
+
+@@ -148,7 +148,7 @@
+ return 0;
+ }
+
+-static int go7007_snd_capture_open(snd_pcm_substream_t *substream)
++static int go7007_snd_capture_open(struct snd_pcm_substream *substream)
+ {
+ struct go7007 *go = snd_pcm_substream_chip(substream);
+ struct go7007_snd *gosnd = go->snd_context;
+@@ -166,7 +166,7 @@
+ return r;
+ }
+
+-static int go7007_snd_capture_close(snd_pcm_substream_t *substream)
++static int go7007_snd_capture_close(struct snd_pcm_substream *substream)
+ {
+ struct go7007 *go = snd_pcm_substream_chip(substream);
+ struct go7007_snd *gosnd = go->snd_context;
+@@ -175,12 +175,12 @@
+ return 0;
+ }
+
+-static int go7007_snd_pcm_prepare(snd_pcm_substream_t *substream)
++static int go7007_snd_pcm_prepare(struct snd_pcm_substream *substream)
+ {
+ return 0;
+ }
+
+-static int go7007_snd_pcm_trigger(snd_pcm_substream_t *substream, int cmd)
++static int go7007_snd_pcm_trigger(struct snd_pcm_substream *substream, int cmd)
+ {
+ struct go7007 *go = snd_pcm_substream_chip(substream);
+ struct go7007_snd *gosnd = go->snd_context;
+@@ -200,7 +200,7 @@
+ }
+ }
+
+-static snd_pcm_uframes_t go7007_snd_pcm_pointer(snd_pcm_substream_t *substream)
++static snd_pcm_uframes_t go7007_snd_pcm_pointer(struct snd_pcm_substream *substream)
+ {
+ struct go7007 *go = snd_pcm_substream_chip(substream);
+ struct go7007_snd *gosnd = go->snd_context;
+@@ -208,13 +208,13 @@
+ return gosnd->hw_ptr;
+ }
+
+-static struct page *go7007_snd_pcm_page(snd_pcm_substream_t *substream,
++static struct page *go7007_snd_pcm_page(struct snd_pcm_substream *substream,
+ unsigned long offset)
+ {
+ return vmalloc_to_page(substream->runtime->dma_area + offset);
+ }
+
+-static snd_pcm_ops_t go7007_snd_capture_ops = {
++static struct snd_pcm_ops go7007_snd_capture_ops = {
+ .open = go7007_snd_capture_open,
+ .close = go7007_snd_capture_close,
+ .ioctl = snd_pcm_lib_ioctl,
+@@ -226,7 +226,7 @@
+ .page = go7007_snd_pcm_page,
+ };
+
+-static int go7007_snd_free(snd_device_t *device)
++static int go7007_snd_free(struct snd_device *device)
+ {
+ struct go7007 *go = device->device_data;
+
+@@ -237,7 +237,7 @@
+ return 0;
+ }
+
+-static snd_device_ops_t go7007_snd_device_ops = {
++static struct snd_device_ops go7007_snd_device_ops = {
+ .dev_free = go7007_snd_free,
+ };
+
diff --git a/media-tv/wis-go7007/files/wis-go7007-0.9.8-fix-udev.diff b/media-tv/wis-go7007/files/wis-go7007-0.9.8-fix-udev.diff
index 0ea6c4250ada..6712b9c427d3 100644
--- a/media-tv/wis-go7007/files/wis-go7007-0.9.8-fix-udev.diff
+++ b/media-tv/wis-go7007/files/wis-go7007-0.9.8-fix-udev.diff
@@ -10,11 +10,11 @@ diff -ru wis-go7007-linux-0.9.8-orig/udev/wis-ezusb.rules.in wis-go7007-linux-0.
- RUN+="@FXLOAD@ -t fx2 -I @FIRMWARE_DIR@/ezusb/hpi_LR192.hex"
-ACTION=="add", BUS=="usb", ENV{PRODUCT}=="eb1/6668/*", \
- RUN+="@FXLOAD@ -t fx2 -I @FIRMWARE_DIR@/ezusb/hpi_StarTrek.hex"
-+ACTION=="add", SUBSYSTEM=="usb_device", ATTR{idVendor}=="093b", ATTR{idProduct}=="a002", \
++ACTION=="add", SUBSYSTEM=="usb_device", ATTRS{idVendor}=="093b", ATTRS{idProduct}=="a002", \
+ RUN+="@FXLOAD@ -t fx2 -I @FIRMWARE_DIR@/ezusb/hpi_PX-M402U.hex -D %N"
-+ACTION=="add", SUBSYSTEM=="usb_device", ATTR{idVendor}=="093b", ATTR{idProduct}=="a004", \
++ACTION=="add", SUBSYSTEM=="usb_device", ATTRS{idVendor}=="093b", ATTRS{idProduct}=="a004", \
+ RUN+="@FXLOAD@ -t fx2 -I @FIRMWARE_DIR@/ezusb/hpi_PX-TV402U.hex -D %N"
-+ACTION=="add", SUBSYSTEM=="usb_device", ATTR{idVendor}=="0eb1", ATTR{idProduct}=="6666", \
++ACTION=="add", SUBSYSTEM=="usb_device", ATTRS{idVendor}=="0eb1", ATTRS{idProduct}=="6666", \
+ RUN+="@FXLOAD@ -t fx2 -I @FIRMWARE_DIR@/ezusb/hpi_LR192.hex -D %N"
-+ACTION=="add", SUBSYSTEM=="usb_device", ATTR{idVendor}=="0eb1", ATTR{idProduct}=="6668", \
++ACTION=="add", SUBSYSTEM=="usb_device", ATTRS{idVendor}=="0eb1", ATTRS{idProduct}=="6668", \
+ RUN+="@FXLOAD@ -t fx2 -I @FIRMWARE_DIR@/ezusb/hpi_StarTrek.hex -D %N"
diff --git a/media-tv/wis-go7007/wis-go7007-0.9.8-r2.ebuild b/media-tv/wis-go7007/wis-go7007-0.9.8-r2.ebuild
new file mode 100644
index 000000000000..3ba5b2752d7e
--- /dev/null
+++ b/media-tv/wis-go7007/wis-go7007-0.9.8-r2.ebuild
@@ -0,0 +1,109 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-tv/wis-go7007/wis-go7007-0.9.8-r2.ebuild,v 1.1 2007/07/17 01:11:12 beandog Exp $
+
+inherit eutils linux-mod
+
+MY_PN=${PN}-linux
+DESCRIPTION="Linux drivers for go7007 chipsets (Plextor ConvertX PVR)"
+HOMEPAGE="http://oss.wischip.com/"
+SRC_URI="http://oss.wischip.com/${MY_PN}-${PV}.tar.bz2"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE="alsa"
+DEPEND="|| ( >=sys-fs/udev-103 sys-apps/hotplug )
+ sys-apps/hotplug-base
+ sys-apps/fxload"
+
+S=${WORKDIR}/${MY_PN}-${PV}
+
+pkg_setup() {
+ BUILD_TARGETS="all"
+ BUILD_PARAMS="KERNELSRC=${KERNEL_DIR}"
+ CONFIG_CHECK="HOTPLUG MODULES KMOD FW_LOADER I2C VIDEO_DEV SOUND SND USB
+ USB_DEVICEFS USB_EHCI_HCD"
+
+ if use alsa; then
+ CONFIG_CHECK="${CONFIG_CHECK} SND_MIXER_OSS SND_PCM_OSS"
+ fi
+
+ #if ! kernel_is 2 6 16; then
+ # eerror "These drivers will only work with a 2.6.16 kernel"
+ # #die "Needs a different kernel"
+ #fi
+
+ linux-mod_pkg_setup
+ MODULE_NAMES="go7007(extra:${S}:${S}/kernel)
+ go7007-usb(extra:${S}:${S}/kernel)
+ snd-go7007(extra:${S}:${S}/kernel)
+ wis-ov7640(extra:${S}:${S}/kernel)
+ wis-sony-tuner(extra:${S}:${S}/kernel)
+ wis-tw9903(extra:${S}:${S}/kernel)
+ wis-uda1342(extra:${S}:${S}/kernel)
+ wis-saa7113(extra:${S}:${S}/kernel)
+ wis-saa7115(extra:${S}:${S}/kernel)"
+}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch "${FILESDIR}/${P}-fix-udev.diff"
+ if kernel_is ge 2 6 17; then
+ epatch "${FILESDIR}/${P}-kernel-2.6.17.diff"
+ fi
+ if kernel_is ge 2 6 21; then
+ epatch "${FILESDIR}/snd.patch"
+ fi
+}
+
+src_compile() {
+ cd ${S}
+ linux-mod_src_compile || die "failed to build driver "
+}
+
+src_install() {
+ cd ${S}/apps
+ make KERNELDIR=${KERNEL_DIR} DESTDIR=${D} PREFIX=/usr install || die "failed to install"
+ cd ${S}
+ dodir ${ROOT}/lib/modules
+ insinto ${ROOT}/lib/modules
+ dodoc README README.saa7134 RELEASE-NOTES
+ cd ${S}/kernel
+ linux-mod_src_install || die "failed to install modules"
+
+ insinto ${KERNEL_DIR}/include/linux
+ doins ${S}/include/*.h
+ insinto ${ROOT}/lib/firmware
+ doins ${S}/firmware/*.bin
+ insinto ${ROOT}/lib/firmware/ezusb
+ doins ${S}/firmware/ezusb/*.hex
+ insinto ${ROOT}/etc/udev/rules.d
+ doins ${S}/udev/wis-ezusb.rules
+
+ exeinto ${ROOT}/usr/bin
+ use alsa && doexe ${S}/apps/gorecord
+ doexe ${S}/apps/modet
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+
+ elog ""
+ elog "For more information on how to use the Plextor devices with Gentoo"
+ elog "you can follow this thread for tips and tricks:"
+ elog "http://forums.gentoo.org/viewtopic-t-306559-highlight-.html"
+ elog ""
+ elog "Also, the unofficial Gentoo wiki has a HOWTO page:"
+ elog "http://gentoo-wiki.com/HARDWARE_go7007"
+ elog ""
+ ewarn "Don't forget to add your modules to /etc/modules.autoload.d/kernel.2.6"
+ ewarn "so they will load on startup:"
+ ewarn ""
+ ewarn "snd_go7007"
+ ewarn "go7007"
+ ewarn "go7007_usb"
+ ewarn "wis_saa7115"
+ ewarn "wis_uda1342"
+ ewarn "wis_sony_tuner"
+}