diff options
author | Daniel Pielmeier <billie@gentoo.org> | 2013-06-07 15:39:27 +0000 |
---|---|---|
committer | Daniel Pielmeier <billie@gentoo.org> | 2013-06-07 15:39:27 +0000 |
commit | 546a0475ad83b1b5083d8318c9d0873a428d461f (patch) | |
tree | c47a4f2e6797ee6058193f002ae7c25827e976c9 /app-cdr | |
parent | Version bump (diff) | |
download | historical-546a0475ad83b1b5083d8318c9d0873a428d461f.tar.gz historical-546a0475ad83b1b5083d8318c9d0873a428d461f.tar.bz2 historical-546a0475ad83b1b5083d8318c9d0873a428d461f.zip |
Version bump.
Package-Manager: portage-2.1.12.2/cvs/Linux i686
Manifest-Sign-Key: 0x215AD14D
Diffstat (limited to 'app-cdr')
-rw-r--r-- | app-cdr/cdrtools/ChangeLog | 8 | ||||
-rw-r--r-- | app-cdr/cdrtools/Manifest | 10 | ||||
-rw-r--r-- | app-cdr/cdrtools/cdrtools-3.01_alpha15.ebuild | 156 |
3 files changed, 169 insertions, 5 deletions
diff --git a/app-cdr/cdrtools/ChangeLog b/app-cdr/cdrtools/ChangeLog index 3063f2bf0a1b..1a032233e440 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.304 2013/03/04 19:31:23 billie Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrtools/ChangeLog,v 1.305 2013/06/07 15:39:25 billie Exp $ + +*cdrtools-3.01_alpha15 (07 Jun 2013) + + 07 Jun 2013; Daniel Pielmeier <billie@gentoo.org> + +cdrtools-3.01_alpha15.ebuild: + Version bump. 04 Mar 2013; Daniel Pielmeier <billie@gentoo.org> -cdrtools-3.01_alpha12.ebuild: diff --git a/app-cdr/cdrtools/Manifest b/app-cdr/cdrtools/Manifest index 0a3ed3293ab6..358fa635516f 100644 --- a/app-cdr/cdrtools/Manifest +++ b/app-cdr/cdrtools/Manifest @@ -3,14 +3,16 @@ Hash: SHA256 DIST cdrtools-3.00.tar.bz2 1978563 SHA256 7f9cb64820055573b880f77b2f16662a512518336ba95ab49228a1617973423d SHA512 93887afd6c244814b7f6a623f0ac5b551934626163065a6f32aefe82aa7438450fd7a42737ef3cdaad3f18841c066d25e72e37891531dd0be5be328692712cec WHIRLPOOL a02750131e4ec55df10387a01dab3881afee669cd8b8ea65eaed4fdd82e6bd11040c6d79fc64ccc9377e787f5903ec92ea3ae81db1945554b65a8636737cc931 DIST cdrtools-3.01a13.tar.bz2 2053012 SHA256 43d0a271f398851b1692b0a3f481c7238649090b4497752024a6d090816e09f5 SHA512 f5a33375be0002f6ec8d5fc77af8a1e5de65b67218139cd1064dbf2c7a8b3d0d0012c5e062e9976581b4684946a08ee0d4d980e83a38eadb8992003b7f343892 WHIRLPOOL 5ea0f786d839c7050b1820252ca8f638c65d322e35a04765dabb91c0a395de879f2fab1f60e0c7a1568eb5b8a63b7b890525333f17448fa428ad0f5f7bcc7e40 +DIST cdrtools-3.01a15.tar.bz2 2058342 SHA256 3f07db935c489d30a07429ffa7bf3dd2ecf1853013979117492b7169ae01fa96 SHA512 a4bcc999ebfc2bbb95cf25881904f70e746cc21bcacba8afbfe9a35095d942dc71ad2d4757167c5ba09eff095bb64d4f88ae542e2b585e362b70b30e19e4c5bd WHIRLPOOL 324f68477c7e13109fb522f18bbdf93135ada21c46fb51f4abf474edcd65564b1592d5e6910204b1a3cbb024ad48d8a91b11242dcffc9312e017ca926eae0cff EBUILD cdrtools-3.00.ebuild 4233 SHA256 a495c12da2cd2c8520e22e4f68930fb9b89b00474737fc2ed957d508cd6c19cd SHA512 5fafd3b220dc0cf725b22512ea1f122f07018950d803071ab10fbab3bac4b266b743a4c739220099b053952757be6a58ed4d198bda09923f80bc0cfd300c04d4 WHIRLPOOL f2733313073dc15c6463f30557729b5b53b8f07f40f3dd962f7cd5622b2f0c75fcfecc9ca1ae52a6a0908760dfdf7644ca7a91e4870a8841923fa63976118b56 EBUILD cdrtools-3.01_alpha13.ebuild 4540 SHA256 cc8ed4a118faf07d99fd3ceeea0cdd17e4cd1aa98b63f6800a6e40293acd4afb SHA512 2ff6b3a307673130efc127bb898f589ec3fc33626985d96aa85601f60e4e3e3c298e017fa558ccd44041b9d2fa31683853518a17c625734fcadc89581c5b45e7 WHIRLPOOL 42fa866ac13ab281cbd888714fe97041908314f3d05ec7aa2093f5e2eff0a9dbbf408dd90bba4da333f94be658dec21666c861713c3bc6fae8deee273751f47e -MISC ChangeLog 47222 SHA256 f3cfe64bb511514bbe51686edd7c5891228fc9bf89e083a2c816159e4476abe1 SHA512 191f8f67536dd458fcaa5a86eadba712465bc87cdc9760626cc994c20b8ac92bcf401de1fac45be368e93754a1583cbd2c83d1ff64fd4b28beef91c4e44f0735 WHIRLPOOL 026311da3c96593e2bcc80fd58147b57e01e444a2b6835c1de2ff1d61c6054b540ad82844ff42d75c9d35c6ab9cd10b3363aed74e79c2d0a3bffad5b7765b1e7 +EBUILD cdrtools-3.01_alpha15.ebuild 4925 SHA256 8f04b161c1e3828696494e4a787c7f34cf3b958c8b255c141c4c98f49f77f2c7 SHA512 bf428057d09fd4dbbbd408e296cf60b6e1ef0f973862c815bb55a17738d74bc8d143fdc86c68267e9ec7de5acd2d41d68d0ad895284109b2e0c4093cb046bec3 WHIRLPOOL 1bf31a46f753fde2cf65eb3b525f29fc8ec538048867d9ea3ad67085eb4ec50bd8d6a0e3de1f7ff23ef46784e165f7627a8be6d31b20924cc23b687e57e01dab +MISC ChangeLog 47362 SHA256 28fe6d03c5959ee6336503aad5af5ec1576b57e76091b37909dd31a4c16f8a4b SHA512 56fb9d0649525dad01badf4268435fc4802d464fee4c44add943cb694277ba020f38923653f668940b7d58a98ba77deec96b35212de4081835bee2c3e409be6b WHIRLPOOL ed8fb01f0f192985b7531799b3439a777d8c89f13bf7f8e0de0c9a02579de838653d8828a5f929295c0d9bcd2e34384e536e84bafa5d60a128776978838f2c23 MISC metadata.xml 344 SHA256 1827502e9d2cfa583db6a17f065462b760bf3770fcac22a0145d6a560b2b34f8 SHA512 0d461f000a4dd8557ec9020785c12c7875437c2061c3fd7f9cc54df089309dadf71435ac9d0f29bc5ee1785c9398661c78b1095b512b5fc91071dc63a818e567 WHIRLPOOL e27e3f17bcc9151f0f7c9a21a13c556e27a71499d613937a1eaa0176ad203c208e58b0af6f82edaed69ff929885c1f4b6f4fa15093a3d1a12b3f2a0c77e8bb86 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iEYEAREIAAYFAlE09owACgkQlcuUeyFa0U3iqACg6vleM5o3hbhglTzVOZiTLHTB -PqUAoN4drY2kXwWylSt0IRzo4wDaEf4j -=6oDt +iEYEAREIAAYFAlGx/q8ACgkQlcuUeyFa0U20ngCfYLhhIejKd3c5OBZd+8PFM61j +I+kAoOjg81UMdi8CuNo3aVuOBP5Cpjl4 +=p//H -----END PGP SIGNATURE----- diff --git a/app-cdr/cdrtools/cdrtools-3.01_alpha15.ebuild b/app-cdr/cdrtools/cdrtools-3.01_alpha15.ebuild new file mode 100644 index 000000000000..fc5c30b4a39b --- /dev/null +++ b/app-cdr/cdrtools/cdrtools-3.01_alpha15.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_alpha15.ebuild,v 1.1 2013/06/07 15:39:25 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\|DYNLD\|LDCC\|MKDEP\)/s|gcc|${tcCC}|" \ + -e "/^\(CC++\|DYNLDC++\|LDCC++\|MKC++DEP\)/s|g++|${tcCXX}|" \ + -e "/COPTOPT=/s/-O//" \ + -e 's/$(GCCOPTOPT)//' \ + cc-gcc.rul || die "sed cc-gcc.rul" + sed -i -e "s|^#CONFFLAGS +=\t-cc=\$(XCC_COM)$|CONFFLAGS +=\t-cc=${tcCC}|g" \ + rules.cnf || die "sed rules.cnf" + + # Create additional symlinks needed for some archs (armv4l already created) + local t + for t in armv4tl armv5l armv5tel armv6l armv7l ppc64 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:/opt/schily:/usr:g" \ + -e "s:/usr/src/linux/include::g" \ + -e "s:bin:root:g" \ + 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 CC="$(tc-getCC)" CPPOPTX="${CPPFLAGS}" COPTX="${CFLAGS}" \ + LDOPTX="${LDFLAGS}" \ + INS_BASE="${ED}/usr" INS_RBASE="${ED}" LINKMODE="dynamic" \ + RUNPATH="" GMAKE_NOWARN="true" +} + +src_install() { + # If not built with -j1, "sometimes" manpages are not installed. + emake -j1 CC="$(tc-getCC)" CPPOPTX="${CPPFLAGS}" COPTX="${CFLAGS}" \ + LDOPTX="${LDFLAGS}" \ + INS_BASE="${ED}/usr" INS_RBASE="${ED}" LINKMODE="dynamic" \ + RUNPATH="" 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 +} |