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