mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
extra/x264 to 142.20140826-1
This commit is contained in:
parent
b3055246ed
commit
f6ec8ccdd3
1 changed files with 12 additions and 10 deletions
|
@ -8,15 +8,15 @@
|
|||
# - configure needs --disable-asm to build on ARM
|
||||
|
||||
pkgname=('x264' 'libx264' 'libx264-10bit')
|
||||
pkgver=142.20140311
|
||||
pkgrel=6
|
||||
pkgver=142.20140826
|
||||
pkgrel=1
|
||||
epoch=1
|
||||
arch=('i686' 'x86_64')
|
||||
url='http://www.videolan.org/developers/x264.html'
|
||||
license=('GPL')
|
||||
depends=('glibc')
|
||||
makedepends=('yasm' 'git' 'ffmpeg')
|
||||
source=(git://git.videolan.org/x264.git#commit=b7a50c16)
|
||||
source=(git://git.videolan.org/x264.git#commit=021c0dc6c95c)
|
||||
md5sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
|
@ -28,7 +28,6 @@ pkgver() {
|
|||
}
|
||||
|
||||
prepare() {
|
||||
sed -i 's/install-lib-dev$//g' $pkgname/Makefile
|
||||
cp -r $pkgname $pkgname-10bit
|
||||
}
|
||||
|
||||
|
@ -48,17 +47,20 @@ build() {
|
|||
package_x264() {
|
||||
pkgdesc='CLI tools for encoding H264/AVC video streams'
|
||||
depends=('glibc' 'ffmpeg')
|
||||
provides=('x264-dev' 'x264-10bit')
|
||||
conflicts=('x264-dev' 'x264-10bit')
|
||||
replaces=('x264-dev' 'x264-10bit')
|
||||
provides=('x264-10bit')
|
||||
conflicts=('x264-10bit')
|
||||
replaces=('x264-10bit')
|
||||
|
||||
make -C $pkgbase DESTDIR="$pkgdir" install-cli install-lib-dev
|
||||
make -C $pkgbase DESTDIR="$pkgdir" install-cli
|
||||
install -Dm755 $pkgbase-10bit/x264 "$pkgdir"/usr/bin/x264-10bit
|
||||
}
|
||||
|
||||
package_libx264() {
|
||||
pkgdesc='Library for encoding H264/AVC video streams'
|
||||
depends=('glibc')
|
||||
provides=('x264-dev')
|
||||
conflicts=('x264-dev')
|
||||
replaces=('x264-dev')
|
||||
|
||||
install -d "$pkgdir"/usr/lib
|
||||
make -C $pkgbase DESTDIR="$pkgdir" install-lib-shared
|
||||
|
@ -67,8 +69,8 @@ package_libx264() {
|
|||
package_libx264-10bit() {
|
||||
pkgdesc='Library for encoding H264/AVC video streams. 10bit-depth.'
|
||||
depends=('glibc')
|
||||
provides=('libx264')
|
||||
conflicts=('libx264')
|
||||
provides=('libx264' 'x264-dev')
|
||||
conflicts=('libx264' 'x264-dev')
|
||||
|
||||
install -d "$pkgdir"/usr/lib
|
||||
make -C $pkgbase-10bit DESTDIR="$pkgdir" install-lib-shared
|
||||
|
|
Loading…
Reference in a new issue