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