Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] Lsp plugin cross
@ 2023-03-10 11:17 subnut
  2023-03-10 11:18 ` subnut
  2023-03-10 11:18 ` [PR PATCH] [Closed]: " subnut
  0 siblings, 2 replies; 3+ messages in thread
From: subnut @ 2023-03-10 11:17 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1254 bytes --]

There is a new pull request by subnut against master on the void-packages repository

https://github.com/subnut/void-packages lsp-plugin-cross
https://github.com/void-linux/void-packages/pull/42688

Lsp plugin cross
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**|**briefly**|**NO**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/42688.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-lsp-plugin-cross-42688.patch --]
[-- Type: text/x-diff, Size: 5191 bytes --]

From f514175e82f21b12a3d3d2e3a221f4c0f95d31f3 Mon Sep 17 00:00:00 2001
From: Subhaditya Nath <sn03.general@gmail.com>
Date: Wed, 1 Mar 2023 02:39:21 +0530
Subject: [PATCH 1/3] lv2: update to 1.18.10, adopt

---
 srcpkgs/lv2/template | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/lv2/template b/srcpkgs/lv2/template
index 5577167b3b87..6ce272f3f06a 100644
--- a/srcpkgs/lv2/template
+++ b/srcpkgs/lv2/template
@@ -1,18 +1,17 @@
 # Template file for 'lv2'
 pkgname=lv2
-version=1.18.2
+version=1.18.10
 revision=1
-build_style=waf3
+build_style=meson
 hostmakedepends="pkg-config"
-makedepends="libsndfile-devel gtk+-devel"
+makedepends="libsndfile-devel gtk+-devel libsamplerate-devel"
 short_desc="Plugin standard for audio systems"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Subhaditya Nath <sn03.general@gmail.com>"
 license="ISC"
-homepage="http://lv2plug.in"
-distfiles="http://lv2plug.in/spec/${pkgname}-${version}.tar.bz2"
-checksum=4e891fbc744c05855beb5dfa82e822b14917dd66e98f82b8230dbd1c7ab2e05e
-python_version=3
-lib32disabled=yes
+homepage="https://lv2plug.in"
+distfiles="https://lv2plug.in/spec/lv2-$version.tar.xz"
+checksum=78c51bcf21b54e58bb6329accbb4dae03b2ed79b520f9a01e734bd9de530953f
+#lib32disabled=yes
 
 post_install() {
 	vlicense COPYING

From c5393484cb444c4cdf4ea73f8189fabaa67bdf89 Mon Sep 17 00:00:00 2001
From: Subhaditya Nath <sn03.general@gmail.com>
Date: Wed, 1 Mar 2023 02:44:30 +0530
Subject: [PATCH 2/3] New package: lsp-plugins-1.2.5

---
 srcpkgs/lsp-plugins-devel    |  1 +
 srcpkgs/lsp-plugins-doc      |  1 +
 srcpkgs/lsp-plugins/template | 42 ++++++++++++++++++++++++++++++++++++
 3 files changed, 44 insertions(+)
 create mode 120000 srcpkgs/lsp-plugins-devel
 create mode 120000 srcpkgs/lsp-plugins-doc
 create mode 100644 srcpkgs/lsp-plugins/template

diff --git a/srcpkgs/lsp-plugins-devel b/srcpkgs/lsp-plugins-devel
new file mode 120000
index 000000000000..f59057b0c7f7
--- /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 000000000000..f59057b0c7f7
--- /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 000000000000..eff59a2f8f9d
--- /dev/null
+++ b/srcpkgs/lsp-plugins/template
@@ -0,0 +1,42 @@
+# Template file for 'lsp-plugins'
+pkgname=lsp-plugins
+version=1.2.5
+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 <sn03.general@gmail.com>"
+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=618aedf856e963b884ba2d1ac3809ef78056d521c3934387f20152ce45b67e4c
+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
+	}
+}

From edb6165ea2928111f41fc6123fdf84ff8baf0829 Mon Sep 17 00:00:00 2001
From: Subhaditya Nath <sn03.general@gmail.com>
Date: Fri, 10 Mar 2023 16:40:40 +0530
Subject: [PATCH 3/3] lsp-plugins: cross build

---
 srcpkgs/lsp-plugins/template | 17 +++++++++++++++--
 1 file changed, 15 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/lsp-plugins/template b/srcpkgs/lsp-plugins/template
index eff59a2f8f9d..66fed38860e6 100644
--- a/srcpkgs/lsp-plugins/template
+++ b/srcpkgs/lsp-plugins/template
@@ -15,10 +15,23 @@ 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=618aedf856e963b884ba2d1ac3809ef78056d521c3934387f20152ce45b67e4c
-nocross="Build system doesn't support cross-compilation properly"
 
 do_configure() {
-	make LD="$CXX" PREFIX=/usr config
+	make config \
+		PREFIX=/usr \
+		HOST_SO_FLAGS="" \
+		HOST_EXE_FLAGS="" \
+		HOST_LDFLAGS="$LDFLAGS_FOR_BUILD" \
+		HOST_CCFLAGS="$CCFLAGS_FOR_BUILD" \
+		HOST_CXXFLAGS="$CXXFLAGS_FOR_BUILD" \
+		HOST_AS="$AS_host" \
+		HOST_AR="$AR_host" \
+		HOST_CC="$CC_FOR_BUILD" \
+		HOST_CXX="$CXX_FOR_BUILD" \
+		HOST_PKG_CONFIG="$PKG_CONFIG_FOR_BUILD" \
+		ARCHITECTURE="$XBPS_TARGET_MACHINE" \
+		LD="$CXX" HOST_LD="$CXX_FOR_BUILD"
+
 }
 
 lsp-plugins-doc_package() {

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Lsp plugin cross
  2023-03-10 11:17 [PR PATCH] Lsp plugin cross subnut
@ 2023-03-10 11:18 ` subnut
  2023-03-10 11:18 ` [PR PATCH] [Closed]: " subnut
  1 sibling, 0 replies; 3+ messages in thread
From: subnut @ 2023-03-10 11:18 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 207 bytes --]

New comment by subnut on void-packages repository

https://github.com/void-linux/void-packages/pull/42688#issuecomment-1463658613

Comment:
Oops, sorry. Intended to open a PR on my own fork instead of here.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PR PATCH] [Closed]: Lsp plugin cross
  2023-03-10 11:17 [PR PATCH] Lsp plugin cross subnut
  2023-03-10 11:18 ` subnut
@ 2023-03-10 11:18 ` subnut
  1 sibling, 0 replies; 3+ messages in thread
From: subnut @ 2023-03-10 11:18 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1096 bytes --]

There's a closed pull request on the void-packages repository

Lsp plugin cross
https://github.com/void-linux/void-packages/pull/42688

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**|**briefly**|**NO**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-03-10 11:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-10 11:17 [PR PATCH] Lsp plugin cross subnut
2023-03-10 11:18 ` subnut
2023-03-10 11:18 ` [PR PATCH] [Closed]: " subnut

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).