@@ -0,0 +1,5 @@ | |||||
fftw3-static (6:3.3.10-1kxstudio1) focal; urgency=medium | |||||
* Initial package | |||||
-- falkTX <falktx@falktx.com> Sun, 17 Apr 2022 15:05:47 +0100 |
@@ -0,0 +1,23 @@ | |||||
Source: fftw3-static | |||||
Section: libs | |||||
Priority: optional | |||||
Maintainer: falkTX <falktx@falktx.com> | |||||
Build-Depends: debhelper-compat (= 13), | |||||
kxstudio-build-scripts, | |||||
autoconf, | |||||
automake, | |||||
libtool, | |||||
pkg-config | |||||
Standards-Version: 4.5.0 | |||||
Homepage: https://fftw.org/ | |||||
Rules-Requires-Root: no | |||||
Package: fftw3-static | |||||
Architecture: any | |||||
Depends: ${misc:Depends}, ${shlibs:Depends} | |||||
Description: Library for computing Fast Fourier Transforms (static) | |||||
The FFTW library computes Fast Fourier Transforms (FFT) in one or more | |||||
dimensions. It is extremely fast. | |||||
. | |||||
This package provides the static library used in KXStudio builds, in both | |||||
single and double precisions. |
@@ -0,0 +1,56 @@ | |||||
diff --git a/api/apiplan.c b/api/apiplan.c | |||||
index b8642a9..c7df958 100644 | |||||
--- a/api/apiplan.c | |||||
+++ b/api/apiplan.c | |||||
@@ -20,7 +20,50 @@ | |||||
#include "api/api.h" | |||||
-static planner_hook_t before_planner_hook = 0, after_planner_hook = 0; | |||||
+#if defined(__WIN32__) || defined(_WIN32) || defined(_WINDOWS) | |||||
+/* hack: windef.h defines INT for its own purposes and this causes | |||||
+ a conflict with our own INT in ifftw.h. Divert the windows | |||||
+ definition into another name unlikely to cause a conflict */ | |||||
+#define INT magnus_ab_INTegro_seclorum_nascitur_ordo | |||||
+#include <windows.h> | |||||
+#include <process.h> | |||||
+#include <intrin.h> | |||||
+#undef INT | |||||
+ | |||||
+/* windows does not have statically-initialized mutexes---fake a | |||||
+ spinlock */ | |||||
+static volatile LONG planner_mutex = 0; | |||||
+ | |||||
+static void lock_planner_mutex(void) | |||||
+{ | |||||
+ while (InterlockedExchange(&planner_mutex, 1) == 1) { | |||||
+ YieldProcessor(); | |||||
+ Sleep(0); | |||||
+ } | |||||
+} | |||||
+ | |||||
+static void unlock_planner_mutex(void) | |||||
+{ | |||||
+ LONG old = InterlockedExchange(&planner_mutex, 0); | |||||
+ A(old == 1); | |||||
+} | |||||
+#else | |||||
+#include <pthread.h> | |||||
+ | |||||
+static pthread_mutex_t planner_mutex = PTHREAD_MUTEX_INITIALIZER; | |||||
+ | |||||
+static void lock_planner_mutex(void) | |||||
+{ | |||||
+ pthread_mutex_lock(&planner_mutex); | |||||
+} | |||||
+ | |||||
+static void unlock_planner_mutex(void) | |||||
+{ | |||||
+ pthread_mutex_unlock(&planner_mutex); | |||||
+} | |||||
+#endif | |||||
+ | |||||
+static planner_hook_t before_planner_hook = lock_planner_mutex, after_planner_hook = unlock_planner_mutex; | |||||
void X(set_planner_hooks)(planner_hook_t before, planner_hook_t after) | |||||
{ |
@@ -0,0 +1,10 @@ | |||||
--- fftw3-static-3.3.5~git20160520.orig/fftw.pc.in | |||||
+++ fftw3-static-3.3.5~git20160520/fftw.pc.in | |||||
@@ -6,6 +6,6 @@ includedir=@includedir@ | |||||
Name: FFTW | |||||
Description: fast Fourier transform library | |||||
Version: @VERSION@ | |||||
-Libs: -L${libdir} -lfftw3@PREC_SUFFIX@ @LIBQUADMATH@ | |||||
+Libs: -L${libdir} -lfftw3@PREC_SUFFIX@ @LIBQUADMATH@ -lpthread -lm | |||||
Libs.private: -lm | |||||
Cflags: -I${includedir} |
@@ -0,0 +1,59 @@ | |||||
diff --git a/simd-support/neon.c b/simd-support/neon.c | |||||
index 196959c..fe04dd4 100644 | |||||
--- a/simd-support/neon.c | |||||
+++ b/simd-support/neon.c | |||||
@@ -23,54 +23,9 @@ | |||||
#if HAVE_NEON | |||||
-/* check for an environment where signals are known to work */ | |||||
-#if defined(unix) || defined(linux) | |||||
- # include <signal.h> | |||||
- # include <setjmp.h> | |||||
- | |||||
- static jmp_buf jb; | |||||
- | |||||
- static void sighandler(int x) | |||||
- { | |||||
- UNUSED(x); | |||||
- longjmp(jb, 1); | |||||
- } | |||||
- | |||||
- static int really_have_neon(void) | |||||
- { | |||||
- void (*oldsig)(int); | |||||
- oldsig = signal(SIGILL, sighandler); | |||||
- if (setjmp(jb)) { | |||||
- signal(SIGILL, oldsig); | |||||
- return 0; | |||||
- } else { | |||||
- /* paranoia: encode the instruction in binary because the | |||||
- assembler may not recognize it without -mfpu=neon */ | |||||
- /*asm volatile ("vand q0, q0, q0");*/ | |||||
- asm volatile (".long 0xf2000150"); | |||||
- signal(SIGILL, oldsig); | |||||
- return 1; | |||||
- } | |||||
- } | |||||
- | |||||
- int X(have_simd_neon)(void) | |||||
- { | |||||
- static int init = 0, res; | |||||
- | |||||
- if (!init) { | |||||
- res = really_have_neon(); | |||||
- init = 1; | |||||
- } | |||||
- return res; | |||||
- } | |||||
- | |||||
- | |||||
-#else | |||||
-/* don't know how to autodetect NEON; assume it is present */ | |||||
int X(have_simd_neon)(void) | |||||
{ | |||||
return 1; | |||||
} | |||||
-#endif | |||||
#endif |
@@ -0,0 +1,3 @@ | |||||
01_static-planner-thread-safe.patch | |||||
02_force-pthread-libs.patch | |||||
03_assume-neon-is-present.patch |
@@ -0,0 +1,68 @@ | |||||
#!/usr/bin/make -f | |||||
KXSTUDIO_NO_SSE = y | |||||
include /usr/share/dpkg/kxstudio.mk | |||||
BASE_CONFIG = \ | |||||
--disable-maintainer-mode \ | |||||
--prefix=/opt/kxstudio/ \ | |||||
--enable-static \ | |||||
--disable-shared \ | |||||
--disable-debug \ | |||||
--disable-doc \ | |||||
--enable-threads | |||||
ifeq ($(DEB_HOST_ARCH),armhf) | |||||
BASE_CONFIG += --with-slow-timer | |||||
EXTRA_CONFIG_SINGLE = --enable-neon | |||||
EXTRA_CONFIG_DOUBLE = | |||||
else ifeq ($(DEB_HOST_ARCH),arm64) | |||||
BASE_CONFIG += --with-slow-timer | |||||
EXTRA_CONFIG_SINGLE = --enable-neon | |||||
EXTRA_CONFIG_DOUBLE = --enable-neon | |||||
else | |||||
EXTRA_CONFIG_SINGLE = --enable-avx --enable-sse2 --enable-sse | |||||
EXTRA_CONFIG_DOUBLE = --enable-avx --enable-sse2 | |||||
endif | |||||
override_dh_autoreconf: | |||||
# skip | |||||
override_dh_auto_configure: | |||||
# skip | |||||
override_dh_auto_build: | |||||
# skip | |||||
override_dh_auto_test: | |||||
# skip | |||||
override_dh_auto_install: | |||||
# single | |||||
./configure $(BASE_CONFIG) $(EXTRA_CONFIG_SINGLE) --enable-single | |||||
$(MAKE) install DESTDIR=$(CURDIR)/debian/fftw3-static | |||||
$(MAKE) -C tests smallcheck | |||||
$(MAKE) clean | |||||
# double | |||||
./configure $(BASE_CONFIG) $(EXTRA_CONFIG_DOUBLE) | |||||
$(MAKE) install DESTDIR=$(CURDIR)/debian/fftw3-static | |||||
$(MAKE) -C tests smallcheck | |||||
$(MAKE) clean | |||||
# remove unwanted files | |||||
rm $(CURDIR)/debian/fftw3-static/opt/kxstudio/lib/*.la | |||||
override_dh_auto_clean: | |||||
dh_auto_clean | |||||
rm -f config.log | |||||
rm -f FFTW3Config.cmake | |||||
rm -f FFTW3ConfigVersion.cmake | |||||
rm -f FFTW3fConfig.cmake | |||||
rm -f FFTW3fConfigVersion.cmake | |||||
rm -f fftw3.pc | |||||
rm -f fftw3f.pc | |||||
rm -f tools/fftw-wisdom.1 | |||||
%: | |||||
dh $@ |
@@ -0,0 +1 @@ | |||||
3.0 (quilt) |
@@ -0,0 +1,5 @@ | |||||
lame-static (6:3.100-1kxstudio2) focal; urgency=medium | |||||
* Initial package | |||||
-- falkTX <falktx@falktx.com> Sun, 17 Apr 2022 15:05:47 +0100 |
@@ -0,0 +1,24 @@ | |||||
Source: lame-static | |||||
Section: libs | |||||
Priority: optional | |||||
Maintainer: falkTX <falktx@falktx.com> | |||||
Build-Depends: debhelper-compat (= 13), | |||||
kxstudio-build-scripts, | |||||
autoconf, | |||||
automake, | |||||
libtool, | |||||
pkg-config | |||||
Standards-Version: 4.5.0 | |||||
Homepage: http://lame.sourceforge.net/ | |||||
Rules-Requires-Root: no | |||||
Package: libmp3lame-static | |||||
Architecture: any | |||||
Depends: ${misc:Depends} | |||||
Description: MP3 encoding library (static) | |||||
LAME (recursive acronym for "LAME Ain't an MP3 Encoder") is a research | |||||
project for learning about and improving MP3 encoding technology. | |||||
LAME includes an MP3 encoding library, a simple frontend application, | |||||
and other tools for sound analysis, as well as convenience tools. | |||||
. | |||||
This package provides the static library used in KXStudio builds. |
@@ -0,0 +1,25 @@ | |||||
Description: Fix warning on 64 bit machines. Explicitly set variables as | |||||
unsigned ints. | |||||
Origin: http://git.debian.org/?p=pkg-multimedia/lame.git;a=blob;f=debian/patches/07-field-width-fix.patch | |||||
Forwarded: commit:1.282 | |||||
Applied-Upstream: commit:1.282 | |||||
--- a/frontend/parse.c | |||||
+++ b/frontend/parse.c | |||||
@@ -402,11 +402,11 @@ lame_version_print(FILE * const fp) | |||||
const char *b = get_lame_os_bitness(); | |||||
const char *v = get_lame_version(); | |||||
const char *u = get_lame_url(); | |||||
- const size_t lenb = strlen(b); | |||||
- const size_t lenv = strlen(v); | |||||
- const size_t lenu = strlen(u); | |||||
- const size_t lw = 80; /* line width of terminal in characters */ | |||||
- const size_t sw = 16; /* static width of text */ | |||||
+ const unsigned int lenb = strlen(b); | |||||
+ const unsigned int lenv = strlen(v); | |||||
+ const unsigned int lenu = strlen(u); | |||||
+ const unsigned int lw = 80; /* line width of terminal in characters */ | |||||
+ const unsigned int sw = 16; /* static width of text */ | |||||
if (lw >= lenb + lenv + lenu + sw || lw < lenu + 2) | |||||
/* text fits in 80 chars per line, or line even too small for url */ |
@@ -0,0 +1 @@ | |||||
07-field-width-fix.patch |
@@ -0,0 +1,19 @@ | |||||
#!/usr/bin/make -f | |||||
KXSTUDIO_NO_FASTMATH = y | |||||
include /usr/share/dpkg/kxstudio.mk | |||||
override_dh_auto_configure: | |||||
./configure --disable-maintainer-mode \ | |||||
--prefix=/opt/kxstudio \ | |||||
--enable-static \ | |||||
--disable-shared | |||||
override_dh_auto_install: | |||||
dh_auto_install | |||||
# remove unwanted files | |||||
rm $(CURDIR)/debian/libmp3lame-static/opt/kxstudio/lib/libmp3lame.la | |||||
rm -r $(CURDIR)/debian/libmp3lame-static/opt/kxstudio/share/doc | |||||
%: | |||||
dh $@ |
@@ -0,0 +1 @@ | |||||
3.0 (quilt) |
@@ -0,0 +1,5 @@ | |||||
liblo-static (6:0.31-1kxstudio1) focal; urgency=medium | |||||
* Initial package | |||||
-- falkTX <falktx@falktx.com> Sun, 17 Apr 2022 15:05:47 +0100 |
@@ -0,0 +1,59 @@ | |||||
Source: liblo-static | |||||
Section: libs | |||||
Priority: optional | |||||
Maintainer: falkTX <falktx@falktx.com> | |||||
Build-Depends: debhelper-compat (= 13), | |||||
kxstudio-build-scripts, | |||||
autoconf, | |||||
automake, | |||||
libtool | |||||
Standards-Version: 4.5.0 | |||||
Homepage: https://github.com/radarsat1/liblo | |||||
Rules-Requires-Root: no | |||||
Package: liblo-static | |||||
Architecture: any | |||||
Depends: ${misc:Depends} | |||||
Description: Lightweight OSC library (static) | |||||
LibLO is a lightweight, easy to use implementation of the OSC (Open | |||||
Sound Control) protocol (see | |||||
<https://www.cnmat.berkeley.edu/OpenSoundControl/> for details). | |||||
. | |||||
Open Sound Control (OSC) is a protocol for communication among | |||||
computers, sound synthesizers, and other multimedia devices that is | |||||
optimized for modern networking technology. OSC features: | |||||
. | |||||
* Open-ended, dynamic, URL-style symbolic naming scheme | |||||
* Symbolic and high-resolution numeric argument data | |||||
* Pattern matching language to specify multiple recipients of a | |||||
single message | |||||
* High resolution time tags | |||||
* "Bundles" of messages whose effects must occur simultaneously | |||||
* Query system to dynamically find out the capabilities of an OSC | |||||
server and get documentation | |||||
. | |||||
This package provides the static library used in KXStudio builds. | |||||
Package: liblo-tools | |||||
Section: utils | |||||
Architecture: any | |||||
Depends: ${misc:Depends}, ${shlibs:Depends} | |||||
Description: Lightweight OSC library | |||||
LibLO is a lightweight, easy to use implementation of the OSC (Open | |||||
Sound Control) protocol (see | |||||
<https://www.cnmat.berkeley.edu/OpenSoundControl/> for details). | |||||
. | |||||
Open Sound Control (OSC) is a protocol for communication among | |||||
computers, sound synthesizers, and other multimedia devices that is | |||||
optimized for modern networking technology. OSC features: | |||||
. | |||||
* Open-ended, dynamic, URL-style symbolic naming scheme | |||||
* Symbolic and high-resolution numeric argument data | |||||
* Pattern matching language to specify multiple recipients of a | |||||
single message | |||||
* High resolution time tags | |||||
* "Bundles" of messages whose effects must occur simultaneously | |||||
* Query system to dynamically find out the capabilities of an OSC | |||||
server and get documentation | |||||
. | |||||
This package contains the tools included with the library. |
@@ -0,0 +1,9 @@ | |||||
--- liblo-static-0.27+svn231.orig/liblo.pc.in | |||||
+++ liblo-static-0.27+svn231/liblo.pc.in | |||||
@@ -6,5 +6,5 @@ includedir=@includedir@ | |||||
Name: liblo | |||||
Version: @PACKAGE_VERSION@ | |||||
Description: A lightweight OSC server/client library | |||||
-Libs: -L${libdir} -llo @LIBPTHREAD@ @extralibs@ | |||||
+Libs: -L${libdir} -llo @LIBPTHREAD@ @extralibs@ -lm | |||||
Cflags: -I${includedir} |
@@ -0,0 +1 @@ | |||||
01_force-libs.patch |
@@ -0,0 +1,30 @@ | |||||
#!/usr/bin/make -f | |||||
KXSTUDIO_NO_FASTMATH = y | |||||
include /usr/share/dpkg/kxstudio.mk | |||||
override_dh_autoreconf: | |||||
test -e README || ln -v README.md README | |||||
dh_autoreconf | |||||
override_dh_autoreconf_clean: | |||||
rm -f README | |||||
dh_autoreconf_clean | |||||
override_dh_auto_configure: | |||||
# env NOCONFIGURE=1 ./autogen.sh | |||||
./configure --disable-maintainer-mode \ | |||||
--prefix=/opt/kxstudio \ | |||||
--enable-static \ | |||||
--disable-shared \ | |||||
--enable-tests \ | |||||
--enable-examples \ | |||||
--disable-network-tests | |||||
override_dh_auto_install: | |||||
dh_auto_install | |||||
# remove unwanted files | |||||
rm $(CURDIR)/debian/tmp/opt/kxstudio/lib/liblo.la | |||||
%: | |||||
dh $@ |
@@ -0,0 +1 @@ | |||||
3.0 (quilt) |
@@ -0,0 +1,5 @@ | |||||
libsamplerate-static (6:0.2.2-1kxstudio1) focal; urgency=medium | |||||
* Initial package | |||||
-- falkTX <falktx@falktx.com> Sun, 17 Apr 2022 15:05:47 +0100 |
@@ -0,0 +1,37 @@ | |||||
Source: libsamplerate-static | |||||
Section: libs | |||||
Priority: optional | |||||
Maintainer: falkTX <falktx@falktx.com> | |||||
Build-Depends: debhelper-compat (= 13), | |||||
kxstudio-build-scripts, | |||||
autoconf, | |||||
automake, | |||||
libtool, | |||||
pkg-config, | |||||
libsndfile-static, | |||||
fftw3-static | |||||
Standards-Version: 4.5.0 | |||||
Homepage: http://www.mega-nerd.com/SRC/ | |||||
Rules-Requires-Root: no | |||||
Package: libsamplerate-static | |||||
Architecture: any | |||||
Depends: ${misc:Depends} | |||||
Description: Audio sample rate conversion library (static) | |||||
libsamplerate (aka Secret Rabbit Code) is a library for audio rate conversion. | |||||
. | |||||
libsamplerate currently provides three different sample rate conversion | |||||
algorithms; zero order hold, linear interpolation and FIR filter interpolation | |||||
(using filters derived from the mathematical SINC function). The first two | |||||
algorithms (zero order hold and linear) are included for completeness and are | |||||
not recommended for any application where high quality sample rate conversion | |||||
is required. For the FIR/Sinc algorithm, three converters are provided; | |||||
SRC_SINC_FASTEST, SRC_SINC_MEDIUM_QUALITY and SRC_SINC_BEST_QUALITY to allow a | |||||
trade off between conversion speed and conversion quality. | |||||
. | |||||
libsamplerate is capable of downsampling to 1/256 of the original sample rate | |||||
and upsampling to 256 times the original sample rate. It is also capable of | |||||
time varying conversions for vary speed effects and synchronising of two | |||||
unlocked sample rates. | |||||
. | |||||
This package provides the static library used in KXStudio builds. |
@@ -0,0 +1,23 @@ | |||||
#!/usr/bin/make -f | |||||
include /usr/share/dpkg/kxstudio.mk | |||||
export LDFLAGS += $(shell pkg-config --libs sndfile) | |||||
override_dh_auto_configure: | |||||
./configure --disable-maintainer-mode \ | |||||
--prefix=/opt/kxstudio \ | |||||
--enable-static \ | |||||
--disable-shared \ | |||||
--enable-fftw \ | |||||
--enable-sndfile \ | |||||
--disable-alsa | |||||
override_dh_auto_install: | |||||
dh_auto_install | |||||
# remove unwanted files | |||||
rm $(CURDIR)/debian/libsamplerate-static/opt/kxstudio/lib/libsamplerate.la | |||||
rm -r $(CURDIR)/debian/libsamplerate-static/opt/kxstudio/share/doc | |||||
%: | |||||
dh $@ |
@@ -0,0 +1 @@ | |||||
3.0 (quilt) |
@@ -0,0 +1,5 @@ | |||||
libsndfile-static (6:1.1.0-1kxstudio1) focal; urgency=medium | |||||
* Initial package | |||||
-- falkTX <falktx@falktx.com> Sun, 17 Apr 2022 15:05:47 +0100 |
@@ -0,0 +1,49 @@ | |||||
Source: libsndfile-static | |||||
Section: libs | |||||
Priority: optional | |||||
Maintainer: falkTX <falktx@falktx.com> | |||||
Build-Depends: debhelper-compat (= 13), | |||||
kxstudio-build-scripts, | |||||
autoconf, | |||||
automake, | |||||
libtool, | |||||
pkg-config, | |||||
flac-static, | |||||
libmp3lame-static, | |||||
libmpg123-static, | |||||
libopus-static, | |||||
libvorbis-static, | |||||
libasound2-dev | |||||
Standards-Version: 4.5.0 | |||||
Homepage: https://libsndfile.github.io/libsndfile/ | |||||
Rules-Requires-Root: no | |||||
Package: libsndfile-static | |||||
Architecture: any | |||||
Depends: ${misc:Depends}, | |||||
flac-static, | |||||
libmp3lame-static, | |||||
libmpg123-static, | |||||
libopus-static, | |||||
libvorbis-static | |||||
Description: Library for reading/writing audio files (static) | |||||
libsndfile is a library of C routines for reading and writing files containing | |||||
sampled audio data. | |||||
. | |||||
This package provides the static library used in KXStudio builds. | |||||
Package: sndfile-programs | |||||
Architecture: any | |||||
Depends: ${misc:Depends}, ${shlibs:Depends} | |||||
Recommends: sndfile-tools | |||||
Description: Sample programs that use libsndfile | |||||
This package contains simple programs which use libsndfile for operating on | |||||
sound files. | |||||
. | |||||
Programs include: | |||||
- sndfile-cmp : compare the audio data of two files | |||||
- sndfile-concat : concatenate two or more files | |||||
- sndfile-convert : convert between sound file formats | |||||
- sndfile-info : print information about files | |||||
- sndfile-metadata-get/set : get and set file metadata | |||||
- sndfile-play : play a sound file |
@@ -0,0 +1,10 @@ | |||||
--- libsndfile-static-1.1.0.orig/sndfile.pc.in | |||||
+++ libsndfile-static-1.1.0/sndfile.pc.in | |||||
@@ -7,6 +7,6 @@ Name: sndfile | |||||
Requires: | |||||
Requires.private: @EXTERNAL_XIPH_REQUIRE@ @EXTERNAL_MPEG_REQUIRE@ | |||||
Version: @VERSION@ | |||||
-Libs: -L${libdir} -lsndfile | |||||
+Libs: -L${libdir} -lsndfile -lmp3lame -lmpg123 -lopus -lFLAC -lvorbisenc -lvorbis -logg -lm | |||||
Libs.private: @EXTERNAL_MPEG_LIBS@ | |||||
Cflags: -I${includedir} |
@@ -0,0 +1 @@ | |||||
01_fix-libs.patch |
@@ -0,0 +1,20 @@ | |||||
#!/usr/bin/make -f | |||||
KXSTUDIO_NO_FASTMATH = y | |||||
include /usr/share/dpkg/kxstudio.mk | |||||
override_dh_auto_configure: | |||||
./configure --disable-maintainer-mode \ | |||||
--prefix=/opt/kxstudio \ | |||||
--enable-static \ | |||||
--disable-shared \ | |||||
--disable-sqlite | |||||
override_dh_auto_install: | |||||
dh_auto_install | |||||
# remove unwanted files | |||||
rm $(CURDIR)/debian/tmp/opt/kxstudio/lib/libsndfile.la | |||||
rm -r $(CURDIR)/debian/tmp/opt/kxstudio/share/doc | |||||
%: | |||||
dh $@ |
@@ -0,0 +1 @@ | |||||
3.0 (quilt) |
@@ -0,0 +1,5 @@ | |||||
mpg123-static (6:1.29.3-1kxstudio3) focal; urgency=medium | |||||
* Initial package | |||||
-- falkTX <falktx@falktx.com> Sun, 17 Apr 2022 15:05:47 +0100 |
@@ -0,0 +1,23 @@ | |||||
Source: mpg123-static | |||||
Section: libs | |||||
Priority: optional | |||||
Maintainer: falkTX <falktx@falktx.com> | |||||
Build-Depends: debhelper-compat (= 13), | |||||
kxstudio-build-scripts, | |||||
autoconf, | |||||
automake, | |||||
libtool, | |||||
pkg-config, | |||||
libltdl-dev | |||||
Standards-Version: 4.5.0 | |||||
Homepage: https://mpg123.org/ | |||||
Rules-Requires-Root: no | |||||
Package: libmpg123-static | |||||
Architecture: any | |||||
Depends: ${misc:Depends} | |||||
Description: MPEG layer 1/2/3 audio decoder (static) | |||||
mpg123 is a real time MPEG 1.0/2.0/2.5 audio player/decoder for layers | |||||
1, 2 and 3 (MPEG 1.0 layer 3 also known as MP3). | |||||
. | |||||
This package provides the static library used in KXStudio builds. |
@@ -0,0 +1,15 @@ | |||||
--- mpg123-static-1.29.3.orig/src/Makemodule.am | |||||
+++ mpg123-static-1.29.3/src/Makemodule.am | |||||
@@ -6,12 +6,6 @@ include src/libmpg123/Makemodule.am | |||||
include src/libout123/Makemodule.am | |||||
include src/libsyn123/Makemodule.am | |||||
-bin_PROGRAMS += \ | |||||
- src/mpg123 \ | |||||
- src/out123 \ | |||||
- src/mpg123-id3dump \ | |||||
- src/mpg123-strip | |||||
- | |||||
src_mpg123_LDADD = \ | |||||
src/compat/libcompat.la \ | |||||
src/libmpg123/libmpg123.la \ |
@@ -0,0 +1 @@ | |||||
01_skip-standalone-tools.patch |
@@ -0,0 +1,41 @@ | |||||
#!/usr/bin/make -f | |||||
KXSTUDIO_NO_FASTMATH = y | |||||
include /usr/share/dpkg/kxstudio.mk | |||||
# export LDFLAGS += -Wl,--whole-archive | |||||
ifeq ($(DEB_HOST_ARCH),armhf) | |||||
EXTRA_CONFIG = --with-cpu=neon | |||||
else ifeq ($(DEB_HOST_ARCH),arm64) | |||||
EXTRA_CONFIG = --with-cpu=neon64 | |||||
else | |||||
EXTRA_CONFIG = --with-cpu=x86-64 | |||||
endif | |||||
override_dh_auto_configure: | |||||
./configure --disable-maintainer-mode \ | |||||
--prefix=/opt/kxstudio \ | |||||
--enable-static \ | |||||
--disable-shared \ | |||||
--enable-lfs-alias \ | |||||
--with-audio=dummy \ | |||||
$(EXTRA_CONFIG) | |||||
override_dh_auto_install: | |||||
dh_auto_install | |||||
# remove unwanted files | |||||
rm $(CURDIR)/debian/libmpg123-static/opt/kxstudio/lib/libmpg123.la | |||||
rm $(CURDIR)/debian/libmpg123-static/opt/kxstudio/lib/libout123.la | |||||
rm $(CURDIR)/debian/libmpg123-static/opt/kxstudio/lib/libsyn123.la | |||||
rm -r $(CURDIR)/debian/libmpg123-static/opt/kxstudio/share/man | |||||
override_dh_auto_clean: | |||||
dh_auto_clean | |||||
rm -f config.log | |||||
override_dh_auto_test: | |||||
# skip | |||||
%: | |||||
dh $@ |
@@ -0,0 +1 @@ | |||||
3.0 (quilt) |