George Rawlinson pushed to branch main at Arch Linux / Packaging / Packages / libsidplayfp
Commits: a3632023 by George Rawlinson at 2024-06-25T13:57:54+12:00 upgpkg: 2.7.1-1 * New upstream release. * Update license to use SPDX reference. * Update source from sourceforge to github. * Update checksums from sha256 to sha512+b2. - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,15 +1,25 @@ pkgbase = libsidplayfp - pkgdesc = Library to play Commodore 64 music, derived from libsidplay2 - pkgver = 2.6.0 + pkgdesc = Library to play Commodore 64 music + pkgver = 2.7.1 pkgrel = 1 url = https://github.com/libsidplayfp/libsidplayfp arch = x86_64 - license = GPL + license = GPL-2.0-only + makedepends = git makedepends = vice makedepends = xa + depends = glibc + depends = gcc-libs depends = libgcrypt optdepends = vice: better SID support - source = https://downloads.sourceforge.net/project/sidplay-residfp/libsidplayfp/2.6/libsidplayfp-2.6.0.tar.gz - sha256sums = cc6bb9418ad3f64772c54c011552b113f8ef82f9820d74d4c2fed5976d4905e9 + source = libsidplayfp::git+https://github.com/libsidplayfp/libsidplayfp#tag=v2.7.1 + source = github.com-libsidplayfp-exsid-driver::git+https://github.com/libsidplayfp/exsid-driver + source = github.com-libsidplayfp-resid::git+https://github.com/libsidplayfp/resid + sha512sums = bd4f0f912fd6da65e1321fd6667144de0b1c8f5ffde7347ea564d108f28a92615699a099b121341f517ae757e5df9b4edebe62c706b88dc4abd1a2cdc1410df4 + sha512sums = SKIP + sha512sums = SKIP + b2sums = d808fc4f200a017995ae78960bf01ee2cb3f5a0628fa8c5eeca48ff2da0569e7b08b07880f38ffca52aba796f0c88c591b441a97d7ea5fb5c4422c9dd94b8d8e + b2sums = SKIP + b2sums = SKIP pkgname = libsidplayfp ===================================== PKGBUILD ===================================== @@ -1,29 +1,53 @@ -# Maintainer: +# Maintainer: George Rawlinson <grawlin...@archlinux.org> # Contributor: Alexander F. Rødseth <xypr...@archlinux.org> # Contributor: Gaetan Bisson <bis...@archlinux.org> # Contributor: Simon Perry <aur [at] sanxion [dot] net> # Contributor: Jonas Nyrén <jonas.nyren*mindkiller.com> pkgname=libsidplayfp -pkgver=2.6.0 +pkgver=2.7.1 pkgrel=1 -pkgdesc='Library to play Commodore 64 music, derived from libsidplay2' +pkgdesc='Library to play Commodore 64 music' +arch=('x86_64') url='https://github.com/libsidplayfp/libsidplayfp' -arch=(x86_64) -license=(GPL) -depends=(libgcrypt) -makedepends=(vice xa) +license=('GPL-2.0-only') +depends=('glibc' 'gcc-libs' 'libgcrypt') +makedepends=('git' 'vice' 'xa') optdepends=('vice: better SID support') -source=("https://downloads.sourceforge.net/project/sidplay-residfp/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.gz") -sha256sums=('cc6bb9418ad3f64772c54c011552b113f8ef82f9820d74d4c2fed5976d4905e9') +source=( + "$pkgname::git+$url#tag=v$pkgver" + 'github.com-libsidplayfp-exsid-driver::git+https://github.com/libsidplayfp/exsid-driver' + 'github.com-libsidplayfp-resid::git+https://github.com/libsidplayfp/resid' +) +sha512sums=('bd4f0f912fd6da65e1321fd6667144de0b1c8f5ffde7347ea564d108f28a92615699a099b121341f517ae757e5df9b4edebe62c706b88dc4abd1a2cdc1410df4' + 'SKIP' + 'SKIP') +b2sums=('d808fc4f200a017995ae78960bf01ee2cb3f5a0628fa8c5eeca48ff2da0569e7b08b07880f38ffca52aba796f0c88c591b441a97d7ea5fb5c4422c9dd94b8d8e' + 'SKIP' + 'SKIP') + +prepare() { + cd "$pkgname" + + # prepare git submodule(s) + git submodule init + git config submodule.src/builders/exsid-builder/driver.url "$srcdir/github.com-libsidplayfp-exsid-driver" + git config submodule.src/builders/resid-builder/resid.url "$srcdir/github.com-libsidplayfp-resid" + git -c protocol.file.allow=always submodule update +} build() { - cd $pkgname-$pkgver + cd "$pkgname" + + autoreconf -vfi + ./configure --prefix=/usr + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + make } package() { - DESTDIR="$pkgdir" make -C $pkgname-$pkgver install + DESTDIR="$pkgdir" make -C "$pkgname" install } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/libsidplayfp/-/commit/a3632023b995f359b11878927eb3fb4ba88aa852 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/libsidplayfp/-/commit/a3632023b995f359b11878927eb3fb4ba88aa852 You're receiving this email because of your account on gitlab.archlinux.org.