diff options
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 50 |
2 files changed, 36 insertions, 27 deletions
@@ -1,6 +1,8 @@ +# Generated by mksrcinfo v8 +# Thu Mar 31 10:11:48 UTC 2016 pkgbase = synthpod-git pkgdesc = Lightweight non-linear plugin host - pkgver = 0.1.0 + pkgver = 608 pkgrel = 1 url = http://open-music-kontrollers.ch/lv2/synthpod install = synthpod.install @@ -18,8 +20,17 @@ pkgbase = synthpod-git depends = zita-alsa-pcmi depends = elementary depends = hicolor-icon-theme + depends = nanomsg + depends = sratom + depends = libxcb + depends = gtk2 + depends = gtk3 optdepends = moony-lv2 optdepends = sherlock-lv2 + provides = synthpod + conflicts = synthpod + source = synthpod::git+https://github.com/OpenMusicKontrollers/synthpod.git + md5sums = SKIP pkgname = synthpod-git @@ -1,45 +1,37 @@ # Maintainer: Hanspeter Portner <dev at open-music-kontrollers dot ch> -pkgname=synthpod-git -pkgver=0.1.0 +_pkgname=synthpod +pkgname="${_pkgname}-git" +pkgver=608 pkgrel=1 pkgdesc="Lightweight non-linear plugin host" arch=('i686' 'x86_64') url="http://open-music-kontrollers.ch/lv2/synthpod" license=('Artistic2.0') groups=('lv2-plugins' 'lv2-hosts') -depends=('lilv' 'jack' 'zita-alsa-pcmi' 'elementary' 'hicolor-icon-theme') +depends=('lilv' 'jack' 'zita-alsa-pcmi' 'elementary' 'hicolor-icon-theme' 'nanomsg' 'sratom' 'libxcb' 'gtk2' 'gtk3') makedepends=('git' 'cmake' 'lv2' 'xdg-utils') optdepends=('moony-lv2' 'sherlock-lv2') -provides=() -conflicts=() +provides=("$_pkgname") +conflicts=("$_pkgname") replaces=() backup=() options=() install=synthpod.install -source=() +source=("$_pkgname::git+https://github.com/OpenMusicKontrollers/synthpod.git") noextract=() -md5sums=() #generate with 'makepkg -g' +md5sums=('SKIP') -_gitroot="https://github.com/OpenMusicKontrollers/synthpod.git" -_gitname="master" +pkgver() { + cd "$srcdir/$_pkgname" + git log --pretty=oneline | wc -l +} build() { - cd "$srcdir" - msg "Connecting to GIT server...." - - if [[ -d "$_gitname" ]]; then - cd "$_gitname" && git pull origin - msg "The local files are updated." - else - git clone "$_gitroot" "$_gitname" - fi - - msg "GIT checkout done or server timeout" - msg "Starting build..." + cd "$srcdir/$_pkgname" - rm -rf "$srcdir/$_gitname-build" - git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build" - cd "$srcdir/$_gitname-build" + rm -rf build + mkdir build + cd build # # BUILD HERE @@ -49,12 +41,18 @@ build() { -DCMAKE_INSTALL_PREFIX="/usr" \ -DBUILD_JACK=1 \ -DBUILD_ALSA=1 \ - . + -DBUILD_DUMMY=1 \ + -DBUILD_SANDBOX_LIB=1 \ + -DBUILD_SANDBOX_X11=1 \ + -DBUILD_SANDBOX_EFL=1 \ + -DBUILD_SANDBOX_GTK2=1 \ + -DBUILD_SANDBOX_GTK3=1 \ + .. make } package() { - cd "$srcdir/$_gitname-build" + cd "$srcdir/$_pkgname/build" make DESTDIR="$pkgdir/" install } |