Robin Candau pushed to branch main at Arch Linux / Packaging / Packages /
jsampler
Commits:
342b501e by Robin Candau at 2025-02-13T20:41:27+01:00
upgpkg: 0.9-10: Strip non-deterministic information from jar files (e.g.
timestamps) for reproducible builds
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = jsampler
pkgdesc = LinuxSampler Java GUI
pkgver = 0.9
- pkgrel = 9
+ pkgrel = 10
url = http://jsampler.sourceforge.net/
arch = any
groups = pro-audio
@@ -9,6 +9,7 @@ pkgbase = jsampler
makedepends = gendesk
makedepends = java-environment=8
makedepends = apache-ant
+ makedepends = strip-nondeterminism
depends = java-runtime=8
depends = linuxsampler
source = https://downloads.sourceforge.net/jsampler/JSampler-0.9.tar.bz2
=====================================
PKGBUILD
=====================================
@@ -5,14 +5,14 @@
pkgname=jsampler
_name=JSampler
pkgver=0.9
-pkgrel=9
+pkgrel=10
pkgdesc="LinuxSampler Java GUI"
arch=('any')
url="http://jsampler.sourceforge.net/"
license=('LGPL2.1')
groups=('pro-audio')
depends=('java-runtime=8' 'linuxsampler')
-makedepends=('gendesk' 'java-environment=8' 'apache-ant')
+makedepends=('gendesk' 'java-environment=8' 'apache-ant'
'strip-nondeterminism')
source=("https://downloads.sourceforge.net/${pkgname}/${_name}-${pkgver}.tar.bz2"
"${pkgname}.sh")
sha512sums=('cbb1d476b1f3882592cc0fb7a61348802c0c399dfc3fcc35f4a8ec3396e8417754cafc3e1a14a90b0014bebd29d28b9d3771dcbb772df40d241eaadedad5299f'
@@ -48,6 +48,11 @@ build() {
cd "${pkgname}-${pkgver}"
ant build-fantasia
ant build-jsclassic
+
+ # Strip non-deterministic information from jar files (e.g. timestamps)
+ # This is required for reproducible builds
+ find . -name "*.jar" -exec strip-nondeterminism {} +
+
}
package() {
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/jsampler/-/commit/342b501eb4ecfea9293bd58dddbebb5e3a3e50a6
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/jsampler/-/commit/342b501eb4ecfea9293bd58dddbebb5e3a3e50a6
You're receiving this email because of your account on gitlab.archlinux.org.