diff options
Diffstat (limited to 'extra/lsdvd')
-rw-r--r-- | extra/lsdvd/PKGBUILD | 23 | ||||
-rw-r--r-- | extra/lsdvd/stdint_usage.patch | 22 |
2 files changed, 45 insertions, 0 deletions
diff --git a/extra/lsdvd/PKGBUILD b/extra/lsdvd/PKGBUILD new file mode 100644 index 000000000..939311c72 --- /dev/null +++ b/extra/lsdvd/PKGBUILD @@ -0,0 +1,23 @@ +# $Id: PKGBUILD 39761 2009-05-21 11:31:55Z jgc $ +# Maintainer: Aaron Griffin <aaron@archlinux.org> + +pkgname=lsdvd +pkgver=0.16 +pkgrel=4 +pkgdesc="lsdvd is a C application for reading the contents of a DVD and printing the contents to your terminal" +arch=(i686 x86_64) +url="http://untrepid.com/acidrip/lsdvd.html" +depends=('libdvdread>=4.1.3') +license=('GPL2') +#Special thanks to Mathieu Clabaut <mathieu.clabaut@gmail.com> for patches +source=(http://downloads.sourceforge.net/lsdvd/${pkgname}-${pkgver}.tar.gz + stdint_usage.patch) +md5sums=('340e1abe5c5e5abf7ff8031e78f49ee7' '6cbcbfde873f894bd3c784f65141b2fc') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + patch -Np1 -i "${srcdir}/stdint_usage.patch" || return 1 + ./configure --prefix=/usr --mandir=/usr/share/man || return 1 + make || return 1 + make DESTDIR="${pkgdir}" install || return 1 +} diff --git a/extra/lsdvd/stdint_usage.patch b/extra/lsdvd/stdint_usage.patch new file mode 100644 index 000000000..67b9ee82d --- /dev/null +++ b/extra/lsdvd/stdint_usage.patch @@ -0,0 +1,22 @@ +--- a/lsdvd.c 2006-03-02 07:48:11.000000000 -0600 ++++ b/lsdvd.c 2007-09-27 19:15:28.000000000 -0500 +@@ -13,6 +13,7 @@ + * 2003-04-19 Cleanups get_title_name, added dvdtime2msec, added helper macros, + * output info structures in form of a Perl module, by Henk Vergonet. + */ ++#include <stdint.h> + #include <dvdread/ifo_read.h> + #include <string.h> + #include <sys/stat.h> +--- a/configure 2005-12-12 14:22:45.000000000 -0600 ++++ b/configure 2007-09-27 19:15:13.000000000 -0500 +@@ -2887,8 +2887,8 @@ + cat confdefs.h >>conftest.$ac_ext + cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ +-#include <dvdread/ifo_read.h> + #include <stdint.h> ++#include <dvdread/ifo_read.h> + int + main () + { |