mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +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>
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||||
# - configure needs --disable-asm to build on ARM
|
# - configure needs --disable-asm to build on ARM
|
||||||
|
|
||||||
pkgname=('x264' 'x264-10bit' 'x264-dev')
|
pkgname=('x264' 'libx264' 'libx264-10bit')
|
||||||
pkgver=142.20140311
|
pkgver=142.20140311
|
||||||
pkgrel=3
|
pkgrel=4
|
||||||
epoch=1
|
epoch=1
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
url='http://www.videolan.org/developers/x264.html'
|
url='http://www.videolan.org/developers/x264.html'
|
||||||
|
@ -46,26 +46,30 @@ build() {
|
||||||
}
|
}
|
||||||
|
|
||||||
package_x264() {
|
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')
|
depends=('glibc')
|
||||||
|
|
||||||
install -d "$pkgdir"/usr/lib
|
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.'
|
pkgdesc='Library for encoding H264/AVC video streams. 10bit-depth.'
|
||||||
depends=('glibc')
|
depends=('glibc')
|
||||||
provides=('x264')
|
provides=('libx264')
|
||||||
conflicts=('x264')
|
conflicts=('libx264')
|
||||||
|
|
||||||
install -d "$pkgdir"/usr/lib
|
install -d "$pkgdir"/usr/lib
|
||||||
make -C $pkgname DESTDIR="$pkgdir" install-cli install-lib-shared
|
make -C $pkgbase-10bit DESTDIR="$pkgdir" 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
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue