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