mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
extra/x264 to 142.20140311-4
This commit is contained in:
parent
3a7688dada
commit
055fe672b8
1 changed files with 19 additions and 15 deletions
|
@ -7,9 +7,9 @@
|
|||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - configure needs --disable-asm to build on ARM
|
||||
|
||||
pkgname=('x264' 'x264-10bit' 'x264-dev')
|
||||
pkgname=('x264' 'libx264' 'libx264-10bit')
|
||||
pkgver=142.20140311
|
||||
pkgrel=3
|
||||
pkgrel=4
|
||||
epoch=1
|
||||
arch=('i686' 'x86_64')
|
||||
url='http://www.videolan.org/developers/x264.html'
|
||||
|
@ -46,26 +46,30 @@ build() {
|
|||
}
|
||||
|
||||
package_x264() {
|
||||
pkgdesc='Library for encoding H264/AVC video streams'
|
||||
pkgdesc='CLI tools for encoding H264/AVC video streams.'
|
||||
depends=('glibc' 'libx264')
|
||||
provides=('x264-dev' 'x264-10bit')
|
||||
conflicts=('x264-dev' 'x264-10bit')
|
||||
replaces=('x264-dev' 'x264-10bit')
|
||||
|
||||
make -C $pkgbase DESTDIR="$pkgdir" install-cli install-lib-dev
|
||||
install -Dm755 $pkgbase-10bit/x264 "$pkgdir"/usr/bin/x264-10bit
|
||||
}
|
||||
|
||||
package_libx264() {
|
||||
pkgdesc='Library for encoding H264/AVC video streams.'
|
||||
depends=('glibc')
|
||||
|
||||
install -d "$pkgdir"/usr/lib
|
||||
make -C $pkgname DESTDIR="$pkgdir" install-cli install-lib-shared
|
||||
make -C $pkgbase DESTDIR="$pkgdir" install-lib-shared
|
||||
}
|
||||
|
||||
package_x264-10bit() {
|
||||
package_libx264-10bit() {
|
||||
pkgdesc='Library for encoding H264/AVC video streams. 10bit-depth.'
|
||||
depends=('glibc')
|
||||
provides=('x264')
|
||||
conflicts=('x264')
|
||||
provides=('libx264')
|
||||
conflicts=('libx264')
|
||||
|
||||
install -d "$pkgdir"/usr/lib
|
||||
make -C $pkgname DESTDIR="$pkgdir" install-cli install-lib-shared
|
||||
}
|
||||
|
||||
package_x264-dev() {
|
||||
pkgdesc='Development files for library for encoding H264/AVC video streams'
|
||||
depends=('x264')
|
||||
|
||||
make -C $pkgbase DESTDIR="$pkgdir" install-lib-dev
|
||||
make -C $pkgbase-10bit DESTDIR="$pkgdir" install-lib-shared
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue