diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-12-29 15:47:04 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-12-29 15:47:04 +0000 |
commit | a0d7c519573a6096cffdf331902cbc5bd362e660 (patch) | |
tree | 8b411e5b4d4faca664785e5531e6c1577ec3f5b2 | |
parent | e027c0d8a08e8744ddb3321c9728325ebe7fe54e (diff) | |
download | packages-a0d7c519573a6096cffdf331902cbc5bd362e660.tar.gz packages-a0d7c519573a6096cffdf331902cbc5bd362e660.tar.bz2 packages-a0d7c519573a6096cffdf331902cbc5bd362e660.tar.xz packages-a0d7c519573a6096cffdf331902cbc5bd362e660.zip |
user/x264: fix source URL, bump to 20191105
-rw-r--r-- | user/x264/APKBUILD | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/user/x264/APKBUILD b/user/x264/APKBUILD index 4c8b772a0..c7c18cb67 100644 --- a/user/x264/APKBUILD +++ b/user/x264/APKBUILD @@ -1,29 +1,28 @@ # Maintainer: pkgname=x264 -pkgver=20170930 +pkgver=20191105 pkgrel=0 pkgdesc="Library for encoding H264/AVC video streams" url="https://www.videolan.org/developers/x264.html" arch="all" -license="GPL-2.0+" options="textrels" +license="GPL-2.0+" +depends="" makedepends="bash coreutils libx11-dev perl" case $CTARGET_ARCH in x86_64) makedepends="$makedepends yasm";; esac subpackages="$pkgname-dev $pkgname-libs" -source="ftp://ftp.videolan.org/pub/x264/snapshots/x264-snapshot-$pkgver-2245-stable.tar.bz2" +source="https://download.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-$pkgver-2245-stable.tar.bz2" builddir="$srcdir/$pkgname-snapshot-$pkgver-2245-stable" build() { - cd "$builddir" - - local asmopts= + _asmopts="" case "$CARCH" in # ppc requires AltiVec, we run on G3s - ppc | pmmx) asmopts="--disable-asm" ;; + ppc | pmmx) _asmopts="--disable-asm" ;; # VSX was added in power8 - ppc64) asmopts="--disable-vsx" ;; + ppc64) _asmopts="--disable-vsx" ;; esac # note: not autotools @@ -33,24 +32,20 @@ build() { --prefix=/usr \ --enable-shared \ --enable-static \ - $asmopts \ + $_asmopts \ --enable-pic \ --extra-cflags=-fno-aggressive-loop-optimizations make } check() { - cd "$builddir" - ./x264 --version } package() { - cd "$builddir" - make DESTDIR="$pkgdir" \ bindir=/usr/bin libdir=/usr/lib includedir=/usr/include \ install } -sha512sums="7f0d33f2955dbc8958ad739cfe69b9083ea376d21a4af469a6a44c8db8089859cf0a94018a1cdea49ce4c3b4a1b635cc304208d0492d901fd99a1337ac2c5d57 x264-snapshot-20170930-2245-stable.tar.bz2" +sha512sums="5a5bc2bd322af8544a6e7d89d6c56d1b609f8a69e177b20964fda1b5c8ad3a0ca77ff00b8ec47412a0c069afac677300c1d26aaaa704cf9be93df27f189171d3 x264-snapshot-20191105-2245-stable.tar.bz2" |