From 0f53aeb2acf73985536487bb3838262ba2779694 Mon Sep 17 00:00:00 2001 From: Andreas Grapentin Date: Sun, 21 Jan 2018 11:22:13 +0100 Subject: pcr/din: updated to 29 --- pcr/din/PKGBUILD | 80 +++++++++++++++++++++++++++++++++++----------------- pcr/din/din.desktop | 11 ++++++++ pcr/din/din.install | 14 ++++----- pcr/din/din.png | Bin 0 -> 420 bytes 4 files changed, 71 insertions(+), 34 deletions(-) create mode 100644 pcr/din/din.desktop create mode 100644 pcr/din/din.png (limited to 'pcr/din') diff --git a/pcr/din/PKGBUILD b/pcr/din/PKGBUILD index 77013fc5c..bf57f3bcc 100644 --- a/pcr/din/PKGBUILD +++ b/pcr/din/PKGBUILD @@ -1,38 +1,66 @@ -# Maintainer: Guest One +# Maintainer (AUR): muzhed + +# parabola changes and rationale: +# - added missing depends: glu pkgname=din -pkgver=5.2.1 +pkgver=29 pkgrel=1 -pkgdesc="A software musical instrument and audio synthesizer using Bezier curves to draw waveforms." -arch=('i686') +pkgdesc="A sound synthesizer and musical instrument." +arch=("i686" "x86_64" "armv7h") url="http://dinisnoise.org/" -license=('GPL3') -depends=('fftw' 'jack' 'liblo' 'libgl' 'libircclient' 'tcl') -makedepends=('mesa') -install="$pkgname.install" -source=("http://din.googlecode.com/files/$pkgname-$pkgver.tar.gz") -md5sums=('d5a9c375b58e7652004bfcc1e3e17f88') - -build() { - cd "$srcdir/$pkgname-$pkgver" - - # remove previously generated checkdotdin - rm data/checkdotdin +license=('GPL2') +depends=('jack' 'libgl' 'sdl' 'tcl' 'glu') +makedepends=('boost') +install=$pkgname.install +source=("https://archive.org/download/dinisnoise_source_code/$pkgname-$pkgver.tar.gz" + din.png + din.desktop) +md5sums=('a55e6eb3f1e112150481ad75894b3ea4' + '50ca4dc107eaa0d5b6a1efe21c469bd7' + 'e38840354b0f197079e6bbeda03c8613') - # colourized echo in m00 script - sed -i "s|echo|& -e|" data/m00 - # tcl 8.6 fix - sed -i "s/tcl8\.5/tcl8\.6/g" `grep -rl "tcl8\.5"` +build() { + cd "$srcdir"/"$pkgname-$pkgver" - ./configure --prefix=/usr \ - --datarootdir=/usr/share + autoreconf -fvi + # use alsa instead of jack + # ./configure CXXFLAGS="-O3 -D__UNIX_ALSA__" CFLAGS=-O3 + ./configure CXXFLAGS="-O3 -D__UNIX_JACK__" CFLAGS=-O3 make } package() { - cd "$srcdir/$pkgname-$pkgver" - make DESTDIR="$pkgdir/" install -} + cd "$srcdir"/"$pkgname-$pkgver" + install -Dm755 src/din "$pkgdir/usr/lib/din/din" + cp -r "src/factory" "$pkgdir/usr/lib/din" + ln -s "/usr/lib/din/factory" "$pkgdir/usr/lib/din/user" + + # install exec script + mkdir -p "$pkgdir/usr/bin" + cat > "$pkgdir/usr/bin/din" <>> If you get any trouble, remeber to clean your ~/.din folder" - update-desktop-database -q + echo + echo " If you are upgrading, please remove your HOME/.config/din folder manually so that it can be updated" + echo } - post_upgrade() { - post_install -} - -post_remove() { - post_install + echo + echo " If you are upgrading, please remove your HOME/.config/din folder manually so that it can be updated" + echo } diff --git a/pcr/din/din.png b/pcr/din/din.png new file mode 100644 index 000000000..532aaf914 Binary files /dev/null and b/pcr/din/din.png differ -- cgit v1.2.3