From: dkwo <dkwo@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] lsp-plugins: split subpkgs
Date: Fri, 24 May 2024 18:25:07 +0200 [thread overview]
Message-ID: <20240524162507.BF7872649C@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-50486@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 409 bytes --]
There is an updated pull request by dkwo against master on the void-packages repository
https://github.com/dkwo/void-packages lsp
https://github.com/void-linux/void-packages/pull/50486
lsp-plugins: split subpkgs
Tested by me and @slimjimsoftware
This helps unclutter things. @leahneukirchen can you take a look?
A patch file from https://github.com/void-linux/void-packages/pull/50486.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-lsp-50486.patch --]
[-- Type: text/x-diff, Size: 5823 bytes --]
From 7d89e0ded877d116675b458912490224a6e4bd1f Mon Sep 17 00:00:00 2001
From: dkwo <npiazza@disroot.org>
Date: Tue, 21 May 2024 12:30:32 -0400
Subject: [PATCH 1/2] lsp-plugins: split subpkgs
---
srcpkgs/lsp-plugins-clap | 1 +
srcpkgs/lsp-plugins-ladspa | 1 +
srcpkgs/lsp-plugins-lib | 1 +
srcpkgs/lsp-plugins-lv2 | 1 +
srcpkgs/lsp-plugins-vst2 | 1 +
srcpkgs/lsp-plugins-xdg | 1 +
srcpkgs/lsp-plugins/template | 51 +++++++++++++++++++++++++++++++++++-
7 files changed, 56 insertions(+), 1 deletion(-)
create mode 120000 srcpkgs/lsp-plugins-clap
create mode 120000 srcpkgs/lsp-plugins-ladspa
create mode 120000 srcpkgs/lsp-plugins-lib
create mode 120000 srcpkgs/lsp-plugins-lv2
create mode 120000 srcpkgs/lsp-plugins-vst2
create mode 120000 srcpkgs/lsp-plugins-xdg
diff --git a/srcpkgs/lsp-plugins-clap b/srcpkgs/lsp-plugins-clap
new file mode 120000
index 00000000000000..f59057b0c7f794
--- /dev/null
+++ b/srcpkgs/lsp-plugins-clap
@@ -0,0 +1 @@
+lsp-plugins
\ No newline at end of file
diff --git a/srcpkgs/lsp-plugins-ladspa b/srcpkgs/lsp-plugins-ladspa
new file mode 120000
index 00000000000000..f59057b0c7f794
--- /dev/null
+++ b/srcpkgs/lsp-plugins-ladspa
@@ -0,0 +1 @@
+lsp-plugins
\ No newline at end of file
diff --git a/srcpkgs/lsp-plugins-lib b/srcpkgs/lsp-plugins-lib
new file mode 120000
index 00000000000000..f59057b0c7f794
--- /dev/null
+++ b/srcpkgs/lsp-plugins-lib
@@ -0,0 +1 @@
+lsp-plugins
\ No newline at end of file
diff --git a/srcpkgs/lsp-plugins-lv2 b/srcpkgs/lsp-plugins-lv2
new file mode 120000
index 00000000000000..f59057b0c7f794
--- /dev/null
+++ b/srcpkgs/lsp-plugins-lv2
@@ -0,0 +1 @@
+lsp-plugins
\ No newline at end of file
diff --git a/srcpkgs/lsp-plugins-vst2 b/srcpkgs/lsp-plugins-vst2
new file mode 120000
index 00000000000000..f59057b0c7f794
--- /dev/null
+++ b/srcpkgs/lsp-plugins-vst2
@@ -0,0 +1 @@
+lsp-plugins
\ No newline at end of file
diff --git a/srcpkgs/lsp-plugins-xdg b/srcpkgs/lsp-plugins-xdg
new file mode 120000
index 00000000000000..f59057b0c7f794
--- /dev/null
+++ b/srcpkgs/lsp-plugins-xdg
@@ -0,0 +1 @@
+lsp-plugins
\ No newline at end of file
diff --git a/srcpkgs/lsp-plugins/template b/srcpkgs/lsp-plugins/template
index 9473573ff185d1..f32c2c133dad07 100644
--- a/srcpkgs/lsp-plugins/template
+++ b/srcpkgs/lsp-plugins/template
@@ -1,7 +1,7 @@
# Template file for 'lsp-plugins'
pkgname=lsp-plugins
version=1.2.14
-revision=1
+revision=2
build_style=gnu-makefile
make_use_env=yes
make_build_args="VERBOSE=0"
@@ -21,6 +21,55 @@ do_configure() {
make LD="$CXX" PREFIX=/usr config
}
+lsp-plugins-lib_package() {
+ short_desc+=" - main libraries"
+ pkg_install() {
+ vmove usr/lib/liblsp-r3d-glx-lib*
+ }
+}
+
+lsp-plugins-xdg_package() {
+ short_desc+=" - XDG integration"
+ pkg_install() {
+ vmove usr/share/applications
+ vmove usr/share/desktop-directories
+ vmove usr/share/icons
+ vmove etc/xdg/menus/applications-merged
+ }
+}
+
+lsp-plugins-clap_package() {
+ short_desc+=" - clap integrations"
+ depends="${sourcepkg}-lib>=${version}_${revision}"
+ pkg_install() {
+ vmove usr/lib/clap
+ }
+}
+
+lsp-plugins-ladspa_package() {
+ short_desc+=" - ladspa integration"
+ depends="${sourcepkg}-lib>=${version}_${revision}"
+ pkg_install() {
+ vmove usr/lib/ladspa
+ }
+}
+
+lsp-plugins-lv2_package() {
+ short_desc+=" - lv2 plugins"
+ depends="lv2>=0.6.0 ${sourcepkg}-lib>=${version}_${revision}"
+ pkg_install() {
+ vmove usr/lib/lv2
+ }
+}
+
+lsp-plugins-vst2_package() {
+ short_desc+=" - vst2 plugins"
+ depends="${sourcepkg}-lib>=${version}_${revision}"
+ pkg_install() {
+ vmove usr/lib/vst
+ }
+}
+
lsp-plugins-doc_package() {
short_desc+=" - documentation"
pkg_install() {
From c585e64c7a341052dcf4218f1b750c71eaff56d8 Mon Sep 17 00:00:00 2001
From: dkwo <npiazza@disroot.org>
Date: Fri, 24 May 2024 12:19:37 -0400
Subject: [PATCH 2/2] lsp-plugins: fix
---
srcpkgs/{lsp-plugins-lib => lsp-plugins-libs} | 0
srcpkgs/lsp-plugins/template | 12 ++++++------
2 files changed, 6 insertions(+), 6 deletions(-)
rename srcpkgs/{lsp-plugins-lib => lsp-plugins-libs} (100%)
diff --git a/srcpkgs/lsp-plugins-lib b/srcpkgs/lsp-plugins-libs
similarity index 100%
rename from srcpkgs/lsp-plugins-lib
rename to srcpkgs/lsp-plugins-libs
diff --git a/srcpkgs/lsp-plugins/template b/srcpkgs/lsp-plugins/template
index f32c2c133dad07..77929268d1ae42 100644
--- a/srcpkgs/lsp-plugins/template
+++ b/srcpkgs/lsp-plugins/template
@@ -21,10 +21,10 @@ do_configure() {
make LD="$CXX" PREFIX=/usr config
}
-lsp-plugins-lib_package() {
+lsp-plugins-libs_package() {
short_desc+=" - main libraries"
pkg_install() {
- vmove usr/lib/liblsp-r3d-glx-lib*
+ vmove usr/lib/liblsp-r3d-glx-lib*.so
}
}
@@ -40,7 +40,7 @@ lsp-plugins-xdg_package() {
lsp-plugins-clap_package() {
short_desc+=" - clap integrations"
- depends="${sourcepkg}-lib>=${version}_${revision}"
+ depends="${sourcepkg}-libs>=${version}_${revision}"
pkg_install() {
vmove usr/lib/clap
}
@@ -48,7 +48,7 @@ lsp-plugins-clap_package() {
lsp-plugins-ladspa_package() {
short_desc+=" - ladspa integration"
- depends="${sourcepkg}-lib>=${version}_${revision}"
+ depends="${sourcepkg}-libs>=${version}_${revision}"
pkg_install() {
vmove usr/lib/ladspa
}
@@ -56,7 +56,7 @@ lsp-plugins-ladspa_package() {
lsp-plugins-lv2_package() {
short_desc+=" - lv2 plugins"
- depends="lv2>=0.6.0 ${sourcepkg}-lib>=${version}_${revision}"
+ depends="lv2>=0.6.0 ${sourcepkg}-libs>=${version}_${revision}"
pkg_install() {
vmove usr/lib/lv2
}
@@ -64,7 +64,7 @@ lsp-plugins-lv2_package() {
lsp-plugins-vst2_package() {
short_desc+=" - vst2 plugins"
- depends="${sourcepkg}-lib>=${version}_${revision}"
+ depends="${sourcepkg}-libs>=${version}_${revision}"
pkg_install() {
vmove usr/lib/vst
}
next prev parent reply other threads:[~2024-05-24 16:25 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-23 14:01 [PR PATCH] " dkwo
2024-05-23 15:52 ` classabbyamp
2024-05-23 20:29 ` slimjimsoftware
2024-05-23 20:49 ` [PR REVIEW] " classabbyamp
2024-05-24 16:08 ` dkwo
2024-05-24 16:22 ` [PR PATCH] [Updated] " dkwo
2024-05-24 16:22 ` dkwo
2024-05-24 16:25 ` dkwo [this message]
2024-05-26 4:34 ` classabbyamp
2024-05-26 5:52 ` classabbyamp
2024-05-26 16:46 ` [PR PATCH] [Updated] " dkwo
2024-05-27 14:35 ` dkwo
2024-05-27 14:44 ` classabbyamp
2024-05-27 22:56 ` [PR PATCH] [Updated] " dkwo
2024-05-27 22:57 ` dkwo
2024-05-31 6:28 ` [PR PATCH] [Merged]: " classabbyamp
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240524162507.BF7872649C@inbox.vuxu.org \
--to=dkwo@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).