Skip to content

Commit a528dc0

Browse files
committed
Start placing sources in repo
Signed-off-by: falkTX <falktx@falktx.com>
1 parent 072217b commit a528dc0

File tree

16 files changed

+169
-7
lines changed

16 files changed

+169
-7
lines changed

.gitignore

+6-7
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
*.deb
2-
source/ardour*/*.run
3-
source/*.debian.tar.gz
4-
source/*.orig.tar.gz
5-
source/*.dsc
6-
source/*.build
7-
source/*.changes
8-
2+
/source/ardour*/*.run
3+
/source/*.debian.tar.gz
4+
/source/*.orig.tar.gz
5+
/source/*.dsc
6+
/source/*.build
7+
/source/*.changes

sources/.gitignore

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
*.build
2+
*.buildinfo
3+
*.changes
4+
*.debian.*
5+
*.dsc
6+
*.orig.*
7+
8+
/libs/*/*
9+
!/libs/*/debian
10+
11+
/libs/*/debian/*
12+
!/libs/*/debian/patches
13+
!/libs/*/debian/source
14+
!/libs/*/debian/changelog
15+
!/libs/*/debian/control
16+
!/libs/*/debian/rules
17+
18+
!/libs/kxstudio-build-scripts/
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
kxstudio-build-scripts (1) focal; urgency=medium
2+
3+
* Initial package
4+
5+
-- falkTX <falktx@falktx.com> Sun, 17 Apr 2022 12:23:29 +0100
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
Source: kxstudio-build-scripts
2+
Section: devel
3+
Priority: optional
4+
Maintainer: falkTX <falktx@falktx.com>
5+
Build-Depends: debhelper-compat (= 13)
6+
Standards-Version: 4.5.0
7+
8+
Package: kxstudio-build-scripts
9+
Architecture: all
10+
Depends: ${misc:Depends}
11+
Description: Build scripts for KXStudio repositories
12+
This package provides the build scripts used in the KXStudio repositories.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
This package was debianized by falkTX <falktx@falktx.com> on
2+
Sun, 17 Apr 2022 12:23:29 +0100.
3+
4+
License:
5+
6+
This package is free software; you can redistribute it and/or modify
7+
it under the terms of the GNU General Public License as published by
8+
the Free Software Foundation; either version 2 of the License, or
9+
(at your option) any later version.
10+
11+
This package is distributed in the hope that it will be useful,
12+
but WITHOUT ANY WARRANTY; without even the implied warranty of
13+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+
GNU General Public License for more details.
15+
16+
You should have received a copy of the GNU General Public License
17+
along with this package; if not, write to the Free Software
18+
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
19+
02110-1301 USA
20+
21+
On Debian systems, the complete text of the GNU General
22+
Public License can be found in `/usr/share/common-licenses/GPL-2'.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
kxstudio-build-scripts_1_source.buildinfo devel optional
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
kxstudio.mk /usr/share/dpkg/
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/make -f
2+
3+
%:
4+
dh $@
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.0 (native)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#!/usr/bin/make -f
2+
3+
include /usr/share/dpkg/architecture.mk
4+
5+
FLAGS = -O3 -fPIC -DPIC -fvisibility=hidden -fdata-sections -ffunction-sections -DNDEBUG
6+
ifeq ($(DEB_HOST_ARCH),armhf)
7+
FLAGS += -march=armv7ve -mcpu=cortex-a7 -mfloat-abi=hard -mfpu=neon-vfpv4
8+
else ifeq ($(DEB_HOST_ARCH),arm64)
9+
FLAGS += -march=armv8-a -mcpu=cortex-a53
10+
else
11+
FLAGS += -mtune=generic -msse -msse2 -mfpmath=sse
12+
endif
13+
14+
ifeq ($(KXSTUDIO_NO_FASTMATH),)
15+
FLAGS += -ffast-math
16+
endif
17+
18+
export CFLAGS=$(FLAGS)
19+
export CXXFLAGS=$(FLAGS) -fvisibility-inlines-hidden
20+
export CPPFLAGS=
21+
export LDFLAGS=-Wl,-O1,--as-needed,--no-undefined,--gc-sections,--strip-all
22+
export PATH:=/opt/kxstudio/bin:$(PATH)
23+
export PKG_CONFIG_PATH=/opt/kxstudio/lib/pkgconfig
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
opus-static (3:1.3.1-1kxstudio1) focal; urgency=medium
2+
3+
* Initial package
4+
5+
-- falkTX <falktx@falktx.com> Sun, 17 Apr 2022 15:05:47 +0100
+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
Source: opus-static
2+
Section: libs
3+
Priority: optional
4+
Maintainer: falkTX <falktx@falktx.com>
5+
Build-Depends: debhelper-compat (= 13),
6+
kxstudio-build-scripts,
7+
autoconf,
8+
automake,
9+
libtool
10+
Standards-Version: 4.5.0
11+
12+
Package: libopus-static
13+
Architecture: any
14+
Depends: ${misc:Depends}
15+
Conflicts: libopus-static
16+
Description: Opus codec library (static)
17+
The Opus codec is designed for interactive speech and audio transmission over
18+
the Internet. It is designed by the IETF Codec Working Group and incorporates
19+
technology from Skype's SILK codec and Xiph.Org's CELT codec.
20+
.
21+
It is intended to suit a wide range of interactive audio applications,
22+
including Voice over IP, videoconferencing, in-game chat, and even remote live
23+
music performances. It can scale from low bit-rate narrowband speech to very
24+
high quality stereo music. The current features are:
25+
.
26+
Bit-rates from 6 kb/s 510 kb/s
27+
Sampling rates from 8 to 48 kHz
28+
Frame sizes from 2.5 ms to 60 ms
29+
Support for both constant bit-rate (CBR) and variable bit-rate (VBR)
30+
Audio bandwidth from narrowband to full-band
31+
Support for speech and music
32+
Support for mono and stereo
33+
Support for up to 255 channels (multistream frames)
34+
Dynamically adjustable bitrate, audio bandwidth, and frame size
35+
Good loss robustness and packet loss concealment (PLC)
36+
Floating point and fixed-point implementation
37+
.
38+
This package provides the static library used in KXStudio builds.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
--- opus-static-1.1.orig/opus.pc.in
2+
+++ opus-static-1.1/opus.pc.in
3+
@@ -11,6 +11,6 @@ URL: http://opus-codec.org/
4+
Version: @VERSION@
5+
Requires:
6+
Conflicts:
7+
-Libs: -L${libdir} -lopus
8+
+Libs: -L${libdir} -lopus -lm
9+
Libs.private: @LIBM@
10+
Cflags: -I${includedir}/opus
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
01_force-libs.patch

sources/libs/opus-static/debian/rules

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#!/usr/bin/make -f
2+
3+
KXSTUDIO_NO_FASTMATH = y
4+
include /usr/share/dpkg/kxstudio.mk
5+
6+
override_dh_auto_configure:
7+
./configure --disable-maintainer-mode \
8+
--prefix=/opt/kxstudio \
9+
--enable-static \
10+
--disable-shared \
11+
--disable-doc \
12+
--enable-float-approx \
13+
--enable-custom-modes
14+
15+
override_dh_auto_install:
16+
dh_auto_install
17+
# remove unwanted files
18+
rm $(CURDIR)/debian/libopus-static/opt/kxstudio/lib/libopus.la
19+
20+
%:
21+
dh $@
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.0 (quilt)

0 commit comments

Comments
 (0)