summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandre Demers2018-11-03 16:39:52 -0400
committerAlexandre Demers2018-11-03 16:39:52 -0400
commita9d666f7528f1edbe04b4566d730b5eec898a250 (patch)
treead5d20516837d4464b49927dc4fc68bd76391b4e
parent2c403c3af2fab5f2fec11e01a61c8520ae804882 (diff)
downloadaur-a9d666f7528f1edbe04b4566d730b5eec898a250.tar.gz
Update to 4.0.3 and change src
Signed-off-by: Alexandre Demers <alexandre.f.demers@gmail.com>
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD22
2 files changed, 13 insertions, 18 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 57e8e73c850..b716486b5e9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = lib32-ffmpeg
pkgdesc = Complete solution to record, convert and stream audio and video (32 bit)
- pkgver = 4.0.2
- pkgrel = 2
+ pkgver = 4.0.3
+ pkgrel = 1
epoch = 1
url = http://ffmpeg.org/
arch = x86_64
@@ -50,6 +50,7 @@ pkgbase = lib32-ffmpeg
depends = lib32-libvorbis
depends = lib32-libvpx
depends = lib32-x264
+ depends = lib32-x265
depends = lib32-xvidcore
optdepends = lib32-ladspa: LADSPA filters
provides = libavcodec.so
@@ -61,10 +62,8 @@ pkgbase = lib32-ffmpeg
provides = libpostproc.so
provides = libswresample.so
provides = libswscale.so
- source = http://ffmpeg.org/releases/ffmpeg-4.0.2.tar.xz
- source = http://ffmpeg.org/releases/ffmpeg-4.0.2.tar.xz.asc
+ source = git+https://git.ffmpeg.org/ffmpeg.git#tag=n4.0.3
validpgpkeys = FCF986EA15E6E293A5644F10B4322F04D67658D8
- sha256sums = a95c0cc9eb990e94031d2183f2e6e444cc61c99f6f182d1575c433d62afb2f97
sha256sums = SKIP
pkgname = lib32-ffmpeg
diff --git a/PKGBUILD b/PKGBUILD
index 094b7fa68e1..6c747400227 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,8 +6,8 @@
_pkgbasename=ffmpeg
pkgname=lib32-$_pkgbasename
-pkgver=4.0.2
-pkgrel=2
+pkgver=4.0.3
+pkgrel=1
epoch=1
pkgdesc="Complete solution to record, convert and stream audio and video (32 bit)"
arch=('x86_64')
@@ -58,7 +58,7 @@ depends=("$_pkgbasename"
'lib32-libvorbis'
'lib32-libvpx'
'lib32-x264'
-# 'lib32-x265'
+ 'lib32-x265'
'lib32-xvidcore'
)
makedepends=('ffnvcodec-headers' 'lib32-ladspa' 'yasm')
@@ -68,23 +68,18 @@ provides=(
'libavresample.so' 'libavutil.so' 'libpostproc.so' 'libswresample.so'
'libswscale.so'
)
-source=(
- "http://ffmpeg.org/releases/$_pkgbasename-$pkgver.tar.xz"{,.asc}
-)
+source=("git+https://git.ffmpeg.org/ffmpeg.git#tag=n${pkgver}")
validpgpkeys=('FCF986EA15E6E293A5644F10B4322F04D67658D8')
-sha256sums=(
- 'a95c0cc9eb990e94031d2183f2e6e444cc61c99f6f182d1575c433d62afb2f97'
- 'SKIP'
-)
+sha256sums=('SKIP')
prepare() {
- cd ${_pkgbasename}-${pkgver}
+ cd ${_pkgbasename}
# Patching if needed
}
build() {
- cd ${_pkgbasename}-${pkgver}
+ cd ${_pkgbasename}
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
@@ -123,6 +118,7 @@ build() {
--enable-libvpx \
--enable-libwebp \
--enable-libx264 \
+ --enable-libx265 \
--enable-libxcb \
--enable-libxml2 \
--enable-libxvid \
@@ -144,7 +140,7 @@ build() {
}
package() {
- cd ${_pkgbasename}-${pkgver}
+ cd ${_pkgbasename}
make DESTDIR="${pkgdir}" install
rm -rf "$pkgdir"/usr/{include,share,bin}