Date: Sunday, July 3, 2022 @ 09:19:06 Author: foxxx0 Revision: 1243740
upgpkg: dsp v1.8.r5.gf3ac94b-1 | update to git HEAD for ffmpeg 5 compat Upstream has added commits for fixing ffmpeg 5 compatibility but there is no new release yet. This package update switches to a git source and is pinned to the (current) git HEAD commit, that includes said ffmpeg 5 fixes. I've asked upstream for a new release in: https://github.com/bmc0/dsp/issues/64 Modified: dsp/trunk/PKGBUILD ----------+ PKGBUILD | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-07-03 09:14:53 UTC (rev 1243739) +++ PKGBUILD 2022-07-03 09:19:06 UTC (rev 1243740) @@ -4,18 +4,19 @@ # Contributor: sekret pkgname=dsp -pkgver=1.8 -pkgrel=3 +_commit='f3ac94b546361260349edeea5f1ee0ce7fac322a' +pkgver=v1.8.r5.gf3ac94b +pkgrel=1 pkgdesc="An audio processing program with an interactive mode" arch=('x86_64') url="https://github.com/bmc0/${pkgname}" license=('ISC') groups=('lasdpa-plugins') -makedepends=('ladspa') +makedepends=('git' 'ladspa') depends=( 'libmad' 'libtool' - #'ffmpeg' 'libavcodec.so' 'libavformat.so' 'libavutil.so' - 'ffmpeg4.4' + 'ffmpeg' 'libavcodec.so' 'libavformat.so' 'libavutil.so' + #'ffmpeg4.4' 'alsa-lib' 'libasound.so' 'fftw' 'libfftw3.so' 'libao' 'libao.so' @@ -26,18 +27,22 @@ optdepends=( 'ladspa-host: For the LADSPA plugin.' ) -source=("${pkgname}-${pkgver}.tar.gz::https://github.com/bmc0/${pkgname}/archive/v${pkgver}.tar.gz") -sha256sums=('b2ac432b830ffe9ddd8e3c45c781b3816cfe8d523921045b6acd108de2f1a689') +source=("git+https://github.com/bmc0/${pkgname}.git#commit=${_commit}") +sha256sums=('SKIP') +pkgver() { + cd "${pkgname}" + git describe --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} + build() { - cd "${srcdir}/${pkgname}-${pkgver}" - export PKG_CONFIG_PATH='/usr/lib/ffmpeg4.4/pkgconfig' + cd "${srcdir}/${pkgname}" ./configure --prefix=/usr make } package() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd "${srcdir}/${pkgname}" make DESTDIR="${pkgdir}" install install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" }
