Date: Tuesday, February 7, 2017 @ 16:59:04 Author: arojas Revision: 288202
archrelease: copy trunk to staging-i686, staging-x86_64 Added: dvdauthor/repos/staging-i686/ dvdauthor/repos/staging-i686/PKGBUILD (from rev 288201, dvdauthor/trunk/PKGBUILD) dvdauthor/repos/staging-i686/dvdauthor-fix-build.patch (from rev 288201, dvdauthor/trunk/dvdauthor-fix-build.patch) dvdauthor/repos/staging-x86_64/ dvdauthor/repos/staging-x86_64/PKGBUILD (from rev 288201, dvdauthor/trunk/PKGBUILD) dvdauthor/repos/staging-x86_64/dvdauthor-fix-build.patch (from rev 288201, dvdauthor/trunk/dvdauthor-fix-build.patch) ------------------------------------------+ staging-i686/PKGBUILD | 38 +++++++++++++++++++++++++++++ staging-i686/dvdauthor-fix-build.patch | 26 +++++++++++++++++++ staging-x86_64/PKGBUILD | 38 +++++++++++++++++++++++++++++ staging-x86_64/dvdauthor-fix-build.patch | 26 +++++++++++++++++++ 4 files changed, 128 insertions(+) Copied: dvdauthor/repos/staging-i686/PKGBUILD (from rev 288201, dvdauthor/trunk/PKGBUILD) =================================================================== --- staging-i686/PKGBUILD (rev 0) +++ staging-i686/PKGBUILD 2017-02-07 16:59:04 UTC (rev 288202) @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: Giovanni Scafora <giova...@archlinux.org> +# Contributor: Travis Willard <trav...@wmpub.ca> +# Contributor: Jaroslaw Swierczynski <swier...@juvepoland.com> +# Contributor: Nicolai Lissner <nlis...@linux01.gwdg.de> + +pkgname=dvdauthor +pkgver=0.7.1 +pkgrel=9 +pkgdesc="DVD authoring tools" +arch=('i686' 'x86_64') +url="http://dvdauthor.sourceforge.net/" +license=('GPL') +depends=('libdvdread' 'imagemagick' 'libxml2' 'libpng' 'fribidi') +options=('!makeflags') +source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz" dvdauthor-fix-build.patch) +md5sums=('2694a5a3ef460106ea3caf0f7f60ff80' + '3ac58688085e7a1a503d1f895dfce718') + +prepare() { + cd $pkgname + # Fix build (Debian) + patch -p1 -i ../dvdauthor-fix-build.patch +} + +build() { + cd "${srcdir}/${pkgname}" + + ./configure --prefix=/usr \ + --sysconfdir=/etc + make +} + +package() { + cd "${srcdir}/${pkgname}" + + make DESTDIR="${pkgdir}" install +} Copied: dvdauthor/repos/staging-i686/dvdauthor-fix-build.patch (from rev 288201, dvdauthor/trunk/dvdauthor-fix-build.patch) =================================================================== --- staging-i686/dvdauthor-fix-build.patch (rev 0) +++ staging-i686/dvdauthor-fix-build.patch 2017-02-07 16:59:04 UTC (rev 288202) @@ -0,0 +1,26 @@ +Description: Fix for #807657 -- missing include "config.h" +Author: Tobias Frost <t...@frost.de> +Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=807657 +Last-Update: 2016-01-07 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- a/src/compat.h ++++ b/src/compat.h +@@ -1,6 +1,8 @@ + // basic headers + #define _GNU_SOURCE /* really just for strndup */ + ++#include "config.h" ++ + #ifdef HAVE_STDBOOL_H + # include <stdbool.h> + #else +@@ -17,6 +19,7 @@ + # define __bool_true_false_are_defined 1 + #endif + ++ + #include <stdio.h> + + #ifdef HAVE_STDLIB_H + Copied: dvdauthor/repos/staging-x86_64/PKGBUILD (from rev 288201, dvdauthor/trunk/PKGBUILD) =================================================================== --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2017-02-07 16:59:04 UTC (rev 288202) @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: Giovanni Scafora <giova...@archlinux.org> +# Contributor: Travis Willard <trav...@wmpub.ca> +# Contributor: Jaroslaw Swierczynski <swier...@juvepoland.com> +# Contributor: Nicolai Lissner <nlis...@linux01.gwdg.de> + +pkgname=dvdauthor +pkgver=0.7.1 +pkgrel=9 +pkgdesc="DVD authoring tools" +arch=('i686' 'x86_64') +url="http://dvdauthor.sourceforge.net/" +license=('GPL') +depends=('libdvdread' 'imagemagick' 'libxml2' 'libpng' 'fribidi') +options=('!makeflags') +source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz" dvdauthor-fix-build.patch) +md5sums=('2694a5a3ef460106ea3caf0f7f60ff80' + '3ac58688085e7a1a503d1f895dfce718') + +prepare() { + cd $pkgname + # Fix build (Debian) + patch -p1 -i ../dvdauthor-fix-build.patch +} + +build() { + cd "${srcdir}/${pkgname}" + + ./configure --prefix=/usr \ + --sysconfdir=/etc + make +} + +package() { + cd "${srcdir}/${pkgname}" + + make DESTDIR="${pkgdir}" install +} Copied: dvdauthor/repos/staging-x86_64/dvdauthor-fix-build.patch (from rev 288201, dvdauthor/trunk/dvdauthor-fix-build.patch) =================================================================== --- staging-x86_64/dvdauthor-fix-build.patch (rev 0) +++ staging-x86_64/dvdauthor-fix-build.patch 2017-02-07 16:59:04 UTC (rev 288202) @@ -0,0 +1,26 @@ +Description: Fix for #807657 -- missing include "config.h" +Author: Tobias Frost <t...@frost.de> +Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=807657 +Last-Update: 2016-01-07 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- a/src/compat.h ++++ b/src/compat.h +@@ -1,6 +1,8 @@ + // basic headers + #define _GNU_SOURCE /* really just for strndup */ + ++#include "config.h" ++ + #ifdef HAVE_STDBOOL_H + # include <stdbool.h> + #else +@@ -17,6 +19,7 @@ + # define __bool_true_false_are_defined 1 + #endif + ++ + #include <stdio.h> + + #ifdef HAVE_STDLIB_H +