diff options
Diffstat (limited to 'main/libdvbpsi/APKBUILD')
-rw-r--r-- | main/libdvbpsi/APKBUILD | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/main/libdvbpsi/APKBUILD b/main/libdvbpsi/APKBUILD index 4ffb07f4c6..48a543ea14 100644 --- a/main/libdvbpsi/APKBUILD +++ b/main/libdvbpsi/APKBUILD @@ -9,14 +9,22 @@ license="GPL" depends= makedepends="" subpackages="$pkgname-dev" -source="http://download.videolan.org/pub/libdvbpsi/$pkgver/$pkgname-$pkgver.tar.bz2" +source="http://download.videolan.org/pub/libdvbpsi/$pkgver/$pkgname-$pkgver.tar.bz2 + fix-includes.patch + " _builddir="$srcdir/$pkgname-$pkgver" prepare() { cd "$_builddir" update_config_sub || return 1 + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done } + build() { cd "$_builddir" ./configure \ @@ -33,6 +41,9 @@ package() { make DESTDIR="$pkgdir" install || return 1 rm "$pkgdir"/usr/lib/*.la || return 1 } -md5sums="0c7c355201f325ea99c522d8ec97bf86 libdvbpsi-1.1.1.tar.bz2" -sha256sums="4e06fa581d9b3693682428bc4f8bb8df97151c9e57baae72322057d260c3e6fd libdvbpsi-1.1.1.tar.bz2" -sha512sums="d758b6e2181e991e450d5bbc8d9682535ec395c8db90704125b8ec6a3975d8f0239bf5d495454c9bb81e08e924ed3c18d408bbabee1da7e7ace9a3d0460feb32 libdvbpsi-1.1.1.tar.bz2" +md5sums="0c7c355201f325ea99c522d8ec97bf86 libdvbpsi-1.1.1.tar.bz2 +0f238bf0adb647785f466927d9c37d3d fix-includes.patch" +sha256sums="4e06fa581d9b3693682428bc4f8bb8df97151c9e57baae72322057d260c3e6fd libdvbpsi-1.1.1.tar.bz2 +0d0fdd1cf6e567558a1357d9e2e82124bfa273c3cd6c64fb70747660f52931fe fix-includes.patch" +sha512sums="d758b6e2181e991e450d5bbc8d9682535ec395c8db90704125b8ec6a3975d8f0239bf5d495454c9bb81e08e924ed3c18d408bbabee1da7e7ace9a3d0460feb32 libdvbpsi-1.1.1.tar.bz2 +f612bf80b07ec37a83477a37d78971c4bd4331eec86686a8bc7b247f43df2c047c89de419d5cef0b960de2032daedc81a4c380802c76b4dc081e1c09ad364dcb fix-includes.patch" |