1 |
billie 10/11/25 18:52:59 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: cdrtools-3.01_alpha01.ebuild |
5 |
Removed: cdrtools-3.00-r1.ebuild |
6 |
Log: |
7 |
Versiom bump. Remove old. |
8 |
|
9 |
(Portage version: 2.1.9.24/cvs/Linux i686) |
10 |
|
11 |
Revision Changes Path |
12 |
1.273 app-cdr/cdrtools/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-cdr/cdrtools/ChangeLog?rev=1.273&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-cdr/cdrtools/ChangeLog?rev=1.273&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-cdr/cdrtools/ChangeLog?r1=1.272&r2=1.273 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/app-cdr/cdrtools/ChangeLog,v |
21 |
retrieving revision 1.272 |
22 |
retrieving revision 1.273 |
23 |
diff -u -r1.272 -r1.273 |
24 |
--- ChangeLog 20 Nov 2010 16:34:33 -0000 1.272 |
25 |
+++ ChangeLog 25 Nov 2010 18:52:59 -0000 1.273 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for app-cdr/cdrtools |
28 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrtools/ChangeLog,v 1.272 2010/11/20 16:34:33 armin76 Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrtools/ChangeLog,v 1.273 2010/11/25 18:52:59 billie Exp $ |
31 |
+ |
32 |
+*cdrtools-3.01_alpha01 (25 Nov 2010) |
33 |
+ |
34 |
+ 25 Nov 2010; Daniel Pielmeier <billie@g.o> -cdrtools-3.00-r1.ebuild, |
35 |
+ +cdrtools-3.01_alpha01.ebuild: |
36 |
+ Versiom bump. Remove old. |
37 |
|
38 |
20 Nov 2010; Raúl Porcel <armin76@g.o> cdrtools-3.00.ebuild, |
39 |
cdrtools-3.00-r1.ebuild: |
40 |
|
41 |
|
42 |
|
43 |
1.1 app-cdr/cdrtools/cdrtools-3.01_alpha01.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-cdr/cdrtools/cdrtools-3.01_alpha01.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-cdr/cdrtools/cdrtools-3.01_alpha01.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: cdrtools-3.01_alpha01.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2010 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrtools/cdrtools-3.01_alpha01.ebuild,v 1.1 2010/11/25 18:52:59 billie Exp $ |
53 |
|
54 |
EAPI=2 |
55 |
|
56 |
inherit multilib eutils toolchain-funcs flag-o-matic |
57 |
|
58 |
MY_P="${P/_alpha/a}" |
59 |
|
60 |
DESCRIPTION="A set of tools for CD/DVD reading and recording, including cdrecord" |
61 |
HOMEPAGE="http://cdrecord.berlios.de/private/cdrecord.html" |
62 |
SRC_URI="ftp://ftp.berlios.de/pub/cdrecord/$([[ -z ${PV/*_alpha*} ]] && echo 'alpha/')/${MY_P}.tar.bz2" |
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? ( virtual/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 |
# Do not install static libraries. |
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 (armv4l already created) |
112 |
local t |
113 |
for t in armv4tl armv5l armv5tel armv6l armv7l 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 "s:bin:root:g" \ |
126 |
Defaults.${os} || die "sed Schily make setup" |
127 |
} |
128 |
|
129 |
# skip obsolete configure script |
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 |
if ! use acl; then |
144 |
CFLAGS="${CFLAGS} -DNO_ACL" |
145 |
fi |
146 |
|
147 |
# LIB_ACL_TEST removed to support x86-fbsd |
148 |
# If not built with -j1, "sometimes" cdda2wav will not be built. |
149 |
emake -j1 CC="$(tc-getCC)" CPPOPTX="${CPPFLAGS}" COPTX="${CFLAGS}" \ |
150 |
LDOPTX="${LDFLAGS}" \ |
151 |
INS_BASE="${D}/usr" INS_RBASE="${D}" LINKMODE="dynamic" \ |
152 |
RUNPATH="" GMAKE_NOWARN="true" || die "emake" |
153 |
} |
154 |
|
155 |
src_install() { |
156 |
# If not built with -j1, "sometimes" manpages are not installed. |
157 |
emake -j1 CC="$(tc-getCC)" CPPOPTX="${CPPFLAGS}" COPTX="${CFLAGS}" \ |
158 |
LDOPTX="${LDFLAGS}" \ |
159 |
INS_BASE="${D}/usr" INS_RBASE="${D}" LINKMODE="dynamic" \ |
160 |
RUNPATH="" GMAKE_NOWARN="true" install || die "emake install" |
161 |
|
162 |
# These symlinks are for compat with cdrkit. |
163 |
dosym schily /usr/include/scsilib || die "dosym scsilib" |
164 |
dosym ../scg /usr/include/schily/scg || die "dosym scg" |
165 |
|
166 |
dodoc ABOUT Changelog* CONTRIBUTING PORTING README.linux-shm READMEs/README.linux \ |
167 |
|| die "dodoc" |
168 |
|
169 |
cd "${S}"/cdda2wav |
170 |
docinto cdda2wav |
171 |
dodoc Changelog FAQ Frontends HOWTOUSE NEEDED README THANKS TODO \ |
172 |
|| die "dodoc cdda2wav" |
173 |
|
174 |
cd "${S}"/mkisofs |
175 |
docinto mkisofs |
176 |
dodoc ChangeLog* TODO || die "dodoc mkisofs" |
177 |
|
178 |
# Remove man pages related to the build system |
179 |
rm -rvf "${D}"/usr/share/man/man5 |
180 |
} |