mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
extra/x264 to 0.164.r3095.baee400-3
This commit is contained in:
parent
7e33b7dc41
commit
137fe9696f
1 changed files with 3 additions and 8 deletions
|
@ -9,18 +9,15 @@
|
|||
|
||||
pkgname=x264
|
||||
pkgver=0.164.r3095.baee400
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
epoch=3
|
||||
pkgdesc='Open Source H264/AVC video encoder'
|
||||
arch=(x86_64)
|
||||
url=https://www.videolan.org/developers/x264.html
|
||||
license=(GPL)
|
||||
depends=(
|
||||
liblsmash.so
|
||||
)
|
||||
depends=(liblsmash.so)
|
||||
makedepends=(
|
||||
git
|
||||
l-smash
|
||||
nasm
|
||||
)
|
||||
provides=(
|
||||
|
@ -43,13 +40,11 @@ sha256sums=(SKIP)
|
|||
|
||||
pkgver() {
|
||||
cd x264
|
||||
|
||||
./version.sh | grep X264_POINTVER | sed -r 's/^#define X264_POINTVER "([0-9]+\.[0-9]+)\.([0-9]+) (.*)"$/\1.r\2.\3/'
|
||||
}
|
||||
|
||||
build() {
|
||||
cd x264
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--enable-shared \
|
||||
|
@ -60,7 +55,7 @@ build() {
|
|||
}
|
||||
|
||||
package() {
|
||||
make -C x264 DESTDIR="${pkgdir}" install-cli install-lib-shared
|
||||
make -C x264 DESTDIR="${pkgdir}" BASHCOMPLETIONSDIR="/usr/share/bash-completion/completions" install-cli install-lib-shared install-bashcompletion
|
||||
}
|
||||
|
||||
# vim: ts=2 sw=2 et:
|
||||
|
|
Loading…
Reference in a new issue