This commit is contained in:
Fijxu 2024-03-07 20:28:57 -03:00
commit e571c4fbe8
139 changed files with 8839 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{
"name": "dssi",
"rm-configure": true,
"config-opts": [
"--disable-static"
],
"cleanup": [
"/bin",
"/include",
"/lib/dssi",
"/lib/pkgconfig",
"/share/man",
"*.la"
],
"sources": [
{
"type": "archive",
"url": "http://download.sf.net/sourceforge/dssi/dssi-1.1.1.tar.gz",
"sha256": "f2c82b073a947c8255284249097667f9b14e660bf86186f3fcd3b3b3e087814e"
},
{
"type": "script",
"commands": [
"autoreconf -fiv"
],
"dest-filename": "autogen.sh"
}
]
}

View file

@ -0,0 +1,44 @@
{
"name": "fftw3f",
"config-opts": [
"--enable-threads",
"--enable-static",
"--disable-shared",
"--enable-float"
],
"build-options": {
"cflags": "-fPIC",
"arch": {
"x86_64": {
"config-opts": [
"--enable-sse2",
"--enable-avx",
"--enable-avx-128-fma"
]
},
"aarch64": {
"config-opts": [
"--enable-neon"
]
}
}
},
"sources": [
{
"type": "archive",
"url": "https://www.fftw.org/fftw-3.3.10.tar.gz",
"sha256": "56c932549852cddcfafdab3820b0200c7742675be92179e59e6215b340e26467"
}
],
"cleanup": [
"/bin",
"/include",
"/lib/cmake",
"/lib/pkgconfig",
"/share/info",
"/share/man",
"*.a",
"*.la",
"*.so"
]
}

View file

@ -0,0 +1,42 @@
{
"name": "fftw3f",
"config-opts": [
"--enable-threads",
"--enable-shared",
"--disable-static",
"--enable-float"
],
"build-options": {
"arch": {
"x86_64": {
"config-opts": [
"--enable-sse2",
"--enable-avx",
"--enable-avx-128-fma"
]
},
"aarch64": {
"config-opts": [
"--enable-neon"
]
}
}
},
"sources": [
{
"type": "archive",
"url": "https://www.fftw.org/fftw-3.3.10.tar.gz",
"sha256": "56c932549852cddcfafdab3820b0200c7742675be92179e59e6215b340e26467"
}
],
"cleanup": [
"/bin",
"/include",
"/lib/cmake",
"/lib/pkgconfig",
"/share/man",
"/share/info",
"*.la",
"*.so"
]
}

View file

@ -0,0 +1,29 @@
{
"name": "fluidsynth",
"buildsystem": "cmake-ninja",
"build-options": {
"cflags": "-fPIC",
"cxxflags": "-fPIC"
},
"config-opts": [
"-DBUILD_SHARED_LIBS=OFF",
"-Denable-jack=OFF",
"-Denable-pipewire=OFF"
],
"cleanup": [
"/bin",
"/include",
"/lib/cmake",
"/lib/pkgconfig",
"/share/man",
"*.so",
"*.a"
],
"sources": [
{
"type": "archive",
"url": "https://github.com/FluidSynth/fluidsynth/archive/v2.3.3.tar.gz",
"sha256": "321f7d3f72206b2522f30a1cb8ad1936fd4533ffc4d29dd335b1953c9fb371e6"
}
]
}

View file

@ -0,0 +1,19 @@
{
"name": "fluidsynth",
"buildsystem": "cmake-ninja",
"cleanup": [
"/bin",
"/include",
"/lib/cmake",
"/lib/pkgconfig",
"/share/man",
"*.so"
],
"sources": [
{
"type": "archive",
"url": "https://github.com/FluidSynth/fluidsynth/archive/v2.3.4.tar.gz",
"sha256": "1529ef5bc3b9ef3adc2a7964505912f7305103e269e50cc0316f500b22053ac9"
}
]
}

View file

@ -0,0 +1,20 @@
{
"name": "ladspa",
"no-autogen": true,
"subdir": "src",
"make-install-args": [
"INSTALL_PLUGINS_DIR=/app/lib/ladspa",
"INSTALL_INCLUDE_DIR=/app/include",
"INSTALL_BINARY_DIR=/app/bin"
],
"cleanup": [
"/include"
],
"sources": [
{
"type": "archive",
"url": "http://www.ladspa.org/download/ladspa_sdk_1.17.tgz",
"sha256": "27d24f279e4b81bd17ecbdcc38e4c42991bb388826c0b200067ce0eb59d3da5b"
}
]
}

View file

@ -0,0 +1,46 @@
{
"name": "lash",
"rm-configure": true,
"config-opts": [
"--disable-static",
"--disable-serv-inst",
"CFLAGS=-D_GNU_SOURCE"
],
"cleanup": [
"/include",
"/lib/pkgconfig",
"*.la"
],
"sources": [
{
"type": "archive",
"url": "https://download.savannah.gnu.org/releases/lash/lash-0.5.4.tar.gz",
"sha256": "105a7da84415c4725c6bcad28e70f23aeb4534f94fc80ca262b6a2cef2226c16"
},
{
"type": "patch",
"strip-components": 0,
"path": "patches/lash-0.5.3-no-static-lib.patch"
},
{
"type": "patch",
"path": "patches/lash-gcc47.patch"
},
{
"type": "patch",
"path": "patches/lash-linking.patch"
},
{
"type": "patch",
"strip-components": 0,
"path": "patches/lash-configure.patch"
},
{
"type": "script",
"commands": [
"autoreconf -fiv"
],
"dest-filename": "autogen.sh"
}
]
}

View file

@ -0,0 +1,19 @@
{
"name": "libinstpatch",
"buildsystem": "cmake-ninja",
"config-opts": [
"-DLIB_SUFFIX="
],
"cleanup": [
"/include",
"/lib/pkgconfig",
"/share/doc"
],
"sources": [
{
"type": "archive",
"url": "https://github.com/swami/libinstpatch/archive/v1.1.6.tar.gz",
"sha256": "8e9861b04ede275d712242664dab6ffa9166c7940fea3b017638681d25e10299"
}
]
}

View file

@ -0,0 +1,25 @@
{
"name": "liblo",
"cleanup": [
"/bin",
"/include",
"/lib/pkgconfig",
"*.la",
"*.a",
"*.so"
],
"build-options": {
"cflags": "-fPIC -Wno-error=use-after-free"
},
"config-opts": [
"--enable-static",
"--disable-shared"
],
"sources": [
{
"type": "archive",
"url": "http://download.sf.net/sourceforge/liblo/liblo-0.31.tar.gz",
"sha256": "2b4f446e1220dcd624ecd8405248b08b7601e9a0d87a0b94730c2907dbccc750"
}
]
}

View file

@ -0,0 +1,20 @@
{
"name": "liblo",
"build-options": {
"cflags": "-Wno-error=use-after-free"
},
"cleanup": [
"/bin",
"/include",
"/lib/pkgconfig",
"*.la",
"*.so"
],
"sources": [
{
"type": "archive",
"url": "http://download.sf.net/sourceforge/liblo/liblo-0.31.tar.gz",
"sha256": "2b4f446e1220dcd624ecd8405248b08b7601e9a0d87a0b94730c2907dbccc750"
}
]
}

View file

@ -0,0 +1,82 @@
{
"name": "lilv",
"buildsystem": "meson",
"modules": [
{
"name": "serd",
"buildsystem": "meson",
"sources": [
{
"type": "archive",
"url": "https://download.drobilla.net/serd-0.30.16.tar.xz",
"sha256": "f50f486da519cdd8d03b20c9e42414e459133f5a244411d8e63caef8d9ac9146"
}
],
"post-install": [
"install -Dm644 -t $FLATPAK_DEST/share/licenses/serd ../COPYING"
],
"cleanup": [
"/bin",
"/include",
"/lib/pkgconfig",
"/share/man"
]
},
{
"name": "sord",
"buildsystem": "meson",
"sources": [
{
"type": "archive",
"url": "https://download.drobilla.net/sord-0.16.14.tar.xz",
"sha256": "220fd97d5fcb216e7b85db66f685bfdaad7dc58a50d1f96dfb2558dbc6c4731b"
}
],
"post-install": [
"install -Dm644 -t $FLATPAK_DEST/share/licenses/sord ../COPYING"
],
"cleanup": [
"/bin",
"/include",
"/lib/pkgconfig",
"/share/doc",
"/share/man"
]
},
{
"name": "sratom",
"buildsystem": "meson",
"cleanup": [
"/include",
"/lib/pkgconfig"
],
"sources": [
{
"type": "archive",
"url": "https://download.drobilla.net/sratom-0.6.14.tar.xz",
"sha256": "9982faf40db83aedd9b3850e499fecd6852b8b4ba6dede514013655cffaca1e6"
}
],
"post-install": [
"install -Dm644 -t $FLATPAK_DEST/share/licenses/sratom ../COPYING"
]
}
],
"sources": [
{
"type": "archive",
"url": "https://download.drobilla.net/lilv-0.24.20.tar.xz",
"sha256": "4fb082b9b8b286ea92bbb71bde6b75624cecab6df0cc639ee75a2a096212eebc"
}
],
"post-install": [
"install -Dm644 -t $FLATPAK_DEST/share/licenses/lilv ../COPYING"
],
"cleanup": [
"/bin",
"/etc",
"/include",
"/lib/pkgconfig",
"/share/man"
]
}

View file

@ -0,0 +1,57 @@
{
"name": "lrdf",
"rm-configure": true,
"cleanup": [
"/include",
"/lib/pkgconfig",
"*.so",
"*.la",
"/share/man"
],
"config-opts": [
"--disable-static"
],
"modules": [
"ladspa.json",
{
"name": "raptor2",
"cleanup": [
"/include",
"/lib/pkgconfig",
"*.la",
"/share/gtk-doc",
"*.so",
"/share/man"
],
"config-opts": [
"--disable-static"
],
"sources": [
{
"type": "archive",
"url": "https://download.librdf.org/source/raptor2-2.0.16.tar.gz",
"sha256": "089db78d7ac982354bdbf39d973baf09581e6904ac4c92a98c5caadb3de44680"
},
{
"type": "patch",
"path": "patches/raptor-libxml.patch"
}
]
}
],
"sources": [
{
"type": "archive",
"url": "https://github.com/swh/LRDF/tarball/0.5.0",
"dest-filename": "swh-LRDF-0.5.0-0-g7ebc032.tar.gz",
"sha256": "013002b91ef209827fe99552b8c7f0b569cddb3d6f1439bedbd8bafe1956a93c"
},
{
"type": "script",
"commands": [
"autoreconf -fiv"
],
"dest-filename": "autogen.sh"
}
]
}

View file

@ -0,0 +1,21 @@
{
"name": "lv2",
"buildsystem": "meson",
"cleanup": [
"/bin",
"/include",
"/lib/pkgconfig",
"/share"
],
"sources": [
{
"type": "archive",
"url": "https://lv2plug.in/spec/lv2-1.18.10.tar.xz",
"sha256": "78c51bcf21b54e58bb6329accbb4dae03b2ed79b520f9a01e734bd9de530953f"
}
],
"post-install": [
"install -Dm644 -t $FLATPAK_DEST/share/licenses/lv2 ../COPYING",
"ln -sf lv2.pc $FLATPAK_DEST/lib/pkgconfig/lv2core.pc"
]
}

View file

@ -0,0 +1,10 @@
--- lash-1.0.pc.in~ 2007-10-07 06:33:27.000000000 -0700
+++ lash-1.0.pc.in 2007-10-07 06:35:00.000000000 -0700
@@ -7,6 +7,5 @@
Description: Audio session management
Requires: @PC_REQUIRES@
Version: @PACKAGE_VERSION@
-Libs: -llash
-Libs.static: -lpthread -luuid
+Libs: -llash -lpthread -luuid
Cflags: -I${includedir}/lash-1.0

View file

@ -0,0 +1,11 @@
--- configure.ac 2007-11-14 16:58:51.000000000 -0500
+++ configure.ac.new 2019-01-24 13:48:46.284377086 -0500
@@ -2,7 +2,7 @@
AC_CONFIG_SRCDIR([lash/types.h])
AC_CONFIG_HEADER([config.h])
AM_INIT_AUTOMAKE
-AM_ACLOCAL_INCLUDE([m4])
+dnl AM_ACLOCAL_INCLUDE([m4])
### Check for programs ###
AC_LANG([C])

View file

@ -0,0 +1,11 @@
diff -rupN lash-0.5.4.old/liblash/lash.c lash-0.5.4/liblash/lash.c
--- lash-0.5.4.old/liblash/lash.c 2007-03-09 10:34:40.000000000 -0500
+++ lash-0.5.4/liblash/lash.c 2012-07-22 18:17:46.003963521 -0400
@@ -22,6 +22,7 @@
#include <string.h>
#include <strings.h>
#include <pthread.h>
+#include <sys/resource.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <sys/socket.h>

View file

@ -0,0 +1,90 @@
diff -rupN lash-0.5.4.old/clients/control/Makefile.am lash-0.5.4/clients/control/Makefile.am
--- lash-0.5.4.old/clients/control/Makefile.am 2007-01-13 13:20:03.000000000 -0500
+++ lash-0.5.4/clients/control/Makefile.am 2010-02-10 03:08:04.000000000 -0500
@@ -18,6 +18,6 @@ lash_control_CFLAGS = $(LASH_CFLAGS)
lash_control_LDADD = \
$(top_builddir)/liblash/liblash.la \
- $(LASH_LIBS) @READLINE_LIBS@
+ $(LASH_LIBS) @READLINE_LIBS@ -luuid
endif
diff -rupN lash-0.5.4.old/clients/control/Makefile.in lash-0.5.4/clients/control/Makefile.in
--- lash-0.5.4.old/clients/control/Makefile.in 2007-11-14 17:00:09.000000000 -0500
+++ lash-0.5.4/clients/control/Makefile.in 2010-02-10 03:09:26.000000000 -0500
@@ -236,7 +236,7 @@ AM_CPPFLAGS = -I$(top_srcdir)
@HAVE_READLINE_TRUE@lash_control_CFLAGS = $(LASH_CFLAGS)
@HAVE_READLINE_TRUE@lash_control_LDADD = \
@HAVE_READLINE_TRUE@ $(top_builddir)/liblash/liblash.la \
-@HAVE_READLINE_TRUE@ $(LASH_LIBS) @READLINE_LIBS@
+@HAVE_READLINE_TRUE@ $(LASH_LIBS) @READLINE_LIBS@ -luuid
all: all-am
diff -rupN lash-0.5.4.old/clients/panel/Makefile.am lash-0.5.4/clients/panel/Makefile.am
--- lash-0.5.4.old/clients/panel/Makefile.am 2005-09-13 01:22:59.000000000 -0400
+++ lash-0.5.4/clients/panel/Makefile.am 2010-02-10 03:17:10.000000000 -0500
@@ -13,7 +13,7 @@ lash_panel_CFLAGS = \
lash_panel_LDADD = \
$(top_builddir)/liblash/liblash.la \
- $(GTK2_LIBS)
+ $(GTK2_LIBS) -luuid
if HAVE_GTK2
bin_PROGRAMS = lash_panel
diff -rupN lash-0.5.4.old/clients/panel/Makefile.in lash-0.5.4/clients/panel/Makefile.in
--- lash-0.5.4.old/clients/panel/Makefile.in 2007-11-14 17:00:09.000000000 -0500
+++ lash-0.5.4/clients/panel/Makefile.in 2010-02-10 03:17:23.000000000 -0500
@@ -230,7 +230,7 @@ lash_panel_CFLAGS = \
lash_panel_LDADD = \
$(top_builddir)/liblash/liblash.la \
- $(GTK2_LIBS)
+ $(GTK2_LIBS) -luuid
all: all-am
diff -rupN lash-0.5.4.old/clients/synth/Makefile.am lash-0.5.4/clients/synth/Makefile.am
--- lash-0.5.4.old/clients/synth/Makefile.am 2005-09-13 01:22:59.000000000 -0400
+++ lash-0.5.4/clients/synth/Makefile.am 2010-02-10 03:22:39.000000000 -0500
@@ -20,4 +20,4 @@ lash_synth_LDADD = \
$(JACK_LIBS) \
$(ALSA_LIBS) \
$(GTK2_LIBS) \
- -lpthread
+ -lpthread -lm
diff -rupN lash-0.5.4.old/clients/synth/Makefile.in lash-0.5.4/clients/synth/Makefile.in
--- lash-0.5.4.old/clients/synth/Makefile.in 2007-11-14 17:00:10.000000000 -0500
+++ lash-0.5.4/clients/synth/Makefile.in 2010-02-10 03:22:51.000000000 -0500
@@ -238,7 +238,7 @@ lash_synth_LDADD = \
$(JACK_LIBS) \
$(ALSA_LIBS) \
$(GTK2_LIBS) \
- -lpthread
+ -lpthread -lm
all: all-am
diff -rupN lash-0.5.4.old/lashd/Makefile.am lash-0.5.4/lashd/Makefile.am
--- lash-0.5.4.old/lashd/Makefile.am 2006-09-16 16:27:46.000000000 -0400
+++ lash-0.5.4/lashd/Makefile.am 2010-07-23 15:13:59.000000000 -0400
@@ -32,6 +32,7 @@ lashd_LDADD = \
$(ALSA_LIBS) \
$(XML2_LIBS) \
$(UUID_LIBS) \
+ -lpthread \
$(top_builddir)/liblash/liblash.la
lashd_CFLAGS = \
diff -rupN lash-0.5.4.old/lashd/Makefile.in lash-0.5.4/lashd/Makefile.in
--- lash-0.5.4.old/lashd/Makefile.in 2007-11-14 17:00:10.000000000 -0500
+++ lash-0.5.4/lashd/Makefile.in 2010-07-23 15:14:29.000000000 -0400
@@ -262,6 +262,7 @@ lashd_LDADD = \
$(ALSA_LIBS) \
$(XML2_LIBS) \
$(UUID_LIBS) \
+ -lpthread \
$(top_builddir)/liblash/liblash.la
lashd_CFLAGS = \

View file

@ -0,0 +1,31 @@
From 4dbc4c1da2a033c497d84a1291c46f416a9cac51 Mon Sep 17 00:00:00 2001
From: David Anes <david.anes@suse.com>
Date: Thu, 4 May 2023 11:54:02 +0200
Subject: [PATCH] Remove the access to entities 'checked' private symbol for
libxml2 2.11.0
Since version 2.11.0, some private symbols that were never intended
as public API/ABI have been removed from libxml2, therefore the field
'checked' is no longer present and raptor fails to build in this
scenario.
---
src/raptor_libxml.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/raptor_libxml.c b/src/raptor_libxml.c
index 538c2c8e..8bcee139 100644
--- a/src/raptor_libxml.c
+++ b/src/raptor_libxml.c
@@ -246,10 +246,11 @@ raptor_libxml_getEntity(void* user_data, const xmlChar *name)
ret->owner = 1;
-#if LIBXML_VERSION >= 20627
+#if LIBXML_VERSION >= 20627 && LIBXML_VERSION < 21100
/* Checked field was released in 2.6.27 on 2006-10-25
* http://git.gnome.org/browse/libxml2/commit/?id=a37a6ad91a61d168ecc4b29263def3363fff4da6
*
+ * and was later removed in version 2.11.0
*/
/* Mark this entity as having been checked - never do this again */

View file

@ -0,0 +1,54 @@
INCLUDE_DIR=/app/include
DATA_DIR=/app/share
LIB_DIR=/app/lib
BIN_DIR=/app/bin
install -Dm644 -t $INCLUDE_DIR/stk include/*
install -Dm644 -t $LIB_DIR src/libstk.*
install -Dm644 -t $DATA_DIR/stk/rawwaves rawwaves/*.raw
#cp -pr projects/demo/tcl $DATA_DIR/stk/demo
#cp -pr projects/demo/scores $DATA_DIR/stk/demo
#cp -p projects/demo/demo $BIN_DIR/stk-demo
#cp -p projects/demo/Md2Skini $BIN_DIR/Md2Skini
#for f in Banded Drums Modal Physical Shakers StkDemo Voice ; do
# chmod +x projects/demo/$f
# sed -e 's,\./demo,$BIN_DIR/stk-demo,' -e '1i#! /bin/sh' \
# -i projects/demo/$f
# cp -p projects/demo/$f $DATA_DIR/stk/demo
#done
#cp -pr projects/examples/midifiles $DATA_DIR/stk/examples
#cp -pr projects/examples/rawwaves $DATA_DIR/stk/examples
#cp -pr projects/examples/scores $DATA_DIR/stk/examples
#for f in sine sineosc foursine audioprobe midiprobe duplex play \
# record inetIn inetOut rtsine crtsine bethree controlbee \
# threebees playsmf grains ; do
# cp -p projects/examples/$f $BIN_DIR/stk-$f
# # absolute links, will be shortened later
# ln -s $BIN_DIR/stk-$f $DATA_DIR/stk/examples/$f
#done
install -Dm644 -t $DATA_DIR/stk/effects projects/effects/tcl
install -Dm644 -t $BIN_DIR/stk-effects projects/effects/effects
sed -e 's,\./effects,$BIN_DIR/stk-effects,' -e '1i#! /bin/sh' \
-i projects/effects/StkEffects
install -Dm644 -t $DATA_DIR/stk/effects projects/effects/StkEffects
install -Dm644 -t $DATA_DIR/stk/ragamatic projects/ragamatic/tcl
install -Dm644 -t $DATA_DIR/stk/ragamatic projects/ragamatic/rawwaves
install -Dm644 -t $BIN_DIR/stk-ragamat projects/ragamatic/ragamat
sed -e 's,\./ragamat,$BIN_DIR/stk-ragamat,' -e '1i#! /bin/sh' \
-i projects/ragamatic/Raga
install -Dm644 -t $DATA_DIR/stk/ragamatic projects/ragamatic/Raga
install -Dm644 -t $DATA_DIR/stk/eguitar projects/eguitar/tcl
install -Dm644 -t $DATA_DIR/stk/eguitar projects/eguitar/scores
install -Dm644 -t $BIN_DIR/stk-eguitar projects/eguitar/eguitar
sed -e 's,\./eguitar,$BIN_DIR/stk-eguitar,' -e '1i#! /bin/sh' \
-i projects/eguitar/ElectricGuitar
install -Dm644 -t $DATA_DIR/stk/eguitar projects/eguitar/ElectricGuitar

View file

@ -0,0 +1,28 @@
{
"name": "stk",
"build-commands": [
"make -j $FLATPAK_BUILDER_N_JOBS -C src",
"make -j $FLATPAK_BUILDER_N_JOBS -C projects/effects libeffects",
"make -j $FLATPAK_BUILDER_N_JOBS -C projects/ragamatic libragamat",
"make -j $FLATPAK_BUILDER_N_JOBS -C projects/eguitar libeguitar"
],
"post-install": [
"sh ./stk-install.sh"
],
"cleanup": [
"/bin/*",
"/include",
"*.a"
],
"sources": [
{
"type": "archive",
"url": "http://ccrma.stanford.edu/software/stk/release/stk-4.6.1.tar.gz",
"sha256": "e77ba3c80cdd93ca02c34098b9b7f918df3d648c87f1ed5d94fe854debd6d101"
},
{
"type": "file",
"path": "patches/stk-install.sh"
}
]
}