Gentoo Archives: gentoo-commits

From: "Daniel Pielmeier (billie)" <billie@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-cdr/cdrtools: cdrtools-2.01.01_alpha51.ebuild ChangeLog cdrtools-2.01.01_alpha34.ebuild cdrtools-2.01.01_alpha64.ebuild
Date: Fri, 04 Sep 2009 11:13:37
Message-Id: E1MjbY6-0004pk-4W@stork.gentoo.org
1 billie 09/09/04 16:22:06
2
3 Modified: cdrtools-2.01.01_alpha51.ebuild ChangeLog
4 cdrtools-2.01.01_alpha34.ebuild
5 Added: cdrtools-2.01.01_alpha64.ebuild
6 Log:
7 Version bump. Quiet down repoman a bit.
8 (Portage version: 2.1.6.13/cvs/Linux i686)
9
10 Revision Changes Path
11 1.10 app-cdr/cdrtools/cdrtools-2.01.01_alpha51.ebuild
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-cdr/cdrtools/cdrtools-2.01.01_alpha51.ebuild?rev=1.10&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-cdr/cdrtools/cdrtools-2.01.01_alpha51.ebuild?rev=1.10&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-cdr/cdrtools/cdrtools-2.01.01_alpha51.ebuild?r1=1.9&r2=1.10
16
17 Index: cdrtools-2.01.01_alpha51.ebuild
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-cdr/cdrtools/cdrtools-2.01.01_alpha51.ebuild,v
20 retrieving revision 1.9
21 retrieving revision 1.10
22 diff -u -r1.9 -r1.10
23 --- cdrtools-2.01.01_alpha51.ebuild 28 May 2009 15:28:35 -0000 1.9
24 +++ cdrtools-2.01.01_alpha51.ebuild 4 Sep 2009 16:22:05 -0000 1.10
25 @@ -1,6 +1,6 @@
26 # Copyright 1999-2009 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrtools/cdrtools-2.01.01_alpha51.ebuild,v 1.9 2009/05/28 15:28:35 ssuominen Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrtools/cdrtools-2.01.01_alpha51.ebuild,v 1.10 2009/09/04 16:22:05 billie Exp $
30
31 inherit multilib eutils toolchain-funcs flag-o-matic
32
33 @@ -16,6 +16,7 @@
34 DEPEND="sys-apps/acl
35 !app-cdr/dvdrtools
36 !app-cdr/cdrkit"
37 +RDEPEND="${DEPEND}"
38
39 S=${WORKDIR}/${PN}-2.01.01
40
41
42
43
44 1.234 app-cdr/cdrtools/ChangeLog
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-cdr/cdrtools/ChangeLog?rev=1.234&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-cdr/cdrtools/ChangeLog?rev=1.234&content-type=text/plain
48 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-cdr/cdrtools/ChangeLog?r1=1.233&r2=1.234
49
50 Index: ChangeLog
51 ===================================================================
52 RCS file: /var/cvsroot/gentoo-x86/app-cdr/cdrtools/ChangeLog,v
53 retrieving revision 1.233
54 retrieving revision 1.234
55 diff -u -r1.233 -r1.234
56 --- ChangeLog 11 Jul 2009 10:41:59 -0000 1.233
57 +++ ChangeLog 4 Sep 2009 16:22:05 -0000 1.234
58 @@ -1,6 +1,13 @@
59 # ChangeLog for app-cdr/cdrtools
60 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
61 -# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrtools/ChangeLog,v 1.233 2009/07/11 10:41:59 billie Exp $
62 +# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrtools/ChangeLog,v 1.234 2009/09/04 16:22:05 billie Exp $
63 +
64 +*cdrtools-2.01.01_alpha64 (04 Sep 2009)
65 +
66 + 04 Sep 2009; Pielmeier Daniel <billie@g.o>
67 + cdrtools-2.01.01_alpha34.ebuild, cdrtools-2.01.01_alpha51.ebuild,
68 + +cdrtools-2.01.01_alpha64.ebuild:
69 + Version bump. Quiet down repoman a bit.
70
71 *cdrtools-2.01.01_alpha61 (11 Jul 2009)
72
73
74
75
76 1.15 app-cdr/cdrtools/cdrtools-2.01.01_alpha34.ebuild
77
78 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-cdr/cdrtools/cdrtools-2.01.01_alpha34.ebuild?rev=1.15&view=markup
79 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-cdr/cdrtools/cdrtools-2.01.01_alpha34.ebuild?rev=1.15&content-type=text/plain
80 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-cdr/cdrtools/cdrtools-2.01.01_alpha34.ebuild?r1=1.14&r2=1.15
81
82 Index: cdrtools-2.01.01_alpha34.ebuild
83 ===================================================================
84 RCS file: /var/cvsroot/gentoo-x86/app-cdr/cdrtools/cdrtools-2.01.01_alpha34.ebuild,v
85 retrieving revision 1.14
86 retrieving revision 1.15
87 diff -u -r1.14 -r1.15
88 --- cdrtools-2.01.01_alpha34.ebuild 28 May 2009 15:28:35 -0000 1.14
89 +++ cdrtools-2.01.01_alpha34.ebuild 4 Sep 2009 16:22:05 -0000 1.15
90 @@ -1,6 +1,6 @@
91 # Copyright 1999-2009 Gentoo Foundation
92 # Distributed under the terms of the GNU General Public License v2
93 -# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrtools/cdrtools-2.01.01_alpha34.ebuild,v 1.14 2009/05/28 15:28:35 ssuominen Exp $
94 +# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrtools/cdrtools-2.01.01_alpha34.ebuild,v 1.15 2009/09/04 16:22:05 billie Exp $
95
96 inherit eutils toolchain-funcs flag-o-matic
97
98 @@ -15,6 +15,7 @@
99
100 DEPEND="!app-cdr/dvdrtools
101 !app-cdr/cdrkit"
102 +RDEPEND="${DEPEND}"
103
104 S=${WORKDIR}/${PN}-2.01.01
105
106
107
108
109 1.1 app-cdr/cdrtools/cdrtools-2.01.01_alpha64.ebuild
110
111 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-cdr/cdrtools/cdrtools-2.01.01_alpha64.ebuild?rev=1.1&view=markup
112 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-cdr/cdrtools/cdrtools-2.01.01_alpha64.ebuild?rev=1.1&content-type=text/plain
113
114 Index: cdrtools-2.01.01_alpha64.ebuild
115 ===================================================================
116 # Copyright 1999-2009 Gentoo Foundation
117 # Distributed under the terms of the GNU General Public License v2
118 # $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrtools/cdrtools-2.01.01_alpha64.ebuild,v 1.1 2009/09/04 16:22:05 billie Exp $
119
120 EAPI=2
121
122 inherit multilib eutils toolchain-funcs flag-o-matic
123
124 DESCRIPTION="A set of tools for CD/DVD reading and recording, including cdrecord"
125 HOMEPAGE="http://cdrecord.berlios.de/"
126 SRC_URI="ftp://ftp.berlios.de/pub/cdrecord/alpha/${P/_alpha/a}.tar.bz2"
127
128 LICENSE="GPL-2 LGPL-2.1 CDDL-Schily"
129 SLOT="0"
130 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
131 IUSE="unicode acl"
132
133 DEPEND="acl? ( sys-apps/acl )
134 !app-cdr/dvdrtools
135 !app-cdr/cdrkit"
136 RDEPEND="${DEPEND}"
137
138 S=${WORKDIR}/${PN}-2.01.01
139
140 src_prepare() {
141 #"Adjust paths. Upstream is clearly on drugs, hardcoding paths into .c files.
142 sed -i -e 's:opt/schily:usr:' \
143 $(grep -l --include='*.1' --include='*.8' -r 'opt/schily' .) \
144 $(grep -l --include='*.c' --include='*.h' -r 'opt/schily' .) \
145 || die "404 on opt-schily sed"
146
147 sed -i -e "s:\(^INSDIR=\t\tshare/doc/\):\1${PF}/:" \
148 $(grep -l -r 'INSDIR.\+doc' .) \
149 || die "404 on doc sed"
150
151 # Upstream should be hanged from the yardarm, possibly keelhauled for
152 # not respecting libdir.
153 sed -i -e "s:\(^INSDIR=\t\t\)lib:\1$(get_libdir):" \
154 $(grep -l -r '^INSDIR.\+lib\(/siconv\)\?$' .) \
155 || die "404 on multilib-sed"
156
157 # See previous comment s/libdir/--disable-static/
158 sed -i -e 's:include\t\t.*rules.lib::' \
159 $(grep -l -r '^include.\+rules\.lib' .) \
160 || die "404 on rules sed"
161 #Remove profiled make files (wtf?)
162 rm -f $(find . -name '*_p.mk') || die "rm failed"
163
164 epatch "${FILESDIR}"/${PN}-2.01.01_alpha50-asneeded.patch
165
166 #Schily make setup
167 cd "${S}"/DEFAULTS
168 local MYARCH="linux"
169
170 sed -i "s:/opt/schily:/usr:g" Defaults.${MYARCH} || die "sed schily-opt failed"
171 sed -i "s:/usr/src/linux/include::g" Defaults.${MYARCH} || die "sed linux-include failed"
172 sed -i "/RUNPATH/ c\RUNPATH= " Defaults.${MYARCH} || die "sed RUNPATH failed"
173
174 # For dynamic linking:
175 sed -i "s:static:dynamic:" Defaults.${MYARCH} || die "sed static-remove failed"
176
177 # lame symlinks that all point to the same thing
178 cd "${S}"/RULES
179 local t
180 for t in ppc64 sh4 s390x ; do
181 ln -s i586-linux-cc.rul ${t}-linux-cc.rul || die
182 ln -s i586-linux-gcc.rul ${t}-linux-gcc.rul || die
183 done
184 }
185
186 src_configure() { : ; }
187
188 src_compile() {
189 local ACL="-lacl"
190 if use unicode; then
191 local flags="$(test-flags -finput-charset=ISO-8859-1 -fexec-charset=UTF-8)"
192 if [[ -n ${flags} ]]; then
193 append-flags ${flags}
194 else
195 ewarn "Your compiler does not support the options required to build"
196 ewarn "cdrtools with unicode in USE. unicode flag will be ignored."
197 fi
198 fi
199
200 if ! use acl
201 then
202 CFLAGS="${CFLAGS} -DNO_ACL"
203 ACL=""
204 fi
205 #If not built with -j1, "sometimes" cdda2wav will not be built. Nasty bug.
206 emake -j1 CC="$(tc-getCC) -D__attribute_const__=const" COPTX="${CFLAGS}" \
207 LIB_ACL_TEST="${ACL}" CPPOPTX="${CPPFLAGS}" LDOPTX="${LDFLAGS}" \
208 GMAKE_NOWARN="true" || die "emake failed"
209 }
210
211 src_install() {
212 emake -j1 MANDIR="share/man" INS_BASE="${D}/usr/" INS_RBASE="${D}" \
213 GMAKE_NOWARN="true" install
214
215 #These symlinks are for compat with cdrkit.
216 dosym schily /usr/include/scsilib
217 dosym ../scg /usr/include/schily/scg
218
219 dodoc ABOUT Changelog README README.linux-shm START READMEs/README.linux || die "dodoc cdrtools"
220
221 cd "${S}"/cdda2wav
222 docinto cdda2wav
223 dodoc FAQ Frontends HOWTOUSE TODO || die "dodoc cdda2wav"
224
225 }
226
227 pkg_postinst() {
228 echo
229 einfo "The command line option 'dev=/dev/hdX' (X is the name of your drive)"
230 einfo "should be used for IDE CD writers. And make sure that the permissions"
231 einfo "on this device are set properly and your user is in the correct group."
232 }