summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartchus2017-11-30 21:00:17 +0100
committerMartchus2017-11-30 21:00:52 +0100
commit912da2dc59b202b6b8e58f4f7913c3af24c634eb (patch)
tree045d297da274cdbee0e45f71e30fcdc606519a46
parente61d81bec9d0f2116010e3cd99ccf1a5ba8f6fe9 (diff)
downloadaur-912da2dc59b202b6b8e58f4f7913c3af24c634eb.tar.gz
Update to 4.0.0, adapt style from reular vlc pkg
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD30
-rwxr-xr-xupdate.sh1
3 files changed, 22 insertions, 22 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 40dfafe5cfc..54c5fe77fbe 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,10 @@
# Generated by mksrcinfo v8
-# Sun Nov 26 00:01:22 UTC 2017
+# Thu Nov 30 20:00:17 UTC 2017
pkgbase = vlc-nightly
- pkgdesc = A multi-platform MPEG, VCD/DVD, and DivX player - nightly snapshot
- pkgver = 3.0.0v20171125
+ pkgdesc = Multi-platform MPEG, VCD/DVD, and DivX player - nightly snapshot
+ pkgver = 4.0.0v20171130
pkgrel = 1
- url = http://www.videolan.org/vlc/
- arch = i686
+ url = https://www.videolan.org/vlc/
arch = x86_64
license = LGPL2.1
license = GPL2
@@ -101,11 +100,11 @@ pkgbase = vlc-nightly
conflicts = vlc
replaces = vlc-plugin
options = !emptydirs
- source = http://nightlies.videolan.org/build/source/vlc-3.0.0-20171125-0230-git.tar.xz
+ source = http://nightlies.videolan.org/build/source/vlc-4.0.0-20171130-0243-git.tar.xz
source = update-vlc-plugin-cache.hook
source = https://git.archlinux.org/svntogit/packages.git/plain/trunk/lua53_compat.patch?h=packages/vlc
source = find-deps.py
- sha256sums = 597c007c11234e615c290c407222eaca24bfaa96f2a42f42b4346ba19d01be9e
+ sha256sums = 8ccdd70f2ea7212142a3335a237c5c135a96aa09f92bd0d567ae0b9359ac7157
sha256sums = c6f60c50375ae688755557dbfc5bd4a90a8998f8cf4d356c10d872a1a0b44f3a
sha256sums = d1cb88a1037120ea83ef75b2a13039a16825516b776d71597d0e2eae5df2d8fa
sha256sums = 90b0e34d5772d2307ba07a1c2aa715db7488389003cfe6d3570b2a9c63061db7
diff --git a/PKGBUILD b/PKGBUILD
index a107a4043ec..3aae7ca2a0e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,16 +5,16 @@
_appname_=vlc
pkgname=${_appname_}-nightly
-pkgver=3.0.0v20171125
-_pkgver=3.0.0
-_snapshot_=20171125
-_snapver_=0230
+pkgver=4.0.0v20171130
+_pkgver=4.0.0
+_snapshot_=20171130
+_snapver_=0243
_nightly_=${_snapshot_}-${_snapver_}
pkgrel=1
-pkgdesc="A multi-platform MPEG, VCD/DVD, and DivX player - nightly snapshot"
-arch=("i686" "x86_64")
-url="http://www.videolan.org/vlc/"
-license=("LGPL2.1" "GPL2")
+pkgdesc='Multi-platform MPEG, VCD/DVD, and DivX player - nightly snapshot'
+url='https://www.videolan.org/vlc/'
+arch=('x86_64')
+license=('LGPL2.1' 'GPL2')
_undetected_depends=()
depends=('libmatroska' 'a52dec' 'sidplay2-libs' 'libfdk-aac' 'faad2' 'ffmpeg' 'libdca' 'daala-git' 'libdvbpsi'
'libdvdnav' 'libmad' 'libmpcdec' 'libmpeg2'
@@ -59,18 +59,18 @@ optdepends=('aalib: for ASCII art plugin'
conflicts=("${_appname_}-plugin" "${_appname_}")
provides=("${_appname_}")
replaces=("${_appname_}-plugin")
-options=("!emptydirs")
+options=('!emptydirs')
source=("http://nightlies.videolan.org/build/source/vlc-${_pkgver}-${_nightly_}-git.tar.xz"
'update-vlc-plugin-cache.hook'
'https://git.archlinux.org/svntogit/packages.git/plain/trunk/lua53_compat.patch?h=packages/vlc'
'find-deps.py')
pkgver() {
- printf 3.0.0v$_snapshot_
+ printf ${_pkgver}v$_snapshot_
}
prepare() {
- cd "${_appname_}-3.0.0-git"
+ cd "${_appname_}-${_pkgver}-git"
./bootstrap
@@ -80,7 +80,7 @@ prepare() {
}
build() {
- cd "${_appname_}-3.0.0-git"
+ cd "${_appname_}-${_pkgver}-git"
export CFLAGS+=" -I/usr/include/samba-4.0"
export CPPFLAGS+=" -I/usr/include/samba-4.0"
@@ -111,12 +111,12 @@ build() {
}
package() {
- cd "${_appname_}-3.0.0-git"
+ cd "${_appname_}-${_pkgver}-git"
make -i DESTDIR="${pkgdir}" install
for res in 16 32 48 128; do
- install -D -m644 "${srcdir}/${_appname_}-3.0.0-git/share/icons/${res}x${res}/${_appname_}.png" \
+ install -D -m644 "${srcdir}/${_appname_}-${_pkgver}-git/share/icons/${res}x${res}/${_appname_}.png" \
"${pkgdir}/usr/share/icons/hicolor/${res}x${res}/apps/${_appname_}.png"
done
@@ -130,7 +130,7 @@ package() {
# depends=("${_detected_depends[@]}" "${_undetected_depends[@]}")
}
-sha256sums=('597c007c11234e615c290c407222eaca24bfaa96f2a42f42b4346ba19d01be9e'
+sha256sums=('8ccdd70f2ea7212142a3335a237c5c135a96aa09f92bd0d567ae0b9359ac7157'
'c6f60c50375ae688755557dbfc5bd4a90a8998f8cf4d356c10d872a1a0b44f3a'
'd1cb88a1037120ea83ef75b2a13039a16825516b776d71597d0e2eae5df2d8fa'
'90b0e34d5772d2307ba07a1c2aa715db7488389003cfe6d3570b2a9c63061db7')
diff --git a/update.sh b/update.sh
index 1fd3691ef71..e897502e913 100755
--- a/update.sh
+++ b/update.sh
@@ -60,3 +60,4 @@ awk \
}
' \
'PKGBUILD.bak' > 'PKGBUILD'
+git diff 'PKGBUILD'