diff options
author | Daniel Pielmeier <billie@gentoo.org> | 2013-09-06 16:08:17 +0000 |
---|---|---|
committer | Daniel Pielmeier <billie@gentoo.org> | 2013-09-06 16:08:17 +0000 |
commit | 3665bf785ae0a0be142cd0017dae980c17ddbc6d (patch) | |
tree | 77cd1f539240eb69f0ce0ec6af084186385e3ec7 /app-cdr | |
parent | Stable for sparc, wrt bug #478260 (diff) | |
download | historical-3665bf785ae0a0be142cd0017dae980c17ddbc6d.tar.gz historical-3665bf785ae0a0be142cd0017dae980c17ddbc6d.tar.bz2 historical-3665bf785ae0a0be142cd0017dae980c17ddbc6d.zip |
Version bump.
Package-Manager: portage-2.1.12.2/cvs/Linux x86_64
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_alpha17.ebuild | 156 |
3 files changed, 169 insertions, 5 deletions
diff --git a/app-cdr/cdrtools/ChangeLog b/app-cdr/cdrtools/ChangeLog index 589a0e44cb4c..b0ccc9519dc3 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.307 2013/07/21 11:42:31 billie Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrtools/ChangeLog,v 1.308 2013/09/06 16:08:16 billie Exp $ + +*cdrtools-3.01_alpha17 (06 Sep 2013) + + 06 Sep 2013; Daniel Pielmeier <billie@gentoo.org> + +cdrtools-3.01_alpha17.ebuild: + Version bump. *cdrtools-3.01_alpha16 (21 Jul 2013) diff --git a/app-cdr/cdrtools/Manifest b/app-cdr/cdrtools/Manifest index 623de5f654c1..6be6599c7afb 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.01a15.tar.bz2 2058342 SHA256 3f07db935c489d30a07429ffa7bf3dd2ecf1853013979117492b7169ae01fa96 SHA512 a4bcc999ebfc2bbb95cf25881904f70e746cc21bcacba8afbfe9a35095d942dc71ad2d4757167c5ba09eff095bb64d4f88ae542e2b585e362b70b30e19e4c5bd WHIRLPOOL 324f68477c7e13109fb522f18bbdf93135ada21c46fb51f4abf474edcd65564b1592d5e6910204b1a3cbb024ad48d8a91b11242dcffc9312e017ca926eae0cff DIST cdrtools-3.01a16.tar.bz2 2058899 SHA256 e10bfc918558ee64f192af9b42e4797e0dac8c1697df0321f3568bf210ee954d SHA512 4c93caec7a629ca2395e42f99d716b59aa3bb036ccefa47aa938e6e7743314858469994d6da78f398f191d71ceca838c7205ff98134f3a4ab23f6ed69d5958d0 WHIRLPOOL e4206a6b0ba3428e873f6916fc95e52309acff7536f5397a5a5d1d22d2730e02947a0f6538f856a6ffcb1249375680f3ff6af7f2b8d3268e051cf75b37438cae +DIST cdrtools-3.01a17.tar.bz2 2061522 SHA256 3d613965b213ad83e4be0ba2535e784901839ea4d11a20a2beb6765f0eb76dfa SHA512 34a0579c536028b030cf828441ad55a705472646bc3a1ae962aad234fbe0b12c2bcb670511487c17086f5ba7643d1b8ae42a4a86bfe2940dc94f9744377daa8b WHIRLPOOL b718d559e0b36a576a42a38f84b3917891450d0bbab47b084eb1e906a396cf28ce47b79fd16565d4e0697311ee0c3d5abdd95b52ba2d7ae4e9f32d9b26bc26e1 EBUILD cdrtools-3.00.ebuild 4233 SHA256 a495c12da2cd2c8520e22e4f68930fb9b89b00474737fc2ed957d508cd6c19cd SHA512 5fafd3b220dc0cf725b22512ea1f122f07018950d803071ab10fbab3bac4b266b743a4c739220099b053952757be6a58ed4d198bda09923f80bc0cfd300c04d4 WHIRLPOOL f2733313073dc15c6463f30557729b5b53b8f07f40f3dd962f7cd5622b2f0c75fcfecc9ca1ae52a6a0908760dfdf7644ca7a91e4870a8841923fa63976118b56 EBUILD cdrtools-3.01_alpha15.ebuild 4925 SHA256 8f04b161c1e3828696494e4a787c7f34cf3b958c8b255c141c4c98f49f77f2c7 SHA512 bf428057d09fd4dbbbd408e296cf60b6e1ef0f973862c815bb55a17738d74bc8d143fdc86c68267e9ec7de5acd2d41d68d0ad895284109b2e0c4093cb046bec3 WHIRLPOOL 1bf31a46f753fde2cf65eb3b525f29fc8ec538048867d9ea3ad67085eb4ec50bd8d6a0e3de1f7ff23ef46784e165f7627a8be6d31b20924cc23b687e57e01dab EBUILD cdrtools-3.01_alpha16.ebuild 4925 SHA256 feb8d7182ff7c024b525fb34a0bdbfe0288dd40d727c351f69da203470d1bb37 SHA512 95d9225d2270bd8944299a5a4a8559b99680f8d55fcbbb1b9c7bd800e47ea41f29aa3afe2932d4882fb071103bb2d17d89009fed88bd4b0d53512ecf6f6b8300 WHIRLPOOL 337204b9203c14d8d1adb900d6cfedf93b96c3172770b817c622858829efd2a7d8a50db1ef2807811fa3e0f43682e777013d9a091b832b04f8d61c07f75f3702 -MISC ChangeLog 47602 SHA256 c454d1499e1680eb976e67505c2b58f22f7f3fe0ec1ce8d2a8ca4be93d747a54 SHA512 7dd8a3ea6a71cded7ccb77b11db419cf6d0a43d72cca7b7498ca5c1330e060ee547f900f305759c85017596007a1eafc517f41b4e123021a772fb16bc6a839c5 WHIRLPOOL d1283e746244d99b294da49c5da2341e568a3af040a30723288c13782651b590d4c122ab9a5c6e9133b91105c88fed970daffb027c0d2ff588a0fb432a9d6513 +EBUILD cdrtools-3.01_alpha17.ebuild 4911 SHA256 cd6561c37db5fa8d4269771679bfd22911a548c43de0d651230ad4ebd9a51001 SHA512 b7e04be7c8eea9117680bbe5b0d71ece717ee580637a1506c8116c3922784021a0bbfeb53a3d692d4a1333a4e19156ecb71c87f06040bbab47a0d64ed275a292 WHIRLPOOL f93a8298bd4ea23d5ae5aa149012b917f1270bcec9a7c78e69c06ad5c0090649333ccab6a3020574d54e2de9026265dc798f5787fb2ef77d844fc102223a3d99 +MISC ChangeLog 47742 SHA256 22cfb9831c6cc087ed67968b512f303d13bac1266faaa410911a56e92132167a SHA512 ada56e8564459ed90eabff189cd61cdec99309629e105398ed46343d40d099fe8c79f69bc2bc02d52092b9eef486c2c6f178339e33ca3fcbc1c3289333bfacf6 WHIRLPOOL 3559934e942a3cb15eb600fb3bc04b9501bb7ef1844f8f95cefc8b90f50adc603019611deffae89bb912a9013afd6124698d2ca03990ace2599cefcef78ef282 MISC metadata.xml 344 SHA256 1827502e9d2cfa583db6a17f065462b760bf3770fcac22a0145d6a560b2b34f8 SHA512 0d461f000a4dd8557ec9020785c12c7875437c2061c3fd7f9cc54df089309dadf71435ac9d0f29bc5ee1785c9398661c78b1095b512b5fc91071dc63a818e567 WHIRLPOOL e27e3f17bcc9151f0f7c9a21a13c556e27a71499d613937a1eaa0176ad203c208e58b0af6f82edaed69ff929885c1f4b6f4fa15093a3d1a12b3f2a0c77e8bb86 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) -iEYEAREIAAYFAlHryS0ACgkQlcuUeyFa0U2fvwCfZ1nZ0oHPXDAcigj+LQMWHe2J -2JsAni3yCUAtnP9yV0QqLqD/tmgl8/QU -=OeAH +iEYEAREIAAYFAlIp/fEACgkQlcuUeyFa0U3AwgCg6403o+OmsDh4WOFgRy7V5SRk +h8UAoNpBmTtcIYzLnMCUtG81tAdFrSpH +=NWcv -----END PGP SIGNATURE----- diff --git a/app-cdr/cdrtools/cdrtools-3.01_alpha17.ebuild b/app-cdr/cdrtools/cdrtools-3.01_alpha17.ebuild new file mode 100644 index 000000000000..e38f9893625a --- /dev/null +++ b/app-cdr/cdrtools/cdrtools-3.01_alpha17.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_alpha17.ebuild,v 1.1 2013/09/06 16:08:16 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 armv5tel 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 +} |