summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Pielmeier <billie@gentoo.org>2013-11-23 13:01:36 +0000
committerDaniel Pielmeier <billie@gentoo.org>2013-11-23 13:01:36 +0000
commit19512b153fb56928a35c955ab69678a8c4a772e8 (patch)
tree0210c3966057343261a86fe05e553e9bd9c536f8 /app-cdr/cdrtools
parenthardened/linux/arm/armv6j: tested, thanks CMoH (diff)
downloadhistorical-19512b153fb56928a35c955ab69678a8c4a772e8.tar.gz
historical-19512b153fb56928a35c955ab69678a8c4a772e8.tar.bz2
historical-19512b153fb56928a35c955ab69678a8c4a772e8.zip
Version bump.
Package-Manager: portage-2.2.7/cvs/Linux x86_64 Manifest-Sign-Key: 0x215AD14D
Diffstat (limited to 'app-cdr/cdrtools')
-rw-r--r--app-cdr/cdrtools/ChangeLog8
-rw-r--r--app-cdr/cdrtools/Manifest10
-rw-r--r--app-cdr/cdrtools/cdrtools-3.01_alpha19.ebuild156
3 files changed, 169 insertions, 5 deletions
diff --git a/app-cdr/cdrtools/ChangeLog b/app-cdr/cdrtools/ChangeLog
index ce36a313a31c..906266d3ccff 100644
--- a/app-cdr/cdrtools/ChangeLog
+++ b/app-cdr/cdrtools/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-cdr/cdrtools
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrtools/ChangeLog,v 1.317 2013/10/20 20:20:07 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrtools/ChangeLog,v 1.318 2013/11/23 13:01:30 billie Exp $
+
+*cdrtools-3.01_alpha19 (23 Nov 2013)
+
+ 23 Nov 2013; Daniel Pielmeier <billie@gentoo.org>
+ +cdrtools-3.01_alpha19.ebuild:
+ Version bump.
20 Oct 2013; Markus Meier <maekke@gentoo.org> cdrtools-3.01_alpha17.ebuild:
arm stable, bug #486318
diff --git a/app-cdr/cdrtools/Manifest b/app-cdr/cdrtools/Manifest
index 035133c1d9cc..5c335ad4320a 100644
--- a/app-cdr/cdrtools/Manifest
+++ b/app-cdr/cdrtools/Manifest
@@ -4,15 +4,17 @@ Hash: SHA256
DIST cdrtools-3.00.tar.bz2 1978563 SHA256 7f9cb64820055573b880f77b2f16662a512518336ba95ab49228a1617973423d SHA512 93887afd6c244814b7f6a623f0ac5b551934626163065a6f32aefe82aa7438450fd7a42737ef3cdaad3f18841c066d25e72e37891531dd0be5be328692712cec WHIRLPOOL a02750131e4ec55df10387a01dab3881afee669cd8b8ea65eaed4fdd82e6bd11040c6d79fc64ccc9377e787f5903ec92ea3ae81db1945554b65a8636737cc931
DIST cdrtools-3.01a17.tar.bz2 2061522 SHA256 3d613965b213ad83e4be0ba2535e784901839ea4d11a20a2beb6765f0eb76dfa SHA512 34a0579c536028b030cf828441ad55a705472646bc3a1ae962aad234fbe0b12c2bcb670511487c17086f5ba7643d1b8ae42a4a86bfe2940dc94f9744377daa8b WHIRLPOOL b718d559e0b36a576a42a38f84b3917891450d0bbab47b084eb1e906a396cf28ce47b79fd16565d4e0697311ee0c3d5abdd95b52ba2d7ae4e9f32d9b26bc26e1
DIST cdrtools-3.01a18.tar.bz2 2059197 SHA256 7e9ad9e00679bb0c0456455243eb41614a5a3395eebded9371a0c843dd3494d6 SHA512 d9d7e427b9860b387a4b50c5120e564a275ed377cd933836ed68713e004fb5573bfa06640cba62a1c38e6fef2ba34d4384fe2644d64077b05338e005116c07ee WHIRLPOOL fc8dce50b17d176a1c90ad182c8ff49ab1a1cb2e0fc916938d7d3a99b4b4d2b683e7d49278be72596dba98bc2a4b8b4072cb929dee36af60b966d639bd945799
+DIST cdrtools-3.01a19.tar.bz2 2065394 SHA256 9680547e0be8efa82d2ef542af47b5c0f465bc23fd5d8af27cb0328e4e5ba35e SHA512 88c1b23ce436bb2265bc64bb31b42904d48946ead2bda07a284371f2637e58b837a15dc6731d5f43f33cf9f9edbec7cf386b2b98a9ea4ccb71a3412f78e28981 WHIRLPOOL 5dc9a990cfc19e0148de8fd718ee0e017dd9f25d5ba8996d3b5ed740344abd8d6d8ec0b2ad7b4aebe16b2edefda67e5de1bc6ce5c3679e170f02ad8c263808ef
EBUILD cdrtools-3.00.ebuild 4233 SHA256 a495c12da2cd2c8520e22e4f68930fb9b89b00474737fc2ed957d508cd6c19cd SHA512 5fafd3b220dc0cf725b22512ea1f122f07018950d803071ab10fbab3bac4b266b743a4c739220099b053952757be6a58ed4d198bda09923f80bc0cfd300c04d4 WHIRLPOOL f2733313073dc15c6463f30557729b5b53b8f07f40f3dd962f7cd5622b2f0c75fcfecc9ca1ae52a6a0908760dfdf7644ca7a91e4870a8841923fa63976118b56
EBUILD cdrtools-3.01_alpha17.ebuild 4907 SHA256 1d98dd7079380df08999640bf4a762358c43e74b432ae82129804c636251447c SHA512 3676e1ec3c084c0d8eee0504f1f0ee3a9cd0d7395e369763e2be75a6815bec14c2312ada3daed25f1754b0a92d448b303c7089600fa4b791c00403bd56eae0c8 WHIRLPOOL 4ca482a494c4a9cf2c8a07a088ebbe49bff04d4a6b24cad01db8b97816af4997ca1a27e3d4be5267964dd63c2c127e53deff4f30a4860180ffcf57f0ebc46f3b
EBUILD cdrtools-3.01_alpha18.ebuild 4905 SHA256 5d671c0e8621cdbd03a6df4d8ad249b204aa8dabf55fdd5677312068413db2df SHA512 77ebcf49ca319e14d172938e06a8f191a667b787999f0141a528b19a0bbbeb43577aea256aca46d436ba0cadcc5db56a4f7e587a6c298c8ffe13040a679429b5 WHIRLPOOL d97d0b1845dcfd259e2ff79d71861f5f0eff2268e1341028ded83a909e28ac9371aec6a2cbf96d7ec4e908fa1b43e566ef3f3ea06021a3b30762437eea619b9e
-MISC ChangeLog 49144 SHA256 bce5a10037aa6f9b6e13b961012a7b00f49dc6c44c0e618890c38ff57a9cb3fc SHA512 e1befd45e17fd2baffffa0bcba5e1c271985aecdf33fbf9a78c4aaeb38ac68afe2f5faf060bd666572f00be350dd6c8d4c73b02996a5106c0100ef2a0a778c55 WHIRLPOOL d79366bddf269d290d75f38cf73f9dbd4752f7c689d34ff4216a55dfde667694ee2b734cfd27b4012072abf0252f2c4c1e75cf8bf0dfe29deb14e79c2bdb562e
+EBUILD cdrtools-3.01_alpha19.ebuild 4893 SHA256 da334176800be953775c5b5cfa0ae88cb6183ccc5e2924936c61146f24ed8806 SHA512 6e18c508efc754d4a788d7e116c52a26bbf5a9ba82aeaa6e539c9b64a199ce42b0ece119fbd3e09795bad684d19c2962cba887385466a6e3b71d9de1ebbc7b04 WHIRLPOOL 66b9e8d00502f261f14db16eff6af2307abb74dfcc523c52f96e010a28c84f054a6c1bfc497b871260fbd99c3acb92bc10db74cba654586d5eace0b26a926bc9
+MISC ChangeLog 49284 SHA256 72d17b738baca6a880e72cdeaa575c7e04e5a37ef85024f89d78677d2d0fe52c SHA512 cd290cd2e8a921df1874b0737db1d63793c5ae1185680180f0fb068f8fa7b6c65325edeec78bf02f337223c22ff3429da668fdd1f2a2aacabfe73803c5c358d2 WHIRLPOOL 96af384aed00dfa4d0dc2b1f816aab316c2a9b60cead3c6959e595aebcc2a5e23fde82a6edfa1309b6f29086eccda8cb515e44df24a79764ab820cee7ecc129a
MISC metadata.xml 507 SHA256 f1086372c5bae26f9438544c1102cbadc619718b163392cbe35f3b359560ef3b SHA512 77aef4353064a013d1944ee796b1a6cb9a8a60c698d53df46cac7be17c556d9a495c71b9578a536c61c429a0c87e894e962bdca9167bbc60522ef25aeab756a6 WHIRLPOOL 0771499480bc135391ab921f22aba47f9966b68c79083f29f9df8c185919b65422f69953cc876d7dca8a2af5539b85e0c592f4521f5b4034ca5cb6035dc7c28b
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iEYEAREIAAYFAlJkPIIACgkQkKaRLQcq0GJ1tQCgq8mmb3juz4YumGh1kyIE8Du2
-eUoAn2Hp7OZPWj2T5BEK7KTh04MgO4ml
-=dxFV
+iEYEAREIAAYFAlKQpy8ACgkQlcuUeyFa0U1BiQCeMRtLzyQ8eaaVrxV0dqgMd8ML
+J9UAoMDgrtdee1462+OreJSPPtJjc9Vd
+=RKI4
-----END PGP SIGNATURE-----
diff --git a/app-cdr/cdrtools/cdrtools-3.01_alpha19.ebuild b/app-cdr/cdrtools/cdrtools-3.01_alpha19.ebuild
new file mode 100644
index 000000000000..4b58a0102d1d
--- /dev/null
+++ b/app-cdr/cdrtools/cdrtools-3.01_alpha19.ebuild
@@ -0,0 +1,156 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrtools/cdrtools-3.01_alpha19.ebuild,v 1.1 2013/11/23 13:01:30 billie Exp $
+
+EAPI=5
+
+inherit fcaps multilib eutils toolchain-funcs flag-o-matic
+
+MY_P="${P/_alpha/a}"
+
+DESCRIPTION="A set of tools for CD/DVD reading and recording, including cdrecord"
+HOMEPAGE="http://cdrecord.berlios.de/private/cdrecord.html"
+SRC_URI="ftp://ftp.berlios.de/pub/cdrecord/$([[ -z ${PV/*_alpha*} ]] && echo 'alpha/')/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2 LGPL-2.1 CDDL-Schily"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
+IUSE="acl nls unicode"
+
+RDEPEND="acl? ( virtual/acl )
+ nls? ( virtual/libintl )
+ !app-cdr/cdrkit"
+DEPEND="${RDEPEND}
+ nls? ( >=sys-devel/gettext-0.18.1.1 )"
+
+S=${WORKDIR}/${P/_alpha[0-9][0-9]}
+
+FILECAPS=(
+ cap_sys_resource,cap_dac_override,cap_sys_admin,cap_sys_nice,cap_net_bind_service,cap_ipc_lock,cap_sys_rawio+ep usr/bin/cdrecord --
+ cap_dac_override,cap_sys_admin,cap_sys_nice,cap_net_bind_service,cap_sys_rawio+ep usr/bin/cdda2wav --
+ cap_dac_override,cap_sys_admin,cap_net_bind_service,cap_sys_rawio+ep usr/bin/readcd
+)
+
+src_prepare() {
+ # Remove profiled make files.
+ rm -f $(find ./ -name '*_p.mk') || die "rm profiled"
+
+ # Adjusting hardcoded paths.
+ sed -i -e "s|opt/schily|usr|" \
+ $(find ./ -type f -name \*.[0-9ch] -exec grep -l 'opt/schily' '{}' '+') \
+ || die "sed opt/schily"
+
+ sed -i -e "s|\(^INSDIR=\t\tshare/doc/\)|\1${PF}/|" \
+ $(find ./ -type f -exec grep -l '^INSDIR.\+doc' '{}' '+') \
+ || die "sed doc"
+
+ # Respect libdir.
+ sed -i -e "s|\(^INSDIR=\t\t\)lib|\1$(get_libdir)|" \
+ $(find ./ -type f -exec grep -l '^INSDIR.\+lib\(/siconv\)\?$' '{}' '+') \
+ || die "sed multilib"
+
+ # Do not install static libraries.
+ sed -i -e "s|include\t\t.*rules.lib||" \
+ $(find ./ -type f -exec grep -l '^include.\+rules\.lib' '{}' '+') \
+ || die "sed rules"
+
+ # Respect CC/CXX variables.
+ cd "${S}"/RULES
+ local tcCC=$(tc-getCC)
+ local tcCXX=$(tc-getCXX)
+ sed -i -e "/cc-config.sh/s|\$(C_ARCH:%64=%) \$(CCOM_DEF)|${tcCC} ${tcCC}|" \
+ rules1.top || die "sed rules1.top"
+ sed -i -e "/^CC_COM_DEF=/s|gcc|${tcCC}|" \
+ -e "/^CC++_COM_DEF=/s|g++|${tcCXX}|" \
+ -e "/COPTOPT=/s|-O||" \
+ -e 's|$(GCCOPTOPT)||' \
+ cc-gcc.rul || die "sed cc-gcc.rul"
+ sed -i -e "s|^#\(CONFFLAGS +=\).*|\1\t-cc=${tcCC}|" \
+ rules.cnf || die "sed rules.cnf"
+
+ # Create additional symlinks needed for some archs (armv4l already created)
+ local t
+ for t in armv4tl armv5tel armv7l s390x; do
+ ln -s i586-linux-cc.rul ${t}-linux-cc.rul || die
+ ln -s i586-linux-gcc.rul ${t}-linux-gcc.rul || die
+ done
+
+ # Schily make setup.
+ cd "${S}"/DEFAULTS
+ local os="linux"
+ [[ ${CHOST} == *-darwin* ]] && os="mac-os10"
+
+ sed -i \
+ -e "s|^\(DEFLINKMODE=\).*|\1\tdynamic|" \
+ -e "s|^\(LINUX_INCL_PATH=\).*|\1|" \
+ -e "s|^\(LDPATH=\).*|\1\t\t-L/usr/lib|" \
+ -e "s|^\(RUNPATH=\).*|\1|" \
+ -e "s|^\(INS_BASE=\).*|\1\t${ED}/usr|" \
+ -e "s|^\(INS_RBASE=\).*|\1\t${ED}|" \
+ -e "s|^\(DEFINSGRP=\).*|\1\troot|" \
+ Defaults.${os} || die "sed Schily make setup"
+}
+
+# skip obsolete configure script
+src_configure() { : ; }
+
+src_compile() {
+ if use unicode; then
+ local flags="$(test-flags -finput-charset=ISO-8859-1 -fexec-charset=UTF-8)"
+ if [[ -n ${flags} ]]; then
+ append-flags ${flags}
+ else
+ ewarn "Your compiler does not support the options required to build"
+ ewarn "cdrtools with unicode in USE. unicode flag will be ignored."
+ fi
+ fi
+
+ if ! use filecaps; then
+ CFLAGS="${CFLAGS} -DNO_LINUX_CAPS"
+ fi
+
+ if ! use acl; then
+ CFLAGS="${CFLAGS} -DNO_ACL"
+ fi
+
+ # If not built with -j1, "sometimes" cdda2wav will not be built.
+ emake -j1 CPPOPTX="${CPPFLAGS}" COPTX="${CFLAGS}" C++OPTX="${CXXFLAGS}" \
+ LDOPTX="${LDFLAGS}" GMAKE_NOWARN="true"
+}
+
+src_install() {
+ # If not built with -j1, "sometimes" manpages are not installed.
+ emake -j1 CPPOPTX="${CPPFLAGS}" COPTX="${CFLAGS}" C++OPTX="${CXXFLAGS}" \
+ LDOPTX="${LDFLAGS}" GMAKE_NOWARN="true" install
+
+ # These symlinks are for compat with cdrkit.
+ dosym schily /usr/include/scsilib
+ dosym ../scg /usr/include/schily/scg
+
+ dodoc ABOUT Changelog* CONTRIBUTING PORTING README.linux-shm READMEs/README.linux
+
+ cd "${S}"/cdda2wav
+ docinto cdda2wav
+ dodoc Changelog FAQ Frontends HOWTOUSE NEEDED README THANKS TODO
+
+ cd "${S}"/mkisofs
+ docinto mkisofs
+ dodoc ChangeLog* TODO
+
+ # Remove man pages related to the build system
+ rm -rvf "${ED}"/usr/share/man/man5
+}
+
+pkg_postinst() {
+ fcaps_pkg_postinst
+
+ if [[ ${CHOST} == *-darwin* ]] ; then
+ einfo
+ einfo "Darwin/OS X use the following device names:"
+ einfo
+ einfo "CD burners: (probably) ./cdrecord dev=IOCompactDiscServices"
+ einfo
+ einfo "DVD burners: (probably) ./cdrecord dev=IODVDServices"
+ einfo
+ fi
+}