Browse Source

Start placing sources in repo

Signed-off-by: falkTX <falktx@falktx.com>
master
falkTX 5 months ago
parent
commit
a528dc0ac2
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
16 changed files with 169 additions and 7 deletions
  1. +6
    -7
      .gitignore
  2. +18
    -0
      sources/.gitignore
  3. +5
    -0
      sources/libs/kxstudio-build-scripts/debian/changelog
  4. +12
    -0
      sources/libs/kxstudio-build-scripts/debian/control
  5. +22
    -0
      sources/libs/kxstudio-build-scripts/debian/copyright
  6. +1
    -0
      sources/libs/kxstudio-build-scripts/debian/files
  7. +1
    -0
      sources/libs/kxstudio-build-scripts/debian/install
  8. +4
    -0
      sources/libs/kxstudio-build-scripts/debian/rules
  9. +1
    -0
      sources/libs/kxstudio-build-scripts/debian/source/format
  10. +23
    -0
      sources/libs/kxstudio-build-scripts/kxstudio.mk
  11. +5
    -0
      sources/libs/opus-static/debian/changelog
  12. +38
    -0
      sources/libs/opus-static/debian/control
  13. +10
    -0
      sources/libs/opus-static/debian/patches/01_force-libs.patch
  14. +1
    -0
      sources/libs/opus-static/debian/patches/series
  15. +21
    -0
      sources/libs/opus-static/debian/rules
  16. +1
    -0
      sources/libs/opus-static/debian/source/format

+ 6
- 7
.gitignore View File

@@ -1,8 +1,7 @@
*.deb
source/ardour*/*.run
source/*.debian.tar.gz
source/*.orig.tar.gz
source/*.dsc
source/*.build
source/*.changes

/source/ardour*/*.run
/source/*.debian.tar.gz
/source/*.orig.tar.gz
/source/*.dsc
/source/*.build
/source/*.changes

+ 18
- 0
sources/.gitignore View File

@@ -0,0 +1,18 @@
*.build
*.buildinfo
*.changes
*.debian.*
*.dsc
*.orig.*

/libs/*/*
!/libs/*/debian

/libs/*/debian/*
!/libs/*/debian/patches
!/libs/*/debian/source
!/libs/*/debian/changelog
!/libs/*/debian/control
!/libs/*/debian/rules

!/libs/kxstudio-build-scripts/

+ 5
- 0
sources/libs/kxstudio-build-scripts/debian/changelog View File

@@ -0,0 +1,5 @@
kxstudio-build-scripts (1) focal; urgency=medium

* Initial package

-- falkTX <falktx@falktx.com> Sun, 17 Apr 2022 12:23:29 +0100

+ 12
- 0
sources/libs/kxstudio-build-scripts/debian/control View File

@@ -0,0 +1,12 @@
Source: kxstudio-build-scripts
Section: devel
Priority: optional
Maintainer: falkTX <falktx@falktx.com>
Build-Depends: debhelper-compat (= 13)
Standards-Version: 4.5.0

Package: kxstudio-build-scripts
Architecture: all
Depends: ${misc:Depends}
Description: Build scripts for KXStudio repositories
This package provides the build scripts used in the KXStudio repositories.

+ 22
- 0
sources/libs/kxstudio-build-scripts/debian/copyright View File

@@ -0,0 +1,22 @@
This package was debianized by falkTX <falktx@falktx.com> on
Sun, 17 Apr 2022 12:23:29 +0100.

License:

This package is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this package; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
02110-1301 USA

On Debian systems, the complete text of the GNU General
Public License can be found in `/usr/share/common-licenses/GPL-2'.

+ 1
- 0
sources/libs/kxstudio-build-scripts/debian/files View File

@@ -0,0 +1 @@
kxstudio-build-scripts_1_source.buildinfo devel optional

+ 1
- 0
sources/libs/kxstudio-build-scripts/debian/install View File

@@ -0,0 +1 @@
kxstudio.mk /usr/share/dpkg/

+ 4
- 0
sources/libs/kxstudio-build-scripts/debian/rules View File

@@ -0,0 +1,4 @@
#!/usr/bin/make -f

%:
dh $@

+ 1
- 0
sources/libs/kxstudio-build-scripts/debian/source/format View File

@@ -0,0 +1 @@
3.0 (native)

+ 23
- 0
sources/libs/kxstudio-build-scripts/kxstudio.mk View File

@@ -0,0 +1,23 @@
#!/usr/bin/make -f

include /usr/share/dpkg/architecture.mk

FLAGS = -O3 -fPIC -DPIC -fvisibility=hidden -fdata-sections -ffunction-sections -DNDEBUG
ifeq ($(DEB_HOST_ARCH),armhf)
FLAGS += -march=armv7ve -mcpu=cortex-a7 -mfloat-abi=hard -mfpu=neon-vfpv4
else ifeq ($(DEB_HOST_ARCH),arm64)
FLAGS += -march=armv8-a -mcpu=cortex-a53
else
FLAGS += -mtune=generic -msse -msse2 -mfpmath=sse
endif

ifeq ($(KXSTUDIO_NO_FASTMATH),)
FLAGS += -ffast-math
endif

export CFLAGS=$(FLAGS)
export CXXFLAGS=$(FLAGS) -fvisibility-inlines-hidden
export CPPFLAGS=
export LDFLAGS=-Wl,-O1,--as-needed,--no-undefined,--gc-sections,--strip-all
export PATH:=/opt/kxstudio/bin:$(PATH)
export PKG_CONFIG_PATH=/opt/kxstudio/lib/pkgconfig

+ 5
- 0
sources/libs/opus-static/debian/changelog View File

@@ -0,0 +1,5 @@
opus-static (3:1.3.1-1kxstudio1) focal; urgency=medium

* Initial package

-- falkTX <falktx@falktx.com> Sun, 17 Apr 2022 15:05:47 +0100

+ 38
- 0
sources/libs/opus-static/debian/control View File

@@ -0,0 +1,38 @@
Source: opus-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

Package: libopus-static
Architecture: any
Depends: ${misc:Depends}
Conflicts: libopus-static
Description: Opus codec library (static)
The Opus codec is designed for interactive speech and audio transmission over
the Internet. It is designed by the IETF Codec Working Group and incorporates
technology from Skype's SILK codec and Xiph.Org's CELT codec.
.
It is intended to suit a wide range of interactive audio applications,
including Voice over IP, videoconferencing, in-game chat, and even remote live
music performances. It can scale from low bit-rate narrowband speech to very
high quality stereo music. The current features are:
.
Bit-rates from 6 kb/s 510 kb/s
Sampling rates from 8 to 48 kHz
Frame sizes from 2.5 ms to 60 ms
Support for both constant bit-rate (CBR) and variable bit-rate (VBR)
Audio bandwidth from narrowband to full-band
Support for speech and music
Support for mono and stereo
Support for up to 255 channels (multistream frames)
Dynamically adjustable bitrate, audio bandwidth, and frame size
Good loss robustness and packet loss concealment (PLC)
Floating point and fixed-point implementation
.
This package provides the static library used in KXStudio builds.

+ 10
- 0
sources/libs/opus-static/debian/patches/01_force-libs.patch View File

@@ -0,0 +1,10 @@
--- opus-static-1.1.orig/opus.pc.in
+++ opus-static-1.1/opus.pc.in
@@ -11,6 +11,6 @@ URL: http://opus-codec.org/
Version: @VERSION@
Requires:
Conflicts:
-Libs: -L${libdir} -lopus
+Libs: -L${libdir} -lopus -lm
Libs.private: @LIBM@
Cflags: -I${includedir}/opus

+ 1
- 0
sources/libs/opus-static/debian/patches/series View File

@@ -0,0 +1 @@
01_force-libs.patch

+ 21
- 0
sources/libs/opus-static/debian/rules View File

@@ -0,0 +1,21 @@
#!/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-doc \
--enable-float-approx \
--enable-custom-modes

override_dh_auto_install:
dh_auto_install
# remove unwanted files
rm $(CURDIR)/debian/libopus-static/opt/kxstudio/lib/libopus.la

%:
dh $@

+ 1
- 0
sources/libs/opus-static/debian/source/format View File

@@ -0,0 +1 @@
3.0 (quilt)

Loading…
Cancel
Save