extra/x264 to 0.164.r3095.baee400-3

This commit is contained in:
Kevin Mihelich 2022-08-23 12:40:09 +00:00
parent 7e33b7dc41
commit 137fe9696f

View file

@ -9,18 +9,15 @@
pkgname=x264 pkgname=x264
pkgver=0.164.r3095.baee400 pkgver=0.164.r3095.baee400
pkgrel=2 pkgrel=3
epoch=3 epoch=3
pkgdesc='Open Source H264/AVC video encoder' pkgdesc='Open Source H264/AVC video encoder'
arch=(x86_64) arch=(x86_64)
url=https://www.videolan.org/developers/x264.html url=https://www.videolan.org/developers/x264.html
license=(GPL) license=(GPL)
depends=( depends=(liblsmash.so)
liblsmash.so
)
makedepends=( makedepends=(
git git
l-smash
nasm nasm
) )
provides=( provides=(
@ -43,13 +40,11 @@ sha256sums=(SKIP)
pkgver() { pkgver() {
cd x264 cd x264
./version.sh | grep X264_POINTVER | sed -r 's/^#define X264_POINTVER "([0-9]+\.[0-9]+)\.([0-9]+) (.*)"$/\1.r\2.\3/' ./version.sh | grep X264_POINTVER | sed -r 's/^#define X264_POINTVER "([0-9]+\.[0-9]+)\.([0-9]+) (.*)"$/\1.r\2.\3/'
} }
build() { build() {
cd x264 cd x264
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--enable-shared \ --enable-shared \
@ -60,7 +55,7 @@ build() {
} }
package() { 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: # vim: ts=2 sw=2 et: