[arch-commits] Commit in dsp/repos/community-x86_64 (PKGBUILD PKGBUILD)

Thore Bödecker foxxx0 at gemini.archlinux.org
Sun Jul 3 09:19:10 UTC 2022


    Date: Sunday, July 3, 2022 @ 09:19:10
  Author: foxxx0
Revision: 1243741

archrelease: copy trunk to community-x86_64

Added:
  dsp/repos/community-x86_64/PKGBUILD
    (from rev 1243740, dsp/trunk/PKGBUILD)
Deleted:
  dsp/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   91 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 48 insertions(+), 43 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-07-03 09:19:06 UTC (rev 1243740)
+++ PKGBUILD	2022-07-03 09:19:10 UTC (rev 1243741)
@@ -1,43 +0,0 @@
-# Maintainer: Thore Bödecker <foxxx0 at archlinux.org>
-# Contributor: Lauri Niskanen <ape at ape3000.com>
-# Contributor: Michael Barbour <barbour.michael.0 at gmail.com>
-# Contributor: sekret
-
-pkgname=dsp
-pkgver=1.8
-pkgrel=3
-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')
-depends=(
-  'libmad' 'libtool'
-  #'ffmpeg' 'libavcodec.so' 'libavformat.so' 'libavutil.so'
-  'ffmpeg4.4'
-  'alsa-lib' 'libasound.so'
-  'fftw' 'libfftw3.so'
-  'libao' 'libao.so'
-  'libpulse' 'libpulse.so' 'libpulse-simple.so'
-  'libsndfile' 'libsndfile.so'
-  'zita-convolver' 'libzita-convolver.so'
-)
-optdepends=(
-  'ladspa-host: For the LADSPA plugin.'
-)
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/bmc0/${pkgname}/archive/v${pkgver}.tar.gz")
-sha256sums=('b2ac432b830ffe9ddd8e3c45c781b3816cfe8d523921045b6acd108de2f1a689')
-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  export PKG_CONFIG_PATH='/usr/lib/ffmpeg4.4/pkgconfig'
-  ./configure --prefix=/usr
-  make
-}
-
-package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  make DESTDIR="${pkgdir}" install
-  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}

Copied: dsp/repos/community-x86_64/PKGBUILD (from rev 1243740, dsp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-07-03 09:19:10 UTC (rev 1243741)
@@ -0,0 +1,48 @@
+# Maintainer: Thore Bödecker <foxxx0 at archlinux.org>
+# Contributor: Lauri Niskanen <ape at ape3000.com>
+# Contributor: Michael Barbour <barbour.michael.0 at gmail.com>
+# Contributor: sekret
+
+pkgname=dsp
+_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=('git' 'ladspa')
+depends=(
+  'libmad' 'libtool'
+  'ffmpeg' 'libavcodec.so' 'libavformat.so' 'libavutil.so'
+  #'ffmpeg4.4'
+  'alsa-lib' 'libasound.so'
+  'fftw' 'libfftw3.so'
+  'libao' 'libao.so'
+  'libpulse' 'libpulse.so' 'libpulse-simple.so'
+  'libsndfile' 'libsndfile.so'
+  'zita-convolver' 'libzita-convolver.so'
+)
+optdepends=(
+  'ladspa-host: For the LADSPA plugin.'
+)
+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}"
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}"
+  make DESTDIR="${pkgdir}" install
+  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}



More information about the arch-commits mailing list