From fc3cb02594500c4953866f0229e36f8564e01b35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Mon, 23 Nov 2020 19:00:58 +0700 Subject: [PATCH] Partial revert "stk: remove noarch" This reverts commit b792c5f78cd9f768810987df2cb16dbb8b64e01f. Some other packages depends on stk-data. --- srcpkgs/stk-data | 1 + srcpkgs/stk/template | 10 ++++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) create mode 120000 srcpkgs/stk-data 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}"