diff options
author | Pacho Ramos <pacho@gentoo.org> | 2016-08-18 19:33:26 +0200 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2016-08-18 19:33:26 +0200 |
commit | 8f2938a48efdf12e2c766c2f7ea64b4de765466f (patch) | |
tree | 7507f190d4e05d5285f39316d351a475abbfb289 /app-cdr/dvd+rw-tools/dvd+rw-tools-7.1-r3.ebuild | |
parent | www-apache/mod_auth_kerb: Properly provide and apply Fedora patches (#327445) (diff) | |
download | gentoo-8f2938a48efdf12e2c766c2f7ea64b4de765466f.tar.gz gentoo-8f2938a48efdf12e2c766c2f7ea64b4de765466f.tar.bz2 gentoo-8f2938a48efdf12e2c766c2f7ea64b4de765466f.zip |
app-cdr/dvd+rw-tools: Apply more Fedora patches fixing more bugs (#230648 also)
Package-Manager: portage-2.3.0
Diffstat (limited to 'app-cdr/dvd+rw-tools/dvd+rw-tools-7.1-r3.ebuild')
-rw-r--r-- | app-cdr/dvd+rw-tools/dvd+rw-tools-7.1-r3.ebuild | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/app-cdr/dvd+rw-tools/dvd+rw-tools-7.1-r3.ebuild b/app-cdr/dvd+rw-tools/dvd+rw-tools-7.1-r3.ebuild new file mode 100644 index 000000000000..4db857243362 --- /dev/null +++ b/app-cdr/dvd+rw-tools/dvd+rw-tools-7.1-r3.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit toolchain-funcs + +DESCRIPTION="A set of tools for DVD+RW/-RW drives" +HOMEPAGE="http://fy.chalmers.se/~appro/linux/DVD+RW/" +SRC_URI="http://fy.chalmers.se/~appro/linux/DVD+RW/tools/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux" +IUSE="" + +RDEPEND="virtual/cdrtools" +DEPEND="${RDEPEND} + sys-devel/m4" + +PATCHES=( + "${FILESDIR}"/${PN}-7.0-sysmacros.patch + "${FILESDIR}"/${PN}-7.0-wctomb-r1.patch + "${FILESDIR}"/${PN}-7.0-glibc2.6.90.patch + "${FILESDIR}"/${PN}-7.0-dvddl-r1.patch + "${FILESDIR}"/${PN}-7.0-wexit.patch + "${FILESDIR}"/${PN}-7.0-reload.patch + "${FILESDIR}"/${PN}-7.1-noevent.patch + "${FILESDIR}"/${PN}-7.1-lastshort.patch + "${FILESDIR}"/${PN}-7.1-bluray_srm+pow.patch + "${FILESDIR}"/${PN}-7.1-bluray_pow_freespace.patch +) + +src_prepare() { + # Linux compiler flags only include -O2 and are incremental. + sed -i '/FLAGS/s:-O2::' Makefile.m4 || die "failed to sed out FLAGS" + default +} + +src_compile() { + emake SHELL="${EPREFIX}"/bin/bash CC="$(tc-getCC)" CXX="$(tc-getCXX)" +} + +src_install() { + emake SHELL="${EPREFIX}"/bin/bash prefix="${ED}/usr" install + dodoc index.html +} + +pkg_postinst() { + if [[ -z "${REPLACING_VERSIONS}" ]] ; then + elog 'If you receive an error, "unable to anonymously mmap...' + elog 'Resource temporarily unavailable" when running growisofs,' + elog 'then you may need to run "ulimit -l unlimited".' + fi +} |