diff --git a/srcpkgs/lsp-plugins-devel b/srcpkgs/lsp-plugins-devel new file mode 120000 index 00000000000..f59057b0c7f --- /dev/null +++ b/srcpkgs/lsp-plugins-devel @@ -0,0 +1 @@ +lsp-plugins \ No newline at end of file diff --git a/srcpkgs/lsp-plugins-doc b/srcpkgs/lsp-plugins-doc new file mode 120000 index 00000000000..f59057b0c7f --- /dev/null +++ b/srcpkgs/lsp-plugins-doc @@ -0,0 +1 @@ +lsp-plugins \ No newline at end of file diff --git a/srcpkgs/lsp-plugins/template b/srcpkgs/lsp-plugins/template new file mode 100644 index 00000000000..added109cfb --- /dev/null +++ b/srcpkgs/lsp-plugins/template @@ -0,0 +1,42 @@ +# Template file for 'lsp-plugins' +pkgname=lsp-plugins +version=1.2.6 +revision=1 +build_style=gnu-makefile +make_use_env=yes +make_build_args="VERBOSE=0" +hostmakedepends="pkg-config php lv2" +makedepends="lv2 libglvnd-devel jack-devel libsndfile-devel + libXrandr-devel cairo-devel freetype-devel" +short_desc="Collection of open-source audio plugins for studios" +maintainer="Subhaditya Nath " +license="GPL-3.0-or-later" +homepage="https://lsp-plug.in/" +changelog="https://raw.githubusercontent.com/sadko4u/lsp-plugins/master/CHANGELOG" +distfiles="https://github.com/sadko4u/lsp-plugins/releases/download/$version/lsp-plugins-src-${version}.tar.gz" +checksum=94dac8b175b764d28c170b25e6aa305aa2bf65a09a414025ad2b1c9ec3b1bd58 +nocross="Build system doesn't support cross-compilation properly" + +do_configure() { + make LD="$CXX" PREFIX=/usr config +} + +lsp-plugins-doc_package() { + short_desc+=" - documentation" + pkg_install() { + vmove usr/share/doc + } +} + +lsp-plugins-devel_package() { + depends="${sourcepkg}>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/lib/pkgconfig + for f in $DESTDIR/usr/lib/*; do + if echo ${f##*/} | grep -Eq '^[^.]*\.(a|so)$'; then + vmove ${f#$DESTDIR/} + fi + done + } +}