mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
added community/synthv1
This commit is contained in:
parent
6dda535f2d
commit
38106f2bcd
2 changed files with 57 additions and 0 deletions
44
community/synthv1/PKGBUILD
Normal file
44
community/synthv1/PKGBUILD
Normal file
|
@ -0,0 +1,44 @@
|
|||
# $Id$
|
||||
# Maintainer: speps <speps at aur dot archlinux dot org>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - build with -fPIE for ARM
|
||||
|
||||
pkgname=synthv1
|
||||
pkgver=0.4.1
|
||||
pkgrel=1
|
||||
pkgdesc="An old-school all-digital 4-oscillator subtractive polyphonic synthesizer with stereo fx"
|
||||
arch=(i686 x86_64)
|
||||
url="http://$pkgname.sourceforge.net/$pkgname-index.html"
|
||||
license=('GPL')
|
||||
groups=('lv2-plugins')
|
||||
depends=('jack' 'liblo' 'lv2' 'qt5-base'
|
||||
'desktop-file-utils' 'hicolor-icon-theme' 'shared-mime-info')
|
||||
install="$pkgname.install"
|
||||
source=("http://download.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
|
||||
md5sums=('848413db4318819fd9fe8e0274845285')
|
||||
|
||||
prepare() {
|
||||
cd $pkgname-$pkgver
|
||||
|
||||
# x86_64 lib path fix
|
||||
sed -i "s/lib64/lib/" src/src_lv2{,ui}.pro
|
||||
|
||||
# i686 -reduce-relocations
|
||||
if [[ $CARCH = i686 || $CARCH = arm || $CARCH = armv6h || $CARCH = armv7h ]]; then
|
||||
export CXXFLAGS+=" -fPIE"
|
||||
fi
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
make DESTDIR="$pkgdir/" install
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
13
community/synthv1/synthv1.install
Normal file
13
community/synthv1/synthv1.install
Normal file
|
@ -0,0 +1,13 @@
|
|||
post_install() {
|
||||
xdg-icon-resource forceupdate --theme hicolor 2> /dev/null
|
||||
update-mime-database usr/share/mime
|
||||
update-desktop-database -q
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
post_install
|
||||
}
|
Loading…
Reference in a new issue