From 5c3837ab3e23cc6798dadf6c7443a69eec038062 Mon Sep 17 00:00:00 2001 From: Roger Freitas Pereira Date: Thu, 24 Jul 2025 21:38:57 -0300 Subject: [PATCH] Carla: revbump for python3-pyliblo3 --- srcpkgs/Carla/patches/pyliblo3.patch | 13 +++++++++++++ srcpkgs/Carla/template | 7 +++++-- 2 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/Carla/patches/pyliblo3.patch diff --git a/srcpkgs/Carla/patches/pyliblo3.patch b/srcpkgs/Carla/patches/pyliblo3.patch new file mode 100644 index 00000000000..801ea04af65 --- /dev/null +++ b/srcpkgs/Carla/patches/pyliblo3.patch @@ -0,0 +1,13 @@ +diff --git a/source/frontend/carla_host_control.py b/source/frontend/carla_host_control.py +index 00c6958..2d5d4da 100755 +--- a/source/frontend/carla_host_control.py ++++ b/source/frontend/carla_host_control.py +@@ -32,7 +32,7 @@ from carla_host import * + # ------------------------------------------------------------------------------------------------------------ + # Imports (liblo) + +-from liblo import ( ++from pyliblo3 import ( + Address, + AddressError, + ServerError, diff --git a/srcpkgs/Carla/template b/srcpkgs/Carla/template index d3079227e44..cc3d0774300 100755 --- a/srcpkgs/Carla/template +++ b/srcpkgs/Carla/template @@ -1,7 +1,7 @@ # Template file for 'Carla' pkgname=Carla version=2.5.9 -revision=1 +revision=2 archs="x86_64* i686* aarch64* arm*" build_style=gnu-makefile pycompile_dirs="usr/share/carla" @@ -10,7 +10,7 @@ makedepends="python3-PyQt5 libmagic file-devel libsndfile-devel liblo-devel alsa-lib-devel pulseaudio-devel libX11-devel gtk+3-devel gtk+-devel qt5-devel fluidsynth-devel fftw-devel zlib-devel python3-rdflib" -depends="python3 python3-PyQt5 python3-PyQt5-svg pyliblo which" +depends="python3 python3-PyQt5 python3-PyQt5-svg python3-pyliblo3 which" short_desc="Audio plugin host" maintainer="Rutpiv " license="GPL-2.0-or-later" @@ -25,6 +25,9 @@ desc_option_linux32="Enable building linux32 bridge" subpackages="Carla-devel" +CFLAGS="-D_LARGEFILE64_SOURCE" +CXXFLAGS="-D_LARGEFILE64_SOURCE" + if [ -z "$CROSS_BUILD" ]; then case "$XBPS_TARGET_MACHINE" in x86_64)