[arch-commits] Commit in x42-plugins/repos/community-x86_64 (PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Sat Sep 1 22:46:54 UTC 2018
Date: Saturday, September 1, 2018 @ 22:46:54
Author: dvzrv
Revision: 375996
archrelease: copy trunk to community-x86_64
Added:
x42-plugins/repos/community-x86_64/PKGBUILD
(from rev 375995, x42-plugins/trunk/PKGBUILD)
Deleted:
x42-plugins/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 87 +++++++++++++++++++++++++++++++++++++------------------------
1 file changed, 53 insertions(+), 34 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-09-01 22:46:44 UTC (rev 375995)
+++ PKGBUILD 2018-09-01 22:46:54 UTC (rev 375996)
@@ -1,34 +0,0 @@
-# $Id$
-# Maintainer: David Runge <dave at sleepmap.de>
-# Contributor: Lieven Moors <lievenmoors at gmail.com>
-
-pkgname=x42-plugins
-pkgver=20180812
-pkgrel=1
-pkgdesc="Collection of LV2 plugins"
-arch=('x86_64')
-url="https://github.com/x42/x42-plugins"
-license=('GPL')
-depends=('ftgl' 'jack' 'liblo' 'libltc' 'pango' 'zita-convolver')
-makedepends=('gtk2' 'ttf-dejavu' 'lv2')
-groups=('lv2-plugins' 'pro-audio')
-source=("http://gareus.org/misc/${pkgname}/${pkgname}-${pkgver}.tar.xz")
-sha512sums=('26d381c5bda9022a2d150204318e3a390e1b6ad2fd0131d751fd877965e4d8fdff6275325b02118e067f709c9b66894813634e2232de0414a18ec61a0d79b1ca')
-
-prepare() {
- cd "${pkgname}-${pkgver}"
- # replace ttf-freefont with ttf-liberation
- export FONTFILE=/usr/share/fonts/TTF/DejaVuSans-Bold.ttf
-}
-
-build() {
- cd "${pkgname}-${pkgver}"
- make
-}
-
-package() {
- cd "${pkgname}-${pkgver}"
- make install DESTDIR="$pkgdir/" PREFIX=/usr
-}
-
-# vim:set ts=2 sw=2 et:
Copied: x42-plugins/repos/community-x86_64/PKGBUILD (from rev 375995, x42-plugins/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-09-01 22:46:54 UTC (rev 375996)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: Lieven Moors <lievenmoors at gmail.com>
+
+pkgname=x42-plugins
+pkgver=20180812
+pkgrel=2
+pkgdesc="Collection of LV2 plugins"
+arch=('x86_64')
+url="https://github.com/x42/x42-plugins"
+license=('GPL')
+depends=('ftgl' 'jack' 'liblo' 'libltc' 'pango' 'zita-convolver')
+makedepends=('gendesk' 'gtk2' 'ttf-dejavu' 'lv2')
+groups=('lv2-plugins' 'pro-audio')
+source=("http://gareus.org/misc/${pkgname}/${pkgname}-${pkgver}.tar.xz")
+sha512sums=('26d381c5bda9022a2d150204318e3a390e1b6ad2fd0131d751fd877965e4d8fdff6275325b02118e067f709c9b66894813634e2232de0414a18ec61a0d79b1ca')
+
+prepare() {
+ declare -A descriptions=(
+ ["dpl1"]="Look-ahead digital peak limiter intended but not limited to the final step of mastering or mixing"
+ ["fat1"]="Auto-tuner based on Fons Adriaensen's zita-at1"
+ ["fil4"]="4 band parametric equalizer with additional low+high shelf filters, Low and High-pass"
+ ["meter"]="Collection of audio-level meters"
+ ["mixtri"]="Matrix mixer and trigger processor"
+ ["scope"]="Simple audio oscilloscope with variable time scale, triggering, cursors and numeric readout"
+ ["stepseq"]="Simple step sequencer for moddevices.com"
+ ["tuna"]="A musical instrument tuner with strobe characteristics"
+ )
+ cd "${pkgname}-${pkgver}"
+ # replace ttf-freefont with ttf-liberation
+ export FONTFILE=/usr/share/fonts/TTF/DejaVuSans-Bold.ttf
+ # XDG desktop files
+ for name in dpl1 fat1 fil4 meter mixtri scope stepseq tuna; do
+ gendesk -n \
+ --pkgname x42-${name} \
+ --pkgdesc "${descriptions[$name]}" \
+ --name x42-${name} \
+ --categories "AudioVideo;Audio"
+ done
+}
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ make
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ make install DESTDIR="$pkgdir/" PREFIX=/usr
+ install -vDm 644 *.desktop -t "${pkgdir}/usr/share/applications/"
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list