2 changed files with 54 additions and 1 deletions
@ -0,0 +1,53 @@
@@ -0,0 +1,53 @@
|
||||
# Copyright (C) 2022 Alexandros Theodotou <alex at zrythm dot org> |
||||
# |
||||
# This file is part of Zrythm |
||||
# |
||||
# Zrythm is free software: you can redistribute it and/or modify |
||||
# it under the terms of the GNU Affero General Public License as published by |
||||
# the Free Software Foundation, either version 3 of the License, or |
||||
# (at your option) any later version. |
||||
# |
||||
# Zrythm is distributed in the hope that it will be useful, |
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
# GNU Affero General Public License for more details. |
||||
# |
||||
# You should have received a copy of the GNU Affero General Public License |
||||
# along with Zrythm. If not, see <https://www.gnu.org/licenses/>. |
||||
# |
||||
# Maintainer: Alexandros Theodotou <alex at zrythm dot org> |
||||
_realname=dpf-plugins |
||||
pkgbase=mingw-w64-${_realname} |
||||
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}" |
||||
pkgver=1.4 |
||||
pkgrel=1 |
||||
arch=('any') |
||||
pkgdesc='DPF plugins' |
||||
makedepends=("${MINGW_PACKAGE_PREFIX}-gcc" |
||||
"${MINGW_PACKAGE_PREFIX}-pkg-config") |
||||
options=('!strip') |
||||
license=("GPL2") |
||||
url="https://github.com/falktx/carla" |
||||
source=("https://github.com/DISTRHO/DPF-Plugins/archive/refs/tags/v${pkgver}.tar.gz") |
||||
sha256sums=('SKIP') |
||||
|
||||
prepare() { |
||||
ls |
||||
rm -rf ${_realname}-${pkgver} |
||||
mv "DPF-Plugins-${pkgver}" ${_realname}-${pkgver} |
||||
} |
||||
|
||||
build() { |
||||
cd "${srcdir}/${_realname}-${pkgver}" |
||||
|
||||
export CFLAGS="$CFLAGS -static-libgcc -static-libstdc++ -g -ggdb3" |
||||
export CXXFLAGS="$CXXFLAGS -static-libgcc -static-libstdc++ -g -ggdb3" |
||||
|
||||
make PREFIX=${MINGW_PREFIX} DEBUG=true HAVE_OPENGL=false |
||||
} |
||||
|
||||
package() { |
||||
cd "${srcdir}/${_realname}-${pkgver}" |
||||
|
||||
make DESTDIR=${pkgdir} PREFIX="${MINGW_PREFIX}" install |
||||
} |
Loading…
Reference in new issue