mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
parent
a4dbd76399
commit
d50e726157
6 changed files with 88 additions and 0 deletions
|
@ -3857,3 +3857,4 @@ libbudgietheme.so.0 budgie-desktop-10.5.1_1
|
||||||
libbudgie-plugin.so.0 budgie-desktop-10.5.1_1
|
libbudgie-plugin.so.0 budgie-desktop-10.5.1_1
|
||||||
libslirp.so.0 libslirp-4.2.0_1
|
libslirp.so.0 libslirp-4.2.0_1
|
||||||
libqpdf.so.28 libqpdf-10.0.0_1
|
libqpdf.so.28 libqpdf-10.0.0_1
|
||||||
|
libstk-4.6.1.so libstk-4.6.1_1
|
||||||
|
|
1
srcpkgs/libstk
Symbolic link
1
srcpkgs/libstk
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
stk
|
1
srcpkgs/libstk-devel
Symbolic link
1
srcpkgs/libstk-devel
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
stk
|
1
srcpkgs/stk-examples
Symbolic link
1
srcpkgs/stk-examples
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
stk
|
11
srcpkgs/stk/files/stk.pc
Normal file
11
srcpkgs/stk/files/stk.pc
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
prefix=/usr
|
||||||
|
exec_prefix=${prefix}
|
||||||
|
libdir=${exec_prefix}/lib
|
||||||
|
includedir=${prefix}/include
|
||||||
|
|
||||||
|
Name: stk
|
||||||
|
Description: The Synthesis Toolkit in C++
|
||||||
|
Requires:
|
||||||
|
Version: @VERSION@
|
||||||
|
Libs: -L${libdir} -lstk
|
||||||
|
Cflags: -I${includedir}/stk
|
73
srcpkgs/stk/template
Normal file
73
srcpkgs/stk/template
Normal file
|
@ -0,0 +1,73 @@
|
||||||
|
# Template file for 'stk'
|
||||||
|
pkgname=stk
|
||||||
|
version=4.6.1
|
||||||
|
revision=1
|
||||||
|
build_style=gnu-configure
|
||||||
|
configure_args="--with-alsa --with-jack"
|
||||||
|
hostmakedepends="automake libtool pkg-config"
|
||||||
|
makedepends="alsa-lib-devel jack-devel"
|
||||||
|
depends="libstk-${version}_${revision}"
|
||||||
|
short_desc="Synthesis ToolKit in C++"
|
||||||
|
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
||||||
|
license="custom:MIT-like"
|
||||||
|
homepage="https://ccrma.stanford.edu/software/stk/"
|
||||||
|
distfiles="https://github.com/thestk/stk/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
|
||||||
|
checksum=8e0c362dd82421bae8f3e789d238a1c27aeac1a2697d7830eb51abc90fc17281
|
||||||
|
|
||||||
|
pre_configure() {
|
||||||
|
NOCONFIGURE=1 autoreconf -fi
|
||||||
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vmkdir usr/lib/pkgconfig
|
||||||
|
sed ${FILESDIR}/stk.pc \
|
||||||
|
-e "s;@VERSION@;${version};" \
|
||||||
|
> ${DESTDIR}/usr/lib/pkgconfig/stk.pc
|
||||||
|
|
||||||
|
# Install binaries
|
||||||
|
vmkdir usr/libexec/stk
|
||||||
|
vinstall projects/demo/stk-demo 755 usr/libexec/stk
|
||||||
|
vinstall projects/effects/effects 755 usr/libexec/stk
|
||||||
|
vinstall projects/eguitar/eguitar 755 usr/libexec/stk
|
||||||
|
vinstall projects/ragamatic/ragamat 755 usr/libexec/stk
|
||||||
|
|
||||||
|
# Install examples
|
||||||
|
vmkdir usr/libexec/stk/examples
|
||||||
|
for f in play record audioprobe midiprobe duplex inetIn inetOut \
|
||||||
|
rtsine crtsine bethree controlbee three bees playsmf grains; do
|
||||||
|
if [ -x "projects/examples/$f" ]; then
|
||||||
|
vinstall projects/examples/$f 755 usr/libexec/stk/examples
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
# Install examples data
|
||||||
|
vcopy projects/examples/midifiles usr/libexec/stk/examples
|
||||||
|
vcopy projects/examples/rawwaves usr/libexec/stk/examples
|
||||||
|
vcopy projects/examples/scores usr/libexec/stk/examples
|
||||||
|
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
||||||
|
|
||||||
|
stk-examples_package() {
|
||||||
|
short_desc+=" - examples"
|
||||||
|
depends="${sourcepkg}>=${version}_${revision}"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/libexec/stk/examples
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
libstk_package() {
|
||||||
|
short_desc+=" - library"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/lib/libstk-${version}.so
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
libstk-devel_package() {
|
||||||
|
short_desc+=" - development files"
|
||||||
|
depends="libstk-${version}_${revision} ${makedepends}"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/include
|
||||||
|
vmove usr/lib/libstk.so
|
||||||
|
vmove usr/lib/pkgconfig
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue