summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLlewelyn Trahaearn2019-01-21 14:37:04 -0800
committerLlewelyn Trahaearn2019-01-21 14:37:04 -0800
commit28f8a4b4e2d1d72f830103f487e461f5b4aaa8c2 (patch)
treec1e4068efede19191e7c902a25569bae9ce5a79a
parent7d6e4dfaad0eb7f6794613020ff386a48e6a38b6 (diff)
downloadaur-28f8a4b4e2d1d72f830103f487e461f5b4aaa8c2.tar.gz
Pin dependencies to commits for build reproducibility.
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD36
2 files changed, 28 insertions, 23 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7ba6b92c004..3f46cc9a6a8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -15,19 +15,18 @@ pkgbase = vsxu
depends = desktop-file-utils
depends = glew
depends = opencv
- depends = sdl2
depends = xdg-utils
optdepends = alsa-lib: ALSA support.
optdepends = jack: JACK support
optdepends = pulseaudio: PulseAudio support
source = vsxu::git+https://github.com/vovoid/vsxu#commit=5404800f9309f852b8fec6e40e90cb11fa0bbbf9
- source = dependencies::git+https://github.com/vovoid/vsxu-dependencies.git
- source = cal3d::git+https://github.com/vovoid/cal3d.git
- source = freetype2::git+https://github.com/vovoid/freetype2.git
- source = ftgl::git+https://github.com/vovoid/ftgl.git
- source = lodepng::git+https://github.com/vovoid/lodepng.git
- source = lzham-sdk::git+https://github.com/vovoid/lzham_codec.git
- source = lzma-sdk::git+https://github.com/vovoid/LZMA-SDK.git
+ source = dependencies::git+https://github.com/vovoid/vsxu-dependencies#commit=f0db876f0da43636ec9c25facbdd6a84771ef1fc
+ source = cal3d::git+https://github.com/vovoid/cal3d#commit=ce1a74f6638ff147ce9790c52f6c741bf8c8e342
+ source = freetype2::git+https://github.com/vovoid/freetype2#commit=f5f0a0ece4f299a465d130c6a98691112ebd30e9
+ source = ftgl::git+https://github.com/vovoid/ftgl#commit=bceab5929f62a8adf5ddf68401d45ebe790260da
+ source = lodepng::git+https://github.com/vovoid/lodepng#commit=c9e609b45606a257c4a258dbfbc46622efc2bfbe
+ source = lzham-sdk::git+https://github.com/vovoid/lzham_codec#commit=a2eb6567bfd87b319e6e4eb407bb84b0ba1c9670
+ source = lzma-sdk::git+https://github.com/vovoid/LZMA-SDK#commit=ca0d0199adea3677ba25cf9b086e89d5ecf76772
sha512sums = SKIP
sha512sums = SKIP
sha512sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 21483ada67d..d83b1806a51 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,21 +8,27 @@ pkgdesc="A free to use program that lets you create and perform real-time audio
arch=('i686' 'x86_64')
url="http://www.vsxu.com/"
license=('GPL' 'custom')
-depends=('desktop-file-utils' 'glew' 'opencv' 'sdl2' 'xdg-utils')
+depends=('desktop-file-utils' 'glew' 'opencv' 'xdg-utils')
makedepends=('alsa-lib' 'cmake' 'git' 'jack' 'pulseaudio')
-optdepends=(
- 'alsa-lib: ALSA support.'
- 'jack: JACK support'
- 'pulseaudio: PulseAudio support')
-_commit=5404800f9309f852b8fec6e40e90cb11fa0bbbf9 # tags/v0.6.3
-source=("${pkgname}::git+https://github.com/vovoid/vsxu#commit=$_commit"
- "dependencies::git+https://github.com/vovoid/vsxu-dependencies.git"
- "cal3d::git+https://github.com/vovoid/cal3d.git"
- "freetype2::git+https://github.com/vovoid/freetype2.git"
- "ftgl::git+https://github.com/vovoid/ftgl.git"
- "lodepng::git+https://github.com/vovoid/lodepng.git"
- "lzham-sdk::git+https://github.com/vovoid/lzham_codec.git"
- "lzma-sdk::git+https://github.com/vovoid/LZMA-SDK.git")
+optdepends=('alsa-lib: ALSA support.'
+ 'jack: JACK support'
+ 'pulseaudio: PulseAudio support')
+_vsxu_commit=5404800f9309f852b8fec6e40e90cb11fa0bbbf9 # tags/v0.6.3
+_dependencies_commit=f0db876f0da43636ec9c25facbdd6a84771ef1fc
+_cal3d_commit=ce1a74f6638ff147ce9790c52f6c741bf8c8e342
+_freetype2_commit=f5f0a0ece4f299a465d130c6a98691112ebd30e9
+_ftgl_commit=bceab5929f62a8adf5ddf68401d45ebe790260da
+_lodepng_commit=c9e609b45606a257c4a258dbfbc46622efc2bfbe
+_lzham_commit=a2eb6567bfd87b319e6e4eb407bb84b0ba1c9670
+_lzma_commit=ca0d0199adea3677ba25cf9b086e89d5ecf76772
+source=("${pkgname}::git+https://github.com/vovoid/vsxu#commit=$_vsxu_commit"
+ "dependencies::git+https://github.com/vovoid/vsxu-dependencies#commit=$_dependencies_commit"
+ "cal3d::git+https://github.com/vovoid/cal3d#commit=$_cal3d_commit"
+ "freetype2::git+https://github.com/vovoid/freetype2#commit=$_freetype2_commit"
+ "ftgl::git+https://github.com/vovoid/ftgl#commit=$_ftgl_commit"
+ "lodepng::git+https://github.com/vovoid/lodepng#commit=$_lodepng_commit"
+ "lzham-sdk::git+https://github.com/vovoid/lzham_codec#commit=$_lzham_commit"
+ "lzma-sdk::git+https://github.com/vovoid/LZMA-SDK#commit=$_lzma_commit")
sha512sums=('SKIP'
'SKIP'
'SKIP'
@@ -34,7 +40,7 @@ sha512sums=('SKIP'
prepare() {
cd "${pkgname}"
- [[ -d build ]] || mkdir build
+ mkdir -p build
git submodule init
git config submodule.dependencies.url "${srcdir}/dependencies"
git config submodule.lib/compression/thirdparty/lzma-sdk.url "${srcdir}/lzma-sdk"