Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] Carla: update to 2.5.8.
@ 2024-06-19 20:56 Rutpiv
  2024-06-19 21:16 ` Rutpiv
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Rutpiv @ 2024-06-19 20:56 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Rutpiv/void-packages Carla
https://github.com/void-linux/void-packages/pull/50900

Carla: update to 2.5.8.
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture (x86_64)
- I built this PR locally for these architectures using specific masterdirs:
  - x86_64-musl
  - i686
- I built this PR locally for these architectures (crossbuilds):
  - aarch64
  - aarch64-musl
  - armv7l
  - armv7l-musl


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-Carla-50900.patch --]
[-- Type: text/x-diff, Size: 4279 bytes --]

From 92ed1e1d931afb524fb64f85047a5b43cf3e3dd9 Mon Sep 17 00:00:00 2001
From: Roger Freitas Pereira <roger_freitas@live.com>
Date: Wed, 19 Jun 2024 17:43:51 -0300
Subject: [PATCH] Carla: update to 2.5.8.

---
 srcpkgs/Carla-bridge-win |   1 +
 srcpkgs/Carla/template   | 100 ++++++++++++++++++++++++++++++++++++---
 2 files changed, 94 insertions(+), 7 deletions(-)
 create mode 120000 srcpkgs/Carla-bridge-win
 mode change 100644 => 100755 srcpkgs/Carla/template

diff --git a/srcpkgs/Carla-bridge-win b/srcpkgs/Carla-bridge-win
new file mode 120000
index 00000000000000..817012ce210c37
--- /dev/null
+++ b/srcpkgs/Carla-bridge-win
@@ -0,0 +1 @@
+Carla
\ No newline at end of file
diff --git a/srcpkgs/Carla/template b/srcpkgs/Carla/template
old mode 100644
new mode 100755
index 9dee10b94a1f2a..3af215bc7429b4
--- a/srcpkgs/Carla/template
+++ b/srcpkgs/Carla/template
@@ -1,7 +1,7 @@
 # Template file for 'Carla'
 pkgname=Carla
-version=2.5.1
-revision=4
+version=2.5.8
+revision=1
 archs="x86_64* i686* aarch64* arm*"
 build_style=gnu-makefile
 pycompile_dirs="usr/share/carla"
@@ -16,19 +16,60 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-2.0-or-later"
 homepage="https://kx.studio/Applications:Carla"
 distfiles="https://github.com/falkTX/Carla/archive/v${version}.tar.gz"
-checksum=c47eea999b2880bde035fbc30d7b42b49234a81327127048a56967ec884dfdba
+checksum=4ec96d06342ff28da4b80d4a76bc08fcaa5703726f96e5174afcdc4f7fc6195d
 python_version=3
 
+build_options="win linux32"
+build_options_default=""
+desc_option_win="Enable building windows bridge"
+desc_option_linux32="Enable building linux32 bridge"
+
+subpackages="Carla-devel"
+
+if [ -z "$CROSS_BUILD" ]; then
+	case "$XBPS_TARGET_MACHINE" in
+        x86_64)
+            build_options_default+=" win linux32"
+            subpackages+=" Carla-bridge-win"
+		;;
+		i686)
+            build_options_default+=" win"
+            subpackages+=" Carla-bridge-win"
+		;;
+    esac
+fi
+
+if [ "$CROSS_BUILD" ]; then
+	hostmakedepends+=" Carla-devel qt5-host-tools"
+fi
+
+if [ "$build_option_win" ]; then
+	case $XBPS_TARGET_MACHINE in
+		x86_64)
+			hostmakedepends+=" cross-x86_64-w64-mingw32 wine-tools"
+			makedepends+=" wine-devel"
+		;;
+		i686)
+			hostmakedepends+=" cross-i686-w64-mingw32 wine-tools"
+			makedepends+=" wine-devel"
+		;;
+	esac
+fi
+
+if [ "$build_option_linux32" ]; then
+	case $XBPS_TARGET_MACHINE in
+		x86_64)
+			makedepends+=" gcc-multilib freetype-devel-32bit libX11-devel-32bit"
+		;;
+	esac
+fi
+
 case $XBPS_TARGET_MACHINE in
 	x86_64* | i686*);;
 	*) make_build_args+=" NOOPT=true"
 	   make_install_args+=" NOOPT=true";;
 esac
 
-if [ "$CROSS_BUILD" ]; then
-	hostmakedepends+=" Carla-devel"
-fi
-
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" libexecinfo-devel musl-fts-devel"
 	export LDFLAGS="-lfts"
@@ -45,6 +86,27 @@ pre_build() {
 	make ${make_build_args} features
 }
 
+post_build() {
+	if [ "$build_option_win" ]; then
+		case $XBPS_TARGET_MACHINE in
+			x86_64)
+				CXXFLAGS="" CFLAGS="" LDFLAGS="" \
+					make ${makejobs} ${make_build_args} win64 CC="x86_64-w64-mingw32-gcc" CXX="x86_64-w64-mingw32-g++"
+				make ${make_build_args} wine64
+			;;
+			i686)
+				CXXFLAGS="" CFLAGS="" LDFLAGS="" \
+					make ${makejobs} ${make_build_args} win32 CC="i686-w64-mingw32-gcc" CXX="i686-w64-mingw32-g++"
+				make ${make_build_args} wine32
+			;;
+		esac
+	fi
+
+	if [ "$build_option_linux32" ]; then
+		make posix32
+	fi
+}
+
 post_install() {
 	vbin bin/carla-lv2-export
 }
@@ -57,3 +119,27 @@ Carla-devel_package() {
 		vmove usr/include
 	}
 }
+
+Carla-bridge-win_package() {
+	lib32mode=full
+	lib32symlinks="carla/carla-bridge-win32.exe
+		carla/carla-discovery-win32.exe
+		carla/jackbridge-wine32.dll
+		vst/carla.vst/carla-bridge-win32.exe
+		vst/carla.vst/carla-carla-win32.exe
+		vst/carla.vst/jackbridge-wine32.dll
+		lv2/carla.lv2/carla-bridge-win32.exe
+		lv2/carla.lv2/carla-carla-win32.exe
+		lv2/carla.lv2/jackbridge-wine32.dll"
+
+	depends="Carla>=${version} wine"
+	short_desc+=" - windows bridge"
+	pkg_install() {
+		vmove usr/lib/carla/*.exe
+		vmove usr/lib/carla/*.dll
+		vmove usr/lib/vst/carla.vst/*.exe
+		vmove usr/lib/vst/carla.vst/*.dll
+		vmove usr/lib/lv2/carla.lv2/*.exe
+		vmove usr/lib/lv2/carla.lv2/*.dll
+	}
+}

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

* Re: Carla: update to 2.5.8.
  2024-06-19 20:56 [PR PATCH] Carla: update to 2.5.8 Rutpiv
@ 2024-06-19 21:16 ` Rutpiv
  2024-06-19 23:37 ` [PR PATCH] [Updated] " Rutpiv
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Rutpiv @ 2024-06-19 21:16 UTC (permalink / raw)
  To: ml

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

New comment by Rutpiv on void-packages repository

https://github.com/void-linux/void-packages/pull/50900#issuecomment-2179465894

Comment:
Resolve: #22243

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

* Re: [PR PATCH] [Updated] Carla: update to 2.5.8.
  2024-06-19 20:56 [PR PATCH] Carla: update to 2.5.8 Rutpiv
  2024-06-19 21:16 ` Rutpiv
@ 2024-06-19 23:37 ` Rutpiv
  2024-09-16 17:54 ` [PR PATCH] [Closed]: " Rutpiv
  2024-11-01  3:13 ` [PR PATCH] [Merged]: " classabbyamp
  3 siblings, 0 replies; 5+ messages in thread
From: Rutpiv @ 2024-06-19 23:37 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by Rutpiv against master on the void-packages repository

https://github.com/Rutpiv/void-packages Carla
https://github.com/void-linux/void-packages/pull/50900

Carla: update to 2.5.8.
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture (x86_64)
- I built this PR locally for these architectures using specific masterdirs:
  - x86_64-musl
  - i686
- I built this PR locally for these architectures (crossbuilds):
  - aarch64
  - aarch64-musl
  - armv7l
  - armv7l-musl


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-Carla-50900.patch --]
[-- Type: text/x-diff, Size: 4205 bytes --]

From a65eb6ba26dd21f0c23f2e09f563e1da8bc7ccca Mon Sep 17 00:00:00 2001
From: Roger Freitas Pereira <roger_freitas@live.com>
Date: Wed, 19 Jun 2024 17:43:51 -0300
Subject: [PATCH] Carla: update to 2.5.8.

---
 srcpkgs/Carla-bridge-win |  1 +
 srcpkgs/Carla/template   | 99 +++++++++++++++++++++++++++++++++++++---
 2 files changed, 93 insertions(+), 7 deletions(-)
 create mode 120000 srcpkgs/Carla-bridge-win
 mode change 100644 => 100755 srcpkgs/Carla/template

diff --git a/srcpkgs/Carla-bridge-win b/srcpkgs/Carla-bridge-win
new file mode 120000
index 00000000000000..817012ce210c37
--- /dev/null
+++ b/srcpkgs/Carla-bridge-win
@@ -0,0 +1 @@
+Carla
\ No newline at end of file
diff --git a/srcpkgs/Carla/template b/srcpkgs/Carla/template
old mode 100644
new mode 100755
index 9dee10b94a1f2a..e672a58ceaea7a
--- a/srcpkgs/Carla/template
+++ b/srcpkgs/Carla/template
@@ -1,7 +1,7 @@
 # Template file for 'Carla'
 pkgname=Carla
-version=2.5.1
-revision=4
+version=2.5.8
+revision=1
 archs="x86_64* i686* aarch64* arm*"
 build_style=gnu-makefile
 pycompile_dirs="usr/share/carla"
@@ -16,19 +16,59 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-2.0-or-later"
 homepage="https://kx.studio/Applications:Carla"
 distfiles="https://github.com/falkTX/Carla/archive/v${version}.tar.gz"
-checksum=c47eea999b2880bde035fbc30d7b42b49234a81327127048a56967ec884dfdba
+checksum=4ec96d06342ff28da4b80d4a76bc08fcaa5703726f96e5174afcdc4f7fc6195d
 python_version=3
 
+build_options="win linux32"
+desc_option_win="Enable building windows bridge"
+desc_option_linux32="Enable building linux32 bridge"
+
+subpackages="Carla-devel"
+
+if [ -z "$CROSS_BUILD" ]; then
+	case "$XBPS_TARGET_MACHINE" in
+		x86_64)
+			build_options_default=" win linux32"
+			subpackages+=" Carla-bridge-win"
+		;;
+		i686)
+			build_options_default=" win"
+			subpackages+=" Carla-bridge-win"
+		;;
+	esac
+fi
+
+if [ "$CROSS_BUILD" ]; then
+	hostmakedepends+=" Carla-devel qt5-host-tools"
+fi
+
+if [ "$build_option_win" ]; then
+	case $XBPS_TARGET_MACHINE in
+		x86_64)
+			hostmakedepends+=" cross-x86_64-w64-mingw32 wine-tools"
+			makedepends+=" wine-devel"
+		;;
+		i686)
+			hostmakedepends+=" cross-i686-w64-mingw32 wine-tools"
+			makedepends+=" wine-devel"
+		;;
+	esac
+fi
+
+if [ "$build_option_linux32" ]; then
+	case $XBPS_TARGET_MACHINE in
+		x86_64)
+			makedepends+=" gcc-multilib freetype-devel-32bit libX11-devel-32bit"
+		;;
+	esac
+fi
+
 case $XBPS_TARGET_MACHINE in
 	x86_64* | i686*);;
 	*) make_build_args+=" NOOPT=true"
 	   make_install_args+=" NOOPT=true";;
 esac
 
-if [ "$CROSS_BUILD" ]; then
-	hostmakedepends+=" Carla-devel"
-fi
-
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" libexecinfo-devel musl-fts-devel"
 	export LDFLAGS="-lfts"
@@ -45,6 +85,27 @@ pre_build() {
 	make ${make_build_args} features
 }
 
+post_build() {
+	if [ "$build_option_win" ]; then
+		case $XBPS_TARGET_MACHINE in
+			x86_64)
+				CXXFLAGS="" CFLAGS="" LDFLAGS="" \
+					make ${makejobs} ${make_build_args} win64 CC="x86_64-w64-mingw32-gcc" CXX="x86_64-w64-mingw32-g++"
+				make ${make_build_args} wine64
+			;;
+			i686)
+				CXXFLAGS="" CFLAGS="" LDFLAGS="" \
+					make ${makejobs} ${make_build_args} win32 CC="i686-w64-mingw32-gcc" CXX="i686-w64-mingw32-g++"
+				make ${make_build_args} wine32
+			;;
+		esac
+	fi
+
+	if [ "$build_option_linux32" ]; then
+		make posix32
+	fi
+}
+
 post_install() {
 	vbin bin/carla-lv2-export
 }
@@ -57,3 +118,27 @@ Carla-devel_package() {
 		vmove usr/include
 	}
 }
+
+Carla-bridge-win_package() {
+	lib32mode=full
+	lib32symlinks="carla/carla-bridge-win32.exe
+		carla/carla-discovery-win32.exe
+		carla/jackbridge-wine32.dll
+		vst/carla.vst/carla-bridge-win32.exe
+		vst/carla.vst/carla-carla-win32.exe
+		vst/carla.vst/jackbridge-wine32.dll
+		lv2/carla.lv2/carla-bridge-win32.exe
+		lv2/carla.lv2/carla-carla-win32.exe
+		lv2/carla.lv2/jackbridge-wine32.dll"
+
+	depends="Carla>=${version} wine"
+	short_desc+=" - windows bridge"
+	pkg_install() {
+		vmove usr/lib/carla/*.exe
+		vmove usr/lib/carla/*.dll
+		vmove usr/lib/vst/carla.vst/*.exe
+		vmove usr/lib/vst/carla.vst/*.dll
+		vmove usr/lib/lv2/carla.lv2/*.exe
+		vmove usr/lib/lv2/carla.lv2/*.dll
+	}
+}

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

* Re: [PR PATCH] [Closed]: Carla: update to 2.5.8.
  2024-06-19 20:56 [PR PATCH] Carla: update to 2.5.8 Rutpiv
  2024-06-19 21:16 ` Rutpiv
  2024-06-19 23:37 ` [PR PATCH] [Updated] " Rutpiv
@ 2024-09-16 17:54 ` Rutpiv
  2024-11-01  3:13 ` [PR PATCH] [Merged]: " classabbyamp
  3 siblings, 0 replies; 5+ messages in thread
From: Rutpiv @ 2024-09-16 17:54 UTC (permalink / raw)
  To: ml

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

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

Carla: update to 2.5.8.
https://github.com/void-linux/void-packages/pull/50900

Description:
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture (x86_64)
- I built this PR locally for these architectures using specific masterdirs:
  - x86_64-musl
  - i686
- I built this PR locally for these architectures (crossbuilds):
  - aarch64
  - aarch64-musl
  - armv7l
  - armv7l-musl


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

* Re: [PR PATCH] [Merged]: Carla: update to 2.5.8.
  2024-06-19 20:56 [PR PATCH] Carla: update to 2.5.8 Rutpiv
                   ` (2 preceding siblings ...)
  2024-09-16 17:54 ` [PR PATCH] [Closed]: " Rutpiv
@ 2024-11-01  3:13 ` classabbyamp
  3 siblings, 0 replies; 5+ messages in thread
From: classabbyamp @ 2024-11-01  3:13 UTC (permalink / raw)
  To: ml

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

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

Carla: update to 2.5.8.
https://github.com/void-linux/void-packages/pull/50900

Description:
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture (x86_64)
- I built this PR locally for these architectures using specific masterdirs:
  - x86_64-musl
  - i686
- I built this PR locally for these architectures (crossbuilds):
  - aarch64
  - aarch64-musl
  - armv7l
  - armv7l-musl


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

end of thread, other threads:[~2024-11-01  3:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-19 20:56 [PR PATCH] Carla: update to 2.5.8 Rutpiv
2024-06-19 21:16 ` Rutpiv
2024-06-19 23:37 ` [PR PATCH] [Updated] " Rutpiv
2024-09-16 17:54 ` [PR PATCH] [Closed]: " Rutpiv
2024-11-01  3:13 ` [PR PATCH] [Merged]: " classabbyamp

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