[arch-commits] Commit in ssr/trunk (PKGBUILD reproducible.patch)
Jelle van der Waa
jelle at archlinux.org
Sat May 8 21:56:19 UTC 2021
Date: Saturday, May 8, 2021 @ 21:56:18
Author: jelle
Revision: 928915
Make ssr reproducible
Don't record the date as that isn't reproducible.
Added:
ssr/trunk/reproducible.patch
Modified:
ssr/trunk/PKGBUILD
--------------------+
PKGBUILD | 10 +++++++---
reproducible.patch | 12 ++++++++++++
2 files changed, 19 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-08 21:56:09 UTC (rev 928914)
+++ PKGBUILD 2021-05-08 21:56:18 UTC (rev 928915)
@@ -1,7 +1,7 @@
# Maintainer: David Runge <dave at sleepmap.de>
pkgname=ssr
pkgver=0.5.0
-pkgrel=3
+pkgrel=4
pkgdesc="A tool for real-time spatial audio reproduction"
arch=('x86_64')
url="http://spatialaudio.net/ssr/"
@@ -9,8 +9,10 @@
groups=('pro-audio')
depends=('fftw' 'glu' 'jack' 'qt5-base')
makedepends=('asio' 'ecasound' 'gendesk' 'help2man' 'qt5-tools')
-source=("https://github.com/SoundScapeRenderer/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('89234be15d4607278a7e91935300bd60aec3a4b21f006a54059ccbdba2e3eac48e2869f58172dd4569d188aad45b04f14516c49b157f44c04482656abd103dfe')
+source=("https://github.com/SoundScapeRenderer/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz"
+ reproducible.patch)
+sha512sums=('89234be15d4607278a7e91935300bd60aec3a4b21f006a54059ccbdba2e3eac48e2869f58172dd4569d188aad45b04f14516c49b157f44c04482656abd103dfe'
+ 'bb86b74d09963e51dac59bacc0ec2bdac9442898e9ade99c51bce9c4c4e039263c107d53f17019b8c8538aca6fe6155f805afff194deb275b45c52a76401f05a')
_name="SoundScape Renderer"
prepare() {
@@ -25,6 +27,8 @@
["${pkgname}-wfs"]="${_name} (Wave Field Synthesis): ${pkgdesc}"
)
cd "$pkgname-$pkgver"
+ patch -Np1 -i "${srcdir}"/reproducible.patch
+
autoreconf -vfi
for name in "${!descriptions[@]}"; do
gendesk -n \
Added: reproducible.patch
===================================================================
--- reproducible.patch (rev 0)
+++ reproducible.patch 2021-05-08 21:56:18 UTC (rev 928915)
@@ -0,0 +1,12 @@
+diff -aur ssr-0.5.0/configure.ac ssr-0.5.0.new/configure.ac
+--- ssr-0.5.0/configure.ac 2018-11-16 17:15:54.000000000 +0100
++++ ssr-0.5.0.new/configure.ac 2021-05-08 23:43:42.856785555 +0200
+@@ -16,7 +16,7 @@
+ dnl arguments: full package name, version, email address for bug reports,
+ dnl tarball name, homepage
+ AC_INIT([SSR (SoundScape Renderer)],
+- [m4_esyscmd_s([git describe 2> /dev/null || date +$USER%Y%m%d%H%M])],
++ [m4_esyscmd_s([git describe 2> /dev/null || echo "builduser"])],
+ [ssr at spatialaudio.net],
+ [ssr],
+ [http://spatialaudio.net/ssr/])
More information about the arch-commits
mailing list