uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
40
pkgs/applications/video/dvdauthor/default.nix
Normal file
40
pkgs/applications/video/dvdauthor/default.nix
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, imagemagick
|
||||
, libdvdread
|
||||
, libxml2
|
||||
, freetype
|
||||
, fribidi
|
||||
, libpng
|
||||
, zlib
|
||||
, pkg-config
|
||||
, flex
|
||||
, bison
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "dvdauthor";
|
||||
version = "0.7.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/dvdauthor/dvdauthor-${version}.tar.gz";
|
||||
sha256 = "1s8zqlim0s3hk5sbdsilip3qqh0yv05l1jwx49d9rsy614dv27sh";
|
||||
};
|
||||
|
||||
buildInputs = [ libpng freetype libdvdread libxml2 zlib fribidi imagemagick flex bison ];
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
patches = [
|
||||
./dvdauthor-0.7.1-automake-1.13.patch
|
||||
./dvdauthor-0.7.1-mga-strndup.patch
|
||||
./dvdauthor-imagemagick-0.7.0.patch
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tools for generating DVD files to be played on standalone DVD players";
|
||||
homepage = "http://dvdauthor.sourceforge.net/";
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
};
|
||||
}
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
--- dvdauthor/configure.ac~ 2013-01-04 08:27:40.713197029 +0800
|
||||
+++ dvdauthor/configure.ac 2013-01-04 08:27:53.273525273 +0800
|
||||
@@ -1,6 +1,6 @@
|
||||
AC_INIT(DVDAuthor,0.7.1,dvdauthor-users@lists.sourceforge.net)
|
||||
|
||||
-AM_CONFIG_HEADER(src/config.h)
|
||||
+AC_CONFIG_HEADERS(src/config.h)
|
||||
AC_CONFIG_AUX_DIR(autotools)
|
||||
|
||||
AM_INIT_AUTOMAKE
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
Index: dvdauthor/src/dvdvml.l
|
||||
===================================================================
|
||||
--- dvdauthor/src/dvdvml.l
|
||||
+++ dvdauthor/src/dvdvml.l 2014-09-14 19:36:05.098847465 +0000
|
||||
@@ -19,6 +19,7 @@
|
||||
* USA
|
||||
*/
|
||||
|
||||
+#include "config.h"
|
||||
#include "compat.h" /* needed for bool */
|
||||
#include "dvdvm.h"
|
||||
#include "dvdvmy.h"
|
||||
Index: dvdauthor/src/dvdvmy.y
|
||||
===================================================================
|
||||
--- dvdauthor/src/dvdvmy.y
|
||||
+++ dvdauthor/src/dvdvmy.y 2014-09-14 19:36:28.251618378 +0000
|
||||
@@ -19,6 +19,7 @@
|
||||
* USA
|
||||
*/
|
||||
|
||||
+#include "config.h"
|
||||
#include "compat.h" /* needed for bool */
|
||||
#include "dvdvm.h"
|
||||
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
--- dvdauthor/configure.ac.orig 2010-10-23 04:26:49.000000000 +0200
|
||||
+++ dvdauthor/configure.ac 2010-10-24 14:37:45.489064778 +0200
|
||||
@@ -31,7 +31,7 @@
|
||||
|
||||
usemagick=0
|
||||
|
||||
-AC_CHECK_PROGS(MAGICKCONFIG, [Magick-config])
|
||||
+AC_CHECK_PROGS(MAGICKCONFIG, [MagickCore-config])
|
||||
if test -n "$MAGICKCONFIG"; then
|
||||
ac_save_CPPFLAGS="$CPPFLAGS"
|
||||
ac_save_LIBS="$LIBS"
|
||||
Loading…
Add table
Add a link
Reference in a new issue