Browse Source

add jack bin pc file

use_builds_script
Alexandros Theodotou 2 years ago
parent
commit
9404b6cb3c
Signed by: alex
GPG Key ID: 022EAE42313D70F3
  1. 18
      windows-msys/PKGBUILD-jack2-bin-mingw
  2. 4
      windows-msys/PKGBUILD.in

18
windows-msys/PKGBUILD-jack2-bin-mingw

@ -1,12 +1,12 @@ @@ -1,12 +1,12 @@
# Maintainer: Alexandros Theodotou <alex at zrythm dot org>
_realname=jack2
_realname=jack2-bin
_commit=81ac3d06d43a5b955baf881bfcc06f1da68b4221
pkgbase=mingw-w64-${_realname}
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=1.9.14.1
pkgrel=1
arch=('any')
pkgdesc='jack2'
pkgdesc='jack2 binaries'
depends=("$MINGW_PACKAGE_PREFIX-portaudio")
makedepends=("${MINGW_PACKAGE_PREFIX}-gcc"
"${MINGW_PACKAGE_PREFIX}-pkg-config"
@ -37,4 +37,18 @@ package() { @@ -37,4 +37,18 @@ package() {
mkdir -p "${pkgdir}/${MINGW_PREFIX}"
cp -R ./* "${pkgdir}/${MINGW_PREFIX}"/
pkgconfig_path="${pkgdir}/${MINGW_PREFIX}/lib/pkgconfig"
pc_file="${pkgconfig_path}/jack.pc"
mkdir -p "$pkgconfig_path"
echo "prefix=${MINGW_PREFIX}" > $pc_file
echo 'exec_prefix=${prefix}' >> $pc_file
echo 'libdir=${exec_prefix}/lib' >> $pc_file
echo 'includedir=${prefix}/include' >> $pc_file
echo '' >> $pc_file
echo 'Name: jack' >> $pc_file
echo 'Description: the Jack Audio Connection Kit: a low-latency synchronous callback-based media server' >> $pc_file
echo "Version: ${pkgver}" >> $pc_file
echo 'Libs: -L${libdir} -ljack64 -lpthread' >> $pc_file
echo 'Cflags: -I${includedir}' >> $pc_file
}

4
windows-msys/PKGBUILD.in

@ -15,7 +15,7 @@ depends=("${MINGW_PACKAGE_PREFIX}-gtk3" @@ -15,7 +15,7 @@ depends=("${MINGW_PACKAGE_PREFIX}-gtk3"
"${MINGW_PACKAGE_PREFIX}-libsndfile"
"${MINGW_PACKAGE_PREFIX}-libsamplerate"
"${MINGW_PACKAGE_PREFIX}-lilv"
"${MINGW_PACKAGE_PREFIX}-jack2"
"${MINGW_PACKAGE_PREFIX}-jack2-bin"
"${MINGW_PACKAGE_PREFIX}-gtksourceview4"
"${MINGW_PACKAGE_PREFIX}-graphviz"
"${MINGW_PACKAGE_PREFIX}-dlfcn"
@ -58,7 +58,7 @@ build() { @@ -58,7 +58,7 @@ build() {
-Dlsp_dsp=enabled \
-Dstatic_deps=true \
-Dstatic_lsp_dsp=true \
-Djack=disabled \
-Djack=enabled \
-Dguile=disabled \
-Dfallback_version=@ZRYTHM_PKG_VERSION@ \
-Dmanpage=false \

Loading…
Cancel
Save