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