diff options
author | James Meyer <james.meyer@operamail.com> | 2010-11-10 23:13:08 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2010-11-10 23:13:08 (GMT) |
commit | 88c1b84963b442a1d39d8193ce72d17e297f006f (patch) | |
tree | 707179173751bff29a018a403dbed4923db47985 /abs/extra/libdvdnav | |
parent | bf347ccc26e6d65950cea72b1990dbf8c9fe98c1 (diff) | |
parent | 7921961814dea89fbf846d06095afd207c8dfd23 (diff) | |
download | linhes_pkgbuild-88c1b84963b442a1d39d8193ce72d17e297f006f.zip linhes_pkgbuild-88c1b84963b442a1d39d8193ce72d17e297f006f.tar.gz linhes_pkgbuild-88c1b84963b442a1d39d8193ce72d17e297f006f.tar.bz2 |
Merge branch 'testing' of ssh://linhes.org/mount/repository/linhes_pkgbuild into testing
Diffstat (limited to 'abs/extra/libdvdnav')
-rw-r--r-- | abs/extra/libdvdnav/PKGBUILD | 26 | ||||
-rw-r--r-- | abs/extra/libdvdnav/deadlock.patch | 17 |
2 files changed, 34 insertions, 9 deletions
diff --git a/abs/extra/libdvdnav/PKGBUILD b/abs/extra/libdvdnav/PKGBUILD index 4e9e3ca..67c56e4 100644 --- a/abs/extra/libdvdnav/PKGBUILD +++ b/abs/extra/libdvdnav/PKGBUILD @@ -1,22 +1,30 @@ -# $Id: PKGBUILD 927 2008-04-24 21:34:43Z jgc $ +# $Id: PKGBUILD 69820 2010-02-22 22:23:44Z giovanni $ # Maintainer: arjan <arjan@archlinux.org> # contributor Sarah Hay <sarahhay@mb.sympatico.ca> pkgname=libdvdnav -pkgver=0.1.10 -pkgrel=3 +pkgver=4.1.3 +pkgrel=2 pkgdesc="The library for xine-dvdnav plugin." arch=(i686 x86_64) license=('GPL') -url="http://dvd.sourceforge.net/index.shtml" -depends=('glibc') +url="http://www.mplayerhq.hu/MPlayer/releases/dvdnav/" +depends=('libdvdread>=4.1.3') options=(!libtool) -source=(http://downloads.sourceforge.net/sourceforge/dvd/${pkgname}-${pkgver}.tar.gz) -md5sums=('c8ddee96ba1182d73447eaf0bb6fde81') +source=(http://www.mplayerhq.hu/MPlayer/releases/dvdnav/${pkgname}-${pkgver}.tar.bz2 + deadlock.patch) +md5sums=('d62383c45b28816771e283515f2c27fa' + '864529165a1136ae4c1ccbc7b43cdb1a') build() { - cd ${startdir}/src/${pkgname}-${pkgver} + cd "${srcdir}/${pkgname}-${pkgver}" + + patch -Np1 -i ${srcdir}/deadlock.patch || return 1 + ./autogen.sh --prefix=/usr || return 1 make || return 1 - make DESTDIR=${startdir}/pkg install || return 1 + make DESTDIR="${pkgdir}" install || return 1 } + +md5sums=('d62383c45b28816771e283515f2c27fa' + 'd26d9ab9d705e4e3fa16e0592ad33c79') diff --git a/abs/extra/libdvdnav/deadlock.patch b/abs/extra/libdvdnav/deadlock.patch new file mode 100644 index 0000000..2a58240 --- /dev/null +++ b/abs/extra/libdvdnav/deadlock.patch @@ -0,0 +1,17 @@ +--- a/src/dvdnav.c 2009-11-08 16:58:25.000000000 +0300 ++++ b/src/dvdnav.c 2009-11-08 16:58:52.000000000 +0300 +@@ -180,12 +180,13 @@ + pthread_mutex_unlock(&this->vm_lock); + return DVDNAV_STATUS_ERR; + } ++ pthread_mutex_unlock(&this->vm_lock); ++ + #ifdef LOG_DEBUG + fprintf(MSG_OUT, "libdvdnav: clearing dvdnav\n"); + #endif + result = dvdnav_clear(this); + +- pthread_mutex_unlock(&this->vm_lock); + return result; + } + |