2008-07-25 13:31:33 +02:00
|
|
|
{stdenv, fetchurl, cdrkit, m4}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "dvd+rw-tools-7.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://fy.chalmers.se/~appro/linux/DVD+RW/tools/dvd+rw-tools-7.1.tar.gz;
|
|
|
|
sha256 = "1jkjvvnjcyxpql97xjjx0kwvy70kxpiznr2zpjy2hhci5s10zmpq";
|
|
|
|
};
|
|
|
|
|
2017-01-05 10:33:20 +01:00
|
|
|
# Patches from Gentoo / Fedora
|
|
|
|
# https://bugs.gentoo.org/257360
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=426068
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=243036
|
|
|
|
patches = [
|
|
|
|
./dvd+rw-tools-7.0-dvddl.patch
|
|
|
|
./dvd+rw-tools-7.0-glibc2.6.90.patch
|
|
|
|
./dvd+rw-tools-7.0-wctomb.patch
|
|
|
|
./dvd+rw-tools-7.0-wexit.patch
|
|
|
|
./dvd+rw-tools-7.1-layerbreaksetup.patch
|
|
|
|
];
|
|
|
|
|
2008-07-25 13:31:33 +02:00
|
|
|
buildInputs = [cdrkit m4];
|
|
|
|
|
|
|
|
preBuild = ''
|
|
|
|
makeFlags="prefix=$out"
|
|
|
|
'';
|
2017-01-05 10:33:20 +01:00
|
|
|
|
2008-07-25 13:31:33 +02:00
|
|
|
# Incompatibility with Linux 2.6.23 headers, see
|
|
|
|
# http://www.mail-archive.com/cdwrite@other.debian.org/msg11464.html
|
|
|
|
NIX_CFLAGS_COMPILE = "-DINT_MAX=__INT_MAX__";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://fy.chalmers.se/~appro/linux/DVD+RW/tools;
|
|
|
|
description = "Tools for burning DVDs";
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2008-07-25 13:31:33 +02:00
|
|
|
};
|
|
|
|
}
|