summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD24
2 files changed, 6 insertions, 21 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e9943f9af1c..2ab46d122c0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = distrho-extra-lv2-git
pkgdesc = Extra LV2 ports of JUCE-based audio plugins using the DISTRHO framework
pkgver = r26.b6f25f1
- pkgrel = 1
+ pkgrel = 2
url = http://distrho.sourceforge.net/
arch = i686
arch = x86_64
@@ -13,7 +13,6 @@ pkgbase = distrho-extra-lv2-git
makedepends = libxrender
makedepends = libxcursor
makedepends = ladspa
- makedepends = clang
depends = gcc-libs
depends = lv2
depends = libxext
diff --git a/PKGBUILD b/PKGBUILD
index 3fcfdaeeca9..e5f1a25f605 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,13 +2,13 @@
_pkgbasename=distrho-extra-lv2
pkgname=${_pkgbasename}-git
pkgver=r26.b6f25f1
-pkgrel=1
+pkgrel=2
pkgdesc="Extra LV2 ports of JUCE-based audio plugins using the DISTRHO framework"
arch=('i686' 'x86_64')
url="http://distrho.sourceforge.net/"
license=('GPL' 'MIT')
depends=('gcc-libs' 'lv2' 'libxext' 'freetype2' 'alsa-lib')
-makedepends=('git' 'premake3' 'libxinerama' 'libxrender' 'libxcursor' 'ladspa' 'clang')
+makedepends=('git' 'premake3' 'libxinerama' 'libxrender' 'libxcursor' 'ladspa')
provides=("${_pkgbasename}")
conflicts=("${_pkgbasename}")
source=("${_pkgbasename%%-*}::git://github.com/DISTRHO/DISTRHO-Ports.git"
@@ -27,37 +27,23 @@ prepare() {
# generate build script
scripts/premake-update.sh linux
-
+
cd "${srcdir}/${_pkgbasename}"
# redefine links to DISTRHO libs and scripts
ln -f -s "${srcdir}/${_pkgbasename%%-*}/libs"
ln -f -s "${srcdir}/${_pkgbasename%%-*}/scripts"
-
+
# generate build script
scripts/premake-update.sh linux
}
# TODO: make DISTRHO-Ports a dependency instead of having to build it separately
build() {
- # Work-around issues with GCC version 9 (https://github.com/DISTRHO/DISTRHO-Ports/issues/45)
- export CC=clang
- export CXX=clang++
-
cd "${srcdir}/${_pkgbasename%%-*}"
- # Fix compiler flag issue when mixing C++ and C sources (https://github.com/premake/premake-core/issues/198)
- sed -i 's/-std=c++0x//g' ports/stereosourceseparation/LV2/StereoSourceSeparation.lv2/StereoSourceSeparation.make
- sed -i 's/CXXFLAGS += \$(CFLAGS)/CXXFLAGS += \$(CFLAGS) -std=c++0x/g' ports/stereosourceseparation/LV2/StereoSourceSeparation.lv2/StereoSourceSeparation.make
-
- make lv2
+ make libs
cd "${srcdir}/${_pkgbasename}"
- # Fix compiler flag issue when mixing C++ and C sources (https://github.com/premake/premake-core/issues/198)
- sed -i 's/-std=c++0x//g' ports/PdPulp/LV2-fx/PdPulpFX.lv2/PdPulpFX.make
- sed -i 's/CXXFLAGS += \$(CFLAGS)/CXXFLAGS += \$(CFLAGS) -std=c++0x/g' ports/PdPulp/LV2-fx/PdPulpFX.lv2/PdPulpFX.make
- sed -i 's/-std=c++0x//g' ports/PdPulp/LV2-ins/PdPulp.lv2/PdPulp.make
- sed -i 's/CXXFLAGS += \$(CFLAGS)/CXXFLAGS += \$(CFLAGS) -std=c++0x/g' ports/PdPulp/LV2-ins/PdPulp.lv2/PdPulp.make
-
make lv2
}