1 |
nerdboy 09/07/18 16:14:05 |
2 |
|
3 |
Modified: ChangeLog line6usb-0.7.3.ebuild |
4 |
Added: line6usb-0.8.1.ebuild |
5 |
Log: |
6 |
Updated to current upstream release with support for newer kernels. |
7 |
(Portage version: 2.2_rc33/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.3 media-sound/line6usb/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/line6usb/ChangeLog?rev=1.3&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/line6usb/ChangeLog?rev=1.3&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/line6usb/ChangeLog?r1=1.2&r2=1.3 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/line6usb/ChangeLog,v |
19 |
retrieving revision 1.2 |
20 |
retrieving revision 1.3 |
21 |
diff -u -r1.2 -r1.3 |
22 |
--- ChangeLog 18 Oct 2008 06:16:23 -0000 1.2 |
23 |
+++ ChangeLog 18 Jul 2009 16:14:05 -0000 1.3 |
24 |
@@ -1,6 +1,13 @@ |
25 |
# ChangeLog for media-sound/line6usb |
26 |
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/media-sound/line6usb/ChangeLog,v 1.2 2008/10/18 06:16:23 nerdboy Exp $ |
28 |
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/media-sound/line6usb/ChangeLog,v 1.3 2009/07/18 16:14:05 nerdboy Exp $ |
30 |
+ |
31 |
+*line6usb-0.8.1 (18 Jul 2009) |
32 |
+ |
33 |
+ 18 Jul 2009; Steve Arnold <nerdboy@g.o> line6usb-0.7.3.ebuild, |
34 |
+ +line6usb-0.8.1.ebuild: |
35 |
+ Updated to current upstream release with support for newer kernels |
36 |
+ (see bug # 278164). |
37 |
|
38 |
18 Oct 2008; Steve Arnold <nerdboy@g.o> line6usb-0.7.3.ebuild: |
39 |
Updated Makefile by replacing uname-based paths with ebuild vars; fixes |
40 |
|
41 |
|
42 |
|
43 |
1.4 media-sound/line6usb/line6usb-0.7.3.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/line6usb/line6usb-0.7.3.ebuild?rev=1.4&view=markup |
46 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/line6usb/line6usb-0.7.3.ebuild?rev=1.4&content-type=text/plain |
47 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/line6usb/line6usb-0.7.3.ebuild?r1=1.3&r2=1.4 |
48 |
|
49 |
Index: line6usb-0.7.3.ebuild |
50 |
=================================================================== |
51 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/line6usb/line6usb-0.7.3.ebuild,v |
52 |
retrieving revision 1.3 |
53 |
retrieving revision 1.4 |
54 |
diff -u -r1.3 -r1.4 |
55 |
--- line6usb-0.7.3.ebuild 18 Oct 2008 06:16:23 -0000 1.3 |
56 |
+++ line6usb-0.7.3.ebuild 18 Jul 2009 16:14:05 -0000 1.4 |
57 |
@@ -1,6 +1,6 @@ |
58 |
-# Copyright 1999-2008 Gentoo Foundation |
59 |
+# Copyright 1999-2009 Gentoo Foundation |
60 |
# Distributed under the terms of the GNU General Public License v2 |
61 |
-# $Header: /var/cvsroot/gentoo-x86/media-sound/line6usb/line6usb-0.7.3.ebuild,v 1.3 2008/10/18 06:16:23 nerdboy Exp $ |
62 |
+# $Header: /var/cvsroot/gentoo-x86/media-sound/line6usb/line6usb-0.7.3.ebuild,v 1.4 2009/07/18 16:14:05 nerdboy Exp $ |
63 |
|
64 |
inherit linux-mod eutils multilib linux-info |
65 |
|
66 |
@@ -22,9 +22,10 @@ |
67 |
|
68 |
RDEPEND="virtual/modutils |
69 |
dev-lang/perl" |
70 |
+ |
71 |
DEPEND="${RDEPEND} |
72 |
virtual/alsa |
73 |
- virtual/linux-sources |
74 |
+ <virtual/linux-sources-2.6.25 |
75 |
sys-apps/debianutils" |
76 |
|
77 |
pkg_setup() { |
78 |
|
79 |
|
80 |
|
81 |
1.1 media-sound/line6usb/line6usb-0.8.1.ebuild |
82 |
|
83 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/line6usb/line6usb-0.8.1.ebuild?rev=1.1&view=markup |
84 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/line6usb/line6usb-0.8.1.ebuild?rev=1.1&content-type=text/plain |
85 |
|
86 |
Index: line6usb-0.8.1.ebuild |
87 |
=================================================================== |
88 |
# Copyright 1999-2009 Gentoo Foundation |
89 |
# Distributed under the terms of the GNU General Public License v2 |
90 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/line6usb/line6usb-0.8.1.ebuild,v 1.1 2009/07/18 16:14:05 nerdboy Exp $ |
91 |
|
92 |
inherit linux-mod eutils multilib linux-info |
93 |
|
94 |
DESCRIPTION="Experimental USB driver for Line6 PODs and the Variax workbench." |
95 |
HOMEPAGE="http://www.tanzband-scream.at/line6/" |
96 |
SRC_URI="http://www.tanzband-scream.at/line6/download/${P}.tar.bz2 |
97 |
doc? ( http://www.tanzband-scream.at/line6/driverdocs.pdf )" |
98 |
|
99 |
LICENSE="GPL-2" |
100 |
SLOT="0" |
101 |
|
102 |
KEYWORDS="~amd64 ~x86" |
103 |
# needs testing/keywording with 2.6 kernels on ~ppc/ppc64 (should work) |
104 |
IUSE="doc" |
105 |
|
106 |
CONFIG_CHECK="USB SOUND" |
107 |
MODULE_NAMES="line6usb(usb:${S}:${S})" |
108 |
ERROR_PODXTPRO="${P} requires the podxtpro driver to be removed first." |
109 |
|
110 |
RDEPEND="virtual/modutils |
111 |
dev-lang/perl" |
112 |
DEPEND="${RDEPEND} |
113 |
virtual/alsa |
114 |
>=virtual/linux-sources-2.6.25 |
115 |
sys-apps/debianutils" |
116 |
|
117 |
pkg_setup() { |
118 |
ABI="${KERNEL_ABI}" |
119 |
linux-mod_pkg_setup |
120 |
BUILD_PARAMS="LINUX_DIR=${KV_DIR} OUTPUT_DIR=${KV_OUT_DIR}" |
121 |
check_upgrade |
122 |
} |
123 |
|
124 |
src_unpack() { |
125 |
unpack ${A} |
126 |
cd "${S}" |
127 |
convert_to_m Makefile |
128 |
|
129 |
sed -i \ |
130 |
-e "s:/lib/modules/\$(shell uname -r)/build:${KERNEL_DIR}:g" \ |
131 |
-e "s:\$(shell uname -r):${KV_FULL}:g" \ |
132 |
-e "s:\$(shell pwd):${S}:g" \ |
133 |
Makefile || die "sed failed!" |
134 |
} |
135 |
|
136 |
src_compile() { |
137 |
# linux-mod_src_compile doesn't work here |
138 |
set_arch_to_kernel |
139 |
cd "${S}" |
140 |
emake KERNEL_LOCATION="${KERNEL_DIR}" || die "emake failed." |
141 |
} |
142 |
|
143 |
src_install() { |
144 |
DESTDIR="${D}" make install-only || die "make install failed" |
145 |
|
146 |
# remove some cruft |
147 |
rm "${D}"usr/bin/remove_old_podxtpro_driver.sh |
148 |
|
149 |
dodoc INSTALL |
150 |
if use doc; then |
151 |
insinto /usr/share/doc/${P} |
152 |
doins "${DISTDIR}"/driverdocs.pdf |
153 |
fi |
154 |
} |
155 |
|
156 |
pkg_postinst() { |
157 |
linux-mod_pkg_postinst |
158 |
|
159 |
elog |
160 |
elog "This is an experimental driver. Not responsible for runaway dogs," |
161 |
elog "hair-loss, or sterility. You have been warned..." |
162 |
elog |
163 |
} |
164 |
|
165 |
check_upgrade() { |
166 |
local old="podxtpro.${KV_OBJ}" |
167 |
local new="line6usb.${KV_OBJ}" |
168 |
if [[ -e \ |
169 |
"/lib/modules/${KV_FULL}/kernel/sound/usb/${old}" ]]; then |
170 |
eerror "The previous version of the driver called podxtpro" |
171 |
eerror "exists on your system." |
172 |
eerror |
173 |
eerror "Please completely remove the old driver before trying" |
174 |
eerror "to install ${P}." |
175 |
eerror |
176 |
die "upgrade not possible with existing driver" |
177 |
elif [[ -e \ |
178 |
"/lib/modules/${KV_FULL}/kernel/sound/usb/${new}" ]]; then |
179 |
ewarn |
180 |
ewarn "Collisions are expected here, if you removed the ebuild" |
181 |
ewarn "(because kernel modules are protected by default). Use" |
182 |
ewarn "FEATURES=-collision-protect emerge ... for this package," |
183 |
ewarn "or remove the old kernel module (${new}) manually first" |
184 |
ewarn "from /lib/modules/${KV_FULL}/kernel/sound/usb/" |
185 |
ewarn |
186 |
has collision-protect "${FEATURES}" && |
187 |
die 'incompatible with FEATURES=collision-protect' |
188 |
fi |
189 |
} |