diff --git a/srcpkgs/stk-data b/srcpkgs/stk-data new file mode 120000 index 00000000000..e69eabc8478 --- /dev/null +++ b/srcpkgs/stk-data @@ -0,0 +1 @@ +stk \ No newline at end of file diff --git a/srcpkgs/stk/template b/srcpkgs/stk/template index 70ff45b42f6..f726e3a5340 100644 --- a/srcpkgs/stk/template +++ b/srcpkgs/stk/template @@ -6,14 +6,13 @@ build_style=gnu-configure configure_args="--with-alsa --with-jack RAWWAVE_PATH=/usr/share/stk/rawwaves/" hostmakedepends="automake libtool pkg-config" makedepends="alsa-lib-devel jack-devel" -depends="libstk-${version}_${revision}" +depends="libstk-${version}_${revision} stk-data-${version}_${revision}" short_desc="Synthesis ToolKit in C++" maintainer="Jürgen Buchmüller " 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 -replaces="stk-data>=0" pre_configure() { NOCONFIGURE=1 autoreconf -fi @@ -65,6 +64,13 @@ post_install() { vlicense LICENSE } +stk-data_package() { + short_desc+=" - data files" + pkg_install() { + vmove usr/share/stk + } +} + stk-examples_package() { short_desc+=" - examples" depends="${sourcepkg}>=${version}_${revision}"