ffmpeg
This commit is contained in:
1 parent
21745e2730
commit
b0cda5bf4a
45 files changed
+1638
-35
No files matched your search
@@ -0,0 +1,43 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='lirc'
|
||||||
|
release='1'
|
||||||
|
version='0.10.2'
|
||||||
|
url='https://www.lirc.org/'
|
||||||
|
description='decode and send infra-red signals of many commonly used remote controls'
|
||||||
|
email='bayramk@gmail.com'
|
||||||
|
maintainer='bk'
|
||||||
|
license=('GPLv3')
|
||||||
|
source=("https://netix.dl.sourceforge.net/project/lirc/LIRC/$version/lirc-$version.tar.bz2")
|
||||||
|
depends=(libxslt)
|
||||||
|
makedepends=()
|
||||||
|
md5sums=('cb96cfb0af8067c0062e2f5a100f426a')
|
||||||
|
group=(app.misc)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
setup(){
|
||||||
|
autoreconf -fvi
|
||||||
|
|
||||||
|
./configure \
|
||||||
|
--prefix=/usr \
|
||||||
|
--sbindir=/usr/bin \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--localstatedir=/var \
|
||||||
|
--enable-devinput \
|
||||||
|
--enable-uinput
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
make -j`nproc`
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
make install -j`nproc`
|
||||||
|
install -Dm644 ../lirc.tmpfiles /usr/lib/tmpfiles.d/lirc.conf
|
||||||
|
install -Dm644 ../lirc.logrotate /etc/logrotate.d/lirc
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='abseil-cpp'
|
||||||
|
release='1'
|
||||||
|
version='20230125.2'
|
||||||
|
url='https://abseil.io/'
|
||||||
|
description='Abseil Common Libraries (C++), LTS Branch '
|
||||||
|
email='bayramk@gmail.com'
|
||||||
|
maintainer='bk'
|
||||||
|
license=('GPLv3')
|
||||||
|
source=("https://github.com/abseil/abseil-cpp/archive/refs/tags/$version.tar.gz")
|
||||||
|
depends=()
|
||||||
|
makedepends=()
|
||||||
|
md5sums=('52b9786ca6fbc679869fee2b6fef25a5')
|
||||||
|
group=(media.video)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
setup(){
|
||||||
|
#autoreconf -fvi
|
||||||
|
#./configure --prefix=/usr \
|
||||||
|
# --libdir=/usr/lib64/
|
||||||
|
cmake .
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
make -j`nproc`
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
make install -j`nproc`
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,33 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='nasm'
|
||||||
|
release='1'
|
||||||
|
version='2.16.01'
|
||||||
|
url='https://www.nasm.us/'
|
||||||
|
description='80x86 assembler designed for portability and modularity'
|
||||||
|
email='akarsu@protonmail.com'
|
||||||
|
maintainer='akarsu'
|
||||||
|
license=('BSD')
|
||||||
|
source=("https://www.nasm.us/pub/nasm/releasebuilds/${version}/nasm-${version}.tar.xz")
|
||||||
|
depends=(asciidoc xmlto)
|
||||||
|
makedepends=(diffutils)
|
||||||
|
md5sums=('d755ba0d16f94616c2907f8cab7c748b')
|
||||||
|
group=(dev.lang)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
setup(){
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--libdir=/usr/lib64/
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
make $jobs
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
make install $jobs
|
||||||
|
install -Dm 644 LICENSE -t "${DESTDIR}"/usr/share/licenses/nasm
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='cjson'
|
||||||
|
release='1'
|
||||||
|
version='1.7.15'
|
||||||
|
url='https://github.com/DaveGamble/cJSON'
|
||||||
|
description='Ultralightweight JSON parser in ANSI C'
|
||||||
|
email='akarsu@protonmail.com'
|
||||||
|
maintainer='akarsu'
|
||||||
|
license=('MIT')
|
||||||
|
source=("https://github.com/DaveGamble/cJSON/archive/v$version.tar.gz")
|
||||||
|
depends=()
|
||||||
|
makedepends=(cmake)
|
||||||
|
md5sums=('921b4bcb401aa604dc632fdb1c8dbdea')
|
||||||
|
group=(dev.libs)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-"v"$version
|
||||||
|
|
||||||
|
setup(){
|
||||||
|
cmake -B build -S "cJSON-${version}" \
|
||||||
|
-DENABLE_CJSON_UTILS=On \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
|
-DCMAKE_INSTALL_LIBDIR=usr/lib64/
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
make -C build $jobs
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
make -C build install $jobs
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='libsodium'
|
||||||
|
release='1'
|
||||||
|
version='1.0.18'
|
||||||
|
url='https://github.com/jedisct1/libsodium'
|
||||||
|
description='P(ortable|ackageable) NaCl-based crypto library'
|
||||||
|
email='akarsu@protonmail.com'
|
||||||
|
maintainer='akarsu'
|
||||||
|
license=('custom:ISC')
|
||||||
|
source=("https://github.com/jedisct1/libsodium/releases/download/${version}-RELEASE/libsodium-${version}.tar.gz")
|
||||||
|
depends=()
|
||||||
|
makedepends=()
|
||||||
|
md5sums=('3ca9ebc13b6b4735acae0a6a4c4f9a95')
|
||||||
|
group=(dev.libs)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
setup(){
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--libdir=/usr/lib64/
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
make $jobs
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
make install $jobs
|
||||||
|
}
|
||||||
|
|
||||||
+11
-15
@@ -2,37 +2,33 @@
|
|||||||
name='libxslt'
|
name='libxslt'
|
||||||
release='1'
|
release='1'
|
||||||
version='1.1.37'
|
version='1.1.37'
|
||||||
url='https://example.org'
|
url='https://gitlab.gnome.org/GNOME/libxslt'
|
||||||
description='Package description missing'
|
description=' XSLT libraries and tools '
|
||||||
email='bk@gmail.com'
|
email='bayramk@gmail.com'
|
||||||
maintainer='bk'
|
maintainer='bk'
|
||||||
license=('GPLv3')
|
license=('GPLv3')
|
||||||
source=("https://gitlab.gnome.org/GNOME/libxslt/-/archive/v1.1.37/libxslt-v$version.tar.gz")
|
source=("https://gitlab.gnome.org/GNOME/libxslt/-/archive/v$version/libxslt-v$version.tar.gz")
|
||||||
depends=(libxml2 zlib xz-utils)
|
depends=()
|
||||||
makedepends=()
|
makedepends=()
|
||||||
md5sums=('61f62b7efce418fe669825e350792c8a')
|
md5sums=('61f62b7efce418fe669825e350792c8a')
|
||||||
group=(dev.libs)
|
group=(dev.libs)
|
||||||
uses=()
|
uses=()
|
||||||
uses_extra=(python)
|
|
||||||
python_depends=(python)
|
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
|
|
||||||
cd $name-v$version
|
cd $name-v$version
|
||||||
|
|
||||||
setup(){
|
setup(){
|
||||||
./autogen.sh
|
autoreconf -fvi
|
||||||
./configure --prefix=/usr \
|
./configure --prefix=/usr \
|
||||||
--sysconfdir=/etc \
|
--libdir=/usr/lib64/
|
||||||
--localstatedir=/var \
|
|
||||||
--libdir=/usr/lib64/ \
|
|
||||||
$(use_opt python --with-python --without-python)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
build(){
|
build(){
|
||||||
make $jobs
|
make -j`nproc`
|
||||||
}
|
}
|
||||||
|
|
||||||
package(){
|
package(){
|
||||||
make install $jobs
|
make install -j`nproc`
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
diff --git i/src/CMakeLists.txt w/src/CMakeLists.txt
|
||||||
|
index 4a02dbe..4d731c9 100644
|
||||||
|
--- i/src/CMakeLists.txt
|
||||||
|
+++ w/src/CMakeLists.txt
|
||||||
|
@@ -188,7 +188,7 @@ target_include_directories(checkShared
|
||||||
|
)
|
||||||
|
|
||||||
|
if(NOT THIS_IS_SUBPROJECT)
|
||||||
|
- install(TARGETS check checkShared
|
||||||
|
+ install(TARGETS checkShared
|
||||||
|
EXPORT check-targets
|
||||||
|
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||||
|
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||||
@@ -0,0 +1,40 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='check'
|
||||||
|
release='1'
|
||||||
|
version='0.15.2'
|
||||||
|
url='https://libcheck.github.io/check/'
|
||||||
|
description='A unit test framework for C '
|
||||||
|
email='bayramk@gmail.com'
|
||||||
|
maintainer='bk'
|
||||||
|
license=('GPLv3')
|
||||||
|
source=("https://github.com/libcheck/check/archive/refs/tags/$version.tar.gz"
|
||||||
|
"no-static.diff")
|
||||||
|
depends=()
|
||||||
|
makedepends=()
|
||||||
|
md5sums=('2528f5cff61db6d53d44fb95da0c7fce'
|
||||||
|
'SKIP')
|
||||||
|
group=(media.libs)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-$version
|
||||||
|
prepare() {
|
||||||
|
patch -Np1 -i ../no-static.diff
|
||||||
|
}
|
||||||
|
|
||||||
|
setup(){
|
||||||
|
autoreconf -fvi
|
||||||
|
#git describe --tags | sed 's/-/+/g'
|
||||||
|
CFLAGS+=" -Wno-format-extra-args"
|
||||||
|
cmake .
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
|
||||||
|
make -j`nproc`
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
make install -j`nproc`
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,102 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='fftw'
|
||||||
|
release='1'
|
||||||
|
version='3.3.10'
|
||||||
|
url='https://www.fftw.org/'
|
||||||
|
description='Fast C library for the Discrete Fourier Transform '
|
||||||
|
email='bayramk@gmail.com'
|
||||||
|
maintainer='bk'
|
||||||
|
license=('GPLv3')
|
||||||
|
source=("https://github.com/FFTW/fftw3/archive/refs/tags/fftw-$version.tar.gz")
|
||||||
|
depends=()
|
||||||
|
makedepends=()
|
||||||
|
md5sums=('20fc019b3dc717b29c234590cdf4cc47')
|
||||||
|
group=(media.libs)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd ${name}3-fftw-$version
|
||||||
|
_build_types=(single double long-double quad)
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
local _i
|
||||||
|
|
||||||
|
# fix wrong soname in FFTW3LibraryDepends.cmake
|
||||||
|
sed -e 's/3.6.9/3.6.10/' -i ./CMakeLists.txt
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
local _name
|
||||||
|
local _configure=(
|
||||||
|
./configure
|
||||||
|
--prefix=/usr
|
||||||
|
--enable-shared
|
||||||
|
--enable-threads
|
||||||
|
--enable-mpi
|
||||||
|
--enable-openmp
|
||||||
|
)
|
||||||
|
local _configure_single=(
|
||||||
|
--enable-sse
|
||||||
|
--enable-avx
|
||||||
|
--enable-single
|
||||||
|
)
|
||||||
|
local _configure_double=(
|
||||||
|
--enable-sse2
|
||||||
|
--enable-avx
|
||||||
|
)
|
||||||
|
local _configure_long_double=(
|
||||||
|
--enable-long-double
|
||||||
|
)
|
||||||
|
local _configure_quad=(
|
||||||
|
--disable-mpi
|
||||||
|
--enable-quad-precision
|
||||||
|
)
|
||||||
|
local _cmake_options=(
|
||||||
|
-B build
|
||||||
|
-S .
|
||||||
|
-D CMAKE_INSTALL_PREFIX=/usr
|
||||||
|
-D CMAKE_BUILD_TYPE=None
|
||||||
|
-D ENABLE_OPENMP=ON
|
||||||
|
-D ENABLE_THREADS=ON
|
||||||
|
-D ENABLE_FLOAT=ON
|
||||||
|
-D ENABLE_LONG_DOUBLE=ON
|
||||||
|
-D ENABLE_QUAD_PRECISION=ON
|
||||||
|
-D ENABLE_SSE=ON
|
||||||
|
-D ENABLE_SSE2=ON
|
||||||
|
-D ENABLE_AVX=ON
|
||||||
|
-D ENABLE_AVX2=ON
|
||||||
|
)
|
||||||
|
|
||||||
|
# create missing FFTW3LibraryDepends.cmake
|
||||||
|
# https://bugs.archlinux.org/task/67604
|
||||||
|
cmake "${_cmake_options[@]}"
|
||||||
|
# fix broken IMPORTED_LOCATION: https://github.com/FFTW/fftw3/issues/130#issuecomment-1030280157
|
||||||
|
sed -e 's|\(IMPORTED_LOCATION_NONE\).*|\1 "/usr/lib/libfftw3.so.3"|' -i build/FFTW3LibraryDepends.cmake
|
||||||
|
|
||||||
|
export F77='gfortran'
|
||||||
|
# use upstream default CFLAGS while keeping our -march/-mtune
|
||||||
|
CFLAGS+=" -O3 -fomit-frame-pointer -malign-double -fstrict-aliasing -ffast-math"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
local _name
|
||||||
|
|
||||||
|
for _name in "${_build_types[@]}"; do
|
||||||
|
make check-local -C $name-$version-$_name/tests
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
local _name
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# install missing FFTW3LibraryDepends.cmake
|
||||||
|
install -vDm 644 build/FFTW3LibraryDepends.cmake -t "$pkgdir/usr/lib/cmake/fftw3/"
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,33 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='flac'
|
||||||
|
release='1'
|
||||||
|
version='1.4.2'
|
||||||
|
url='https://xiph.org/flac/'
|
||||||
|
description=' Free lossless audio encoder and decoder '
|
||||||
|
email='bayramk@gmail.com'
|
||||||
|
maintainer='bk'
|
||||||
|
license=('GPLv3')
|
||||||
|
source=("https://github.com/xiph/flac/archive/refs/tags/$version.tar.gz")
|
||||||
|
depends=()
|
||||||
|
makedepends=()
|
||||||
|
md5sums=('1b7e335a4a2a43bea1ac5796be57f2b0')
|
||||||
|
group=(media.libs)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
setup(){
|
||||||
|
./autogen.sh
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--libdir=/usr/lib64/
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
make -j`nproc`
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
make install -j`nproc`
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,28 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='giflib'
|
||||||
|
release='1'
|
||||||
|
version='5.2.1'
|
||||||
|
url='http://giflib.sourceforge.net/'
|
||||||
|
description='Library for reading and writing gif images'
|
||||||
|
email='akarsu@protonmail.com'
|
||||||
|
maintainer='akarsu'
|
||||||
|
license=('MIT')
|
||||||
|
source=("https://sourceforge.net/projects/giflib/files/giflib-${version}.tar.gz")
|
||||||
|
depends=(xmlto)
|
||||||
|
makedepends=()
|
||||||
|
md5sums=('6f03aee4ebe54ac2cc1ab3e4b0a049e5')
|
||||||
|
group=(media.libs)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
build(){
|
||||||
|
make $jobs
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
make PREFIX=/usr install $jobs
|
||||||
|
install -Dm 644 COPYING -t "${DESTDIR}/usr/share/licenses/${name}"
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='libasyncns'
|
||||||
|
release='1'
|
||||||
|
version='0.8'
|
||||||
|
url='http://0pointer.de/lennart/projects/libasyncns/'
|
||||||
|
description='C library for executing name service queries asynchronously '
|
||||||
|
email='bayramk@gmail.com'
|
||||||
|
maintainer='bk'
|
||||||
|
license=('GPLv3')
|
||||||
|
source=("http://0pointer.de/lennart/projects/libasyncns/libasyncns-$version.tar.gz")
|
||||||
|
depends=()
|
||||||
|
makedepends=()
|
||||||
|
md5sums=('1f553d6ce1ad255bc83b3d8e9384f515')
|
||||||
|
group=(media.libs)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
setup(){
|
||||||
|
autoreconf -fvi
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--libdir=/usr/lib64/
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
make -j`nproc`
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
make install -j`nproc`
|
||||||
|
}
|
||||||
|
|
||||||
@@ -2,15 +2,15 @@
|
|||||||
name='libogg'
|
name='libogg'
|
||||||
release='1'
|
release='1'
|
||||||
version='1.3.5'
|
version='1.3.5'
|
||||||
url='https://xiph.org/downloads/'
|
url='https://xiph.org/ogg/'
|
||||||
description='Ogg bitstream and framing library'
|
description='The Ogg media file format library '
|
||||||
email='aliriza.keskin@pardus.org.tr'
|
email='bayramk@gmail.com'
|
||||||
maintainer='aliriza'
|
maintainer='bk'
|
||||||
license=('GPLv3')
|
license=('GPLv3')
|
||||||
source=('https://downloads.xiph.org/releases/ogg/libogg-1.3.5.tar.xz')
|
source=("https://downloads.xiph.org/releases/ogg/libogg-$version.tar.gz")
|
||||||
depends=()
|
depends=()
|
||||||
makedepends=()
|
makedepends=()
|
||||||
md5sums=('3178c98341559657a15b185bf5d700a5')
|
md5sums=('3267127fe8d7ba77d3e00cb9d7ad578d')
|
||||||
group=(media.libs)
|
group=(media.libs)
|
||||||
uses=()
|
uses=()
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
@@ -18,15 +18,16 @@ arch=('x86_64')
|
|||||||
cd $name-$version
|
cd $name-$version
|
||||||
|
|
||||||
setup(){
|
setup(){
|
||||||
./configure --prefix=/usr \
|
autoreconf -fiv
|
||||||
|
./configure --prefix=/usr \
|
||||||
--libdir=/usr/lib64/
|
--libdir=/usr/lib64/
|
||||||
}
|
}
|
||||||
|
|
||||||
build(){
|
build(){
|
||||||
make $jobs
|
make -j`nproc`
|
||||||
}
|
}
|
||||||
|
|
||||||
package(){
|
package(){
|
||||||
make install $jobs
|
make install -j`nproc`
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2,13 +2,13 @@
|
|||||||
name='libopenmpt'
|
name='libopenmpt'
|
||||||
release='1'
|
release='1'
|
||||||
version='0.6.9'
|
version='0.6.9'
|
||||||
url='https://lib.openmpt.org/files/libopenmpt/src'
|
url='https://lib.openmpt.org/libopenmpt/'
|
||||||
description='A library to render tracker music to a PCM audio stream'
|
description='Library to decode tracked music files (modules) '
|
||||||
email='aliriza.keskin@pardus.org.tr'
|
email='bayramk@gmail.com'
|
||||||
maintainer='aliriza'
|
maintainer='bk'
|
||||||
license=('GPLv3')
|
license=('GPLv3')
|
||||||
source=("https://lib.openmpt.org/files/libopenmpt/src/libopenmpt-$version+release.autotools.tar.gz")
|
source=("https://lib.openmpt.org/files/libopenmpt/src/libopenmpt-$version+release.autotools.tar.gz")
|
||||||
depends=(mpg123 libogg)
|
depends=(mpg123 libpulse libsndfile libogg libvorbis portaudio flac)
|
||||||
makedepends=()
|
makedepends=()
|
||||||
md5sums=('cad469bef72baeefc43a651dbe9b225c')
|
md5sums=('cad469bef72baeefc43a651dbe9b225c')
|
||||||
group=(media.libs)
|
group=(media.libs)
|
||||||
@@ -18,15 +18,16 @@ arch=('x86_64')
|
|||||||
cd $name-$version+release.autotools
|
cd $name-$version+release.autotools
|
||||||
|
|
||||||
setup(){
|
setup(){
|
||||||
./configure --prefix=/usr \
|
autoreconf -fiv
|
||||||
|
./configure --prefix=/usr \
|
||||||
--libdir=/usr/lib64/
|
--libdir=/usr/lib64/
|
||||||
}
|
}
|
||||||
|
|
||||||
build(){
|
build(){
|
||||||
make $jobs
|
make -j`nproc`
|
||||||
}
|
}
|
||||||
|
|
||||||
package(){
|
package(){
|
||||||
make install $jobs
|
make install -j`nproc`
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,35 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='libpgm'
|
||||||
|
release='1'
|
||||||
|
version='5-3-128'
|
||||||
|
url='https://opus-codec.org/'
|
||||||
|
description='Open codec for interactive speech and music transmission over the Internet'
|
||||||
|
email='bayramk@gmail.com'
|
||||||
|
maintainer='bk'
|
||||||
|
license=('GPLv3')
|
||||||
|
source=("https://github.com/steve-o/openpgm/archive/refs/tags/release-$version.tar.gz")
|
||||||
|
depends=()
|
||||||
|
makedepends=()
|
||||||
|
md5sums=('134eb021a8e4618ef87d54456282d186')
|
||||||
|
group=(media.libs)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd openpgm-release-$version
|
||||||
|
cd openpgm/pgm
|
||||||
|
setup(){
|
||||||
|
cp openpgm-5.2.pc.in openpgm-5.3.pc.in
|
||||||
|
./bootstrap.sh
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--libdir=/usr/lib64/
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
make install -j`nproc`
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,37 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='libplacebo'
|
||||||
|
release='1'
|
||||||
|
version='5.264.1'
|
||||||
|
url='https://code.videolan.org/videolan/libplacebo/'
|
||||||
|
description='Reusable library for GPU-accelerated image processing primitives'
|
||||||
|
email='bayramk@gmail.com'
|
||||||
|
maintainer='bk'
|
||||||
|
license=('GPLv3')
|
||||||
|
source=("https://code.videolan.org/videolan/libplacebo/-/archive/v$version/libplacebo-v$version.tar.gz")
|
||||||
|
depends=(libunwind)
|
||||||
|
makedepends=()
|
||||||
|
md5sums=('965a8a64da4e72e0cb8a7434c95e158a')
|
||||||
|
group=(media.libs)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-v$version
|
||||||
|
|
||||||
|
setup(){
|
||||||
|
meson setup build --prefix=/usr \
|
||||||
|
--libdir=/usr/lib64/ \
|
||||||
|
-Dopengl=disabled \
|
||||||
|
-Dd3d11=disabled \
|
||||||
|
-Dshaderc=disabled \
|
||||||
|
-Dvulkan=disabled
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
ninja -C build
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
ninja -C build install
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,36 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='libpulse'
|
||||||
|
release='1'
|
||||||
|
version='16.1'
|
||||||
|
url='https://www.freedesktop.org/wiki/Software/PulseAudio/'
|
||||||
|
description='Libraries for PulseAudio clients '
|
||||||
|
email='bayramk@gmail.com'
|
||||||
|
maintainer='bk'
|
||||||
|
license=('GPLv3')
|
||||||
|
source=("https://www.freedesktop.org/software/pulseaudio/releases/pulseaudio-$version.tar.xz")
|
||||||
|
depends=(dbus libsndfile tdb libICE libxcb libSM libXtst bluez orc gtk3 sbc jack2 lirc gst-plugins-base gstreamer libasyncns fftw speexdsp libsoxr)
|
||||||
|
makedepends=()
|
||||||
|
md5sums=('2c7b8ceb5d7337565c7314b4d6087ca8')
|
||||||
|
group=(media.libs)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd pulseaudio-$version
|
||||||
|
|
||||||
|
setup(){
|
||||||
|
meson setup build --prefix=/usr \
|
||||||
|
--libdir=/usr/lib64/ \
|
||||||
|
-Dsystemd=disabled \
|
||||||
|
-Dtests=false \
|
||||||
|
-Ddoxygen=false \
|
||||||
|
-Dman=false
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
ninja -C build
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
ninja -C build install
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='librist'
|
||||||
|
release='1'
|
||||||
|
version='0.2.7'
|
||||||
|
url='https://www.rist.tv/'
|
||||||
|
description=' Reliable Internet Stream Transport (RIST)'
|
||||||
|
email='akarsu@protonmail.com'
|
||||||
|
maintainer='akarsu'
|
||||||
|
license=('BSD')
|
||||||
|
source=("https://code.videolan.org/rist/librist/-/archive/v$version/librist-v$version.tar.gz")
|
||||||
|
depends=()
|
||||||
|
makedepends=(meson)
|
||||||
|
md5sums=('7ac152a1ef28333abb706ce45948e4a3')
|
||||||
|
group=(media.libs)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-"v"$version
|
||||||
|
|
||||||
|
setup(){
|
||||||
|
meson setup build --prefix=/usr \
|
||||||
|
--libdir=/usr/lib64/
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
ninja -C build $jobs
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
ninja -C build install $jobs
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,47 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='libsndfile'
|
||||||
|
release='1'
|
||||||
|
version='1.2.0'
|
||||||
|
url='https://libsndfile.github.io/libsndfile/'
|
||||||
|
description='C library for reading and writing files containing sampled sound'
|
||||||
|
email='bayramk@gmail.com'
|
||||||
|
maintainer='bk'
|
||||||
|
license=('GPLv3')
|
||||||
|
source=("https://github.com/libsndfile/libsndfile/archive/refs/tags/$version.tar.gz")
|
||||||
|
depends=()
|
||||||
|
makedepends=()
|
||||||
|
md5sums=('015d2e3617241f293237bf1675f92486')
|
||||||
|
group=(media.libs)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
setup(){
|
||||||
|
cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
|
-DCMAKE_BUILD_TYPE=None \
|
||||||
|
-Wno-dev \
|
||||||
|
-B build-test \
|
||||||
|
-S .
|
||||||
|
|
||||||
|
|
||||||
|
cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
|
-DCMAKE_BUILD_TYPE=None \
|
||||||
|
-DBUILD_SHARED_LIBS=ON \
|
||||||
|
-DENABLE_EXTERNAL_LIBS=ON \
|
||||||
|
-DENABLE_MPEG=ON \
|
||||||
|
-Wno-dev \
|
||||||
|
-B build \
|
||||||
|
-S .
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
make VERBOSE=1 -C build-test
|
||||||
|
make VERBOSE=1 -C build
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
make install -C build
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,41 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='libsoxr'
|
||||||
|
release='1'
|
||||||
|
version='0.1.3'
|
||||||
|
url='https://sourceforge.net/p/soxr/wiki/Home/'
|
||||||
|
description='SoX Resampler library '
|
||||||
|
email='bayramk@gmail.com'
|
||||||
|
maintainer='bk'
|
||||||
|
license=('GPLv3')
|
||||||
|
source=("https://downloads.sourceforge.net/project/soxr/soxr-$version-Source.tar.xz")
|
||||||
|
depends=()
|
||||||
|
makedepends=()
|
||||||
|
md5sums=('3f16f4dcb35b471682d4321eda6f6c08')
|
||||||
|
group=(media.libs)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd soxr-$version-Source
|
||||||
|
|
||||||
|
setup(){
|
||||||
|
cmake -S . -B build -G Ninja \
|
||||||
|
-DCMAKE_BUILD_TYPE=None \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
|
-DBUILD_EXAMPLES=OFF \
|
||||||
|
-DBUILD_SHARED_LIBS=ON \
|
||||||
|
-DWITH_AVFFT=ON \
|
||||||
|
-DWITH_LSR_BINDINGS=ON \
|
||||||
|
-DWITH_OPENMP=ON \
|
||||||
|
-DWITH_PFFFT=ON
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
#make -j`nproc`
|
||||||
|
cmake --build build
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
#make install -j`nproc`
|
||||||
|
cmake --install build
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,39 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='libsrt'
|
||||||
|
release='1'
|
||||||
|
version='1.5.1'
|
||||||
|
url='https://www.srtalliance.org/'
|
||||||
|
description=' Secure Reliable Transport (SRT)'
|
||||||
|
email='akarsu@protonmail.com'
|
||||||
|
maintainer='akarsu'
|
||||||
|
license=('MPL2')
|
||||||
|
source=("https://github.com/Haivision/srt/archive/v${version}.tar.gz")
|
||||||
|
depends=()
|
||||||
|
makedepends=(cmake openssl linux-headers)
|
||||||
|
md5sums=('9d746de8bbc94ad327215d89801ac2fb')
|
||||||
|
group=(media.libs)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd "srt"-$version
|
||||||
|
|
||||||
|
setup(){
|
||||||
|
cmake -B build -G Ninja \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
|
-DCMAKE_INSTALL_LIBDIR=/usr/lib64/ \
|
||||||
|
-DCMAKE_BUILD_TYPE=MinSizeRel \
|
||||||
|
-DUSE_ENCLIB=openssl-evp \
|
||||||
|
-DENABLE_UNITTESTS="$(want_check && echo ON || echo OFF)" \
|
||||||
|
-DENABLE_TESTING="$(want_check && echo ON || echo OFF)" \
|
||||||
|
-DENABLE_STATIC=OFF \
|
||||||
|
$CMAKE_CROSSOPTS
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
cmake --build build
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
cmake --install build
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,40 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='libtheora'
|
||||||
|
release='1'
|
||||||
|
version='1.1.1'
|
||||||
|
url='https://www.theora.org/'
|
||||||
|
description='An open video codec developed by the Xiph.org'
|
||||||
|
email='akarsu@protonmail.com'
|
||||||
|
maintainer='akarsu'
|
||||||
|
license=('BSD')
|
||||||
|
source=("https://ftp.osuosl.org/pub/xiph/releases/theora/libtheora-${version}.tar.gz" "https://gitweb.gentoo.org/repo/gentoo.git/tree/media-libs/libtheora/files/libtheora-${version}-libpng16.patch")
|
||||||
|
depends=(libogg)
|
||||||
|
makedepends=(libvorbis)
|
||||||
|
md5sums=('bb4dc37f0dc97db98333e7160bfbb52b' '21f74739583781b7f34b19f76b745831')
|
||||||
|
group=(media.libs)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
patch -Np0 -i ../libtheora-1.1.1-libpng16.patch
|
||||||
|
sed -i 's/png_\(sizeof\)/\1/g' examples/png2theora.c
|
||||||
|
setup(){
|
||||||
|
#autoreconf -fvi
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--libdir=/usr/lib64/ \
|
||||||
|
--enable-shared \
|
||||||
|
--disable-static
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
ls -l
|
||||||
|
make $jobs
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
make install $jobs
|
||||||
|
install -m755 -d "${DESTDIR}/usr/share/licenses/${name}"
|
||||||
|
install -m644 LICENSE COPYING "${DESTDIR}/usr/share/licenses/${name}/"
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='libvorbis'
|
||||||
|
release='1'
|
||||||
|
version='1.3.7'
|
||||||
|
url='https://www.xiph.org/vorbis/'
|
||||||
|
description='Reference implementation of the Ogg Vorbis audio format'
|
||||||
|
email='akarsu@protonmail.com'
|
||||||
|
maintainer='akarsu'
|
||||||
|
license=('BSD')
|
||||||
|
source=("https://downloads.xiph.org/releases/vorbis/libvorbis-${version}.tar.xz")
|
||||||
|
depends=(libogg)
|
||||||
|
makedepends=(git)
|
||||||
|
md5sums=('50902641d358135f06a8392e61c9ac77')
|
||||||
|
group=(media.libs)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
setup(){
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--libdir=/usr/lib64/ \
|
||||||
|
--disable-static \
|
||||||
|
--enable-shared
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
make $jobs
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
make install $jobs
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,47 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='libvpx'
|
||||||
|
release='1'
|
||||||
|
version='1.13.0'
|
||||||
|
url='https://www.webmproject.org/'
|
||||||
|
description='Library for the vp8/vp9 codecs'
|
||||||
|
email='akarsu@protonmail.com'
|
||||||
|
maintainer='akarsu'
|
||||||
|
license=('BSD')
|
||||||
|
source=("https://github.com/webmproject/libvpx/archive/v${version}/libvpx-${version}.tar.gz")
|
||||||
|
depends=()
|
||||||
|
makedepends=(nasm)
|
||||||
|
md5sums=('d5fd45a806a65a57d6635f9e7a98a1b2')
|
||||||
|
group=(media.libs)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-$version
|
||||||
|
sed -i 's/cp -p/cp/' build/make/Makefile
|
||||||
|
|
||||||
|
CFLAGS+=' -ffat-lto-objects'
|
||||||
|
CXXFLAGS+=' -ffat-lto-objects'
|
||||||
|
ls -l
|
||||||
|
setup(){
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--libdir=/usr/lib64/ \
|
||||||
|
--disable-install-docs \
|
||||||
|
--disable-install-srcs \
|
||||||
|
--disable-unit-tests \
|
||||||
|
--enable-pic \
|
||||||
|
--enable-postproc \
|
||||||
|
--enable-runtime-cpu-detect \
|
||||||
|
--enable-shared \
|
||||||
|
--enable-vp8 \
|
||||||
|
--enable-vp9 \
|
||||||
|
--enable-vp9-highbitdepth \
|
||||||
|
--enable-vp9-temporal-denoising
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
make $jobs
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
make install $jobs
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,38 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='libwebp'
|
||||||
|
release='1'
|
||||||
|
version='1.3.0'
|
||||||
|
url='https://developers.google.com/speed/webp/'
|
||||||
|
description='WebP library and conversion tools'
|
||||||
|
email='akarsu@protonmail.com'
|
||||||
|
maintainer='akarsu'
|
||||||
|
license=('BSD')
|
||||||
|
source=("https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-${version}.tar.gz")
|
||||||
|
depends=(libpng libjpeg-turbo libtiff)
|
||||||
|
makedepends=(cmake ninja)
|
||||||
|
md5sums=('994cf2efb664ef5140fa0b56b83fa721')
|
||||||
|
group=(media.libs)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
setup(){
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--libdir=/usr/lib64/ \
|
||||||
|
--enable-libwebpmux \
|
||||||
|
--enable-libwebpdemux \
|
||||||
|
--enable-libwebpdecoder \
|
||||||
|
--enable-libwebpextras \
|
||||||
|
--enable-swap-16bit-csp \
|
||||||
|
--disable-static
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
make $jobs
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
make install $jobs
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='opus'
|
||||||
|
release='1'
|
||||||
|
version='1.3.1'
|
||||||
|
url='https://opus-codec.org/'
|
||||||
|
description='Open codec for interactive speech and music transmission over the Internet'
|
||||||
|
email='bayramk@gmail.com'
|
||||||
|
maintainer='bk'
|
||||||
|
license=('GPLv3')
|
||||||
|
source=("https://github.com/xiph/opus/archive/refs/tags/v$version.tar.gz")
|
||||||
|
depends=()
|
||||||
|
makedepends=()
|
||||||
|
md5sums=('b27f67923ffcbc8efb4ce7f29cbe3faf')
|
||||||
|
group=(media.libs)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
setup(){
|
||||||
|
autoreconf -fvi
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--libdir=/usr/lib64/
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
make -j`nproc`
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
make install -j`nproc`
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,42 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='portaudio'
|
||||||
|
release='1'
|
||||||
|
version='19.7.0'
|
||||||
|
url='http://www.portaudio.com/'
|
||||||
|
description=' A free, cross-platform, open-source, audio I/O library '
|
||||||
|
email='bayramk@gmail.com'
|
||||||
|
maintainer='bk'
|
||||||
|
license=('GPLv3')
|
||||||
|
source=("https://github.com/PortAudio/portaudio/archive/refs/tags/v$version.tar.gz")
|
||||||
|
depends=()
|
||||||
|
makedepends=()
|
||||||
|
md5sums=('49ecd6de2350b3a1466116538f7be0e7')
|
||||||
|
group=(media.libs)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-$version
|
||||||
|
prepare() {
|
||||||
|
|
||||||
|
cd bindings/cpp
|
||||||
|
autoreconf -fiv
|
||||||
|
##cd ..
|
||||||
|
#autoreconf -fiv
|
||||||
|
}
|
||||||
|
setup(){
|
||||||
|
autoreconf -fiv
|
||||||
|
local configure_options=(
|
||||||
|
--prefix=/usr
|
||||||
|
--enable-cxx
|
||||||
|
)
|
||||||
|
./configure "${configure_options[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
make -j1
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
make install -j`nproc`
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='sbc'
|
||||||
|
release='1'
|
||||||
|
version='2.0'
|
||||||
|
url='https://git.kernel.org/?p=bluetooth/sbc.git'
|
||||||
|
description='Audio codec to connect bluetooth HQ audio devices as headphones or loudspeakers '
|
||||||
|
email='bayramk@gmail.com'
|
||||||
|
maintainer='bk'
|
||||||
|
license=('GPLv3')
|
||||||
|
source=("https://kernel.googlesource.com/pub/scm/bluetooth/sbc.git/+archive/8dc5d5ba381512ad5b1afa45c63ec6b0a3833244.tar.gz")
|
||||||
|
depends=()
|
||||||
|
makedepends=()
|
||||||
|
md5sums=('SKIP')
|
||||||
|
group=(media.libs)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
setup(){
|
||||||
|
autoreconf -fvi
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--libdir=/usr/lib64/
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
make -j`nproc`
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
make install -j`nproc`
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='speexdsp'
|
||||||
|
release='1'
|
||||||
|
version='1.2.1'
|
||||||
|
url='https://www.speex.org/'
|
||||||
|
description='Audio compression format designed for speech -- DSP '
|
||||||
|
email='bayramk@gmail.com'
|
||||||
|
maintainer='bk'
|
||||||
|
license=('GPLv3')
|
||||||
|
source=("https://github.com/xiph/speexdsp/archive/refs/tags/SpeexDSP-$version.tar.gz")
|
||||||
|
depends=()
|
||||||
|
makedepends=()
|
||||||
|
md5sums=('f014603cd6de1db152b14775e79c1048')
|
||||||
|
group=(media.libs)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-SpeexDSP-$version
|
||||||
|
|
||||||
|
setup(){
|
||||||
|
autoreconf -fvi
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--libdir=/usr/lib64/
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
make -j`nproc`
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
make install -j`nproc`
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,35 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='v4l-utils'
|
||||||
|
release='1'
|
||||||
|
version='1.24.1'
|
||||||
|
url='https://linuxtv.org/'
|
||||||
|
description='Userspace tools and conversion library for Video 4 Linux'
|
||||||
|
email='akarsu@protonmail.com'
|
||||||
|
maintainer='akarsu'
|
||||||
|
license=('LGPL')
|
||||||
|
source=("https://www.linuxtv.org/downloads/v4l-utils/v4l-utils-${version}.tar.bz2")
|
||||||
|
depends=(libjpeg-turbo)
|
||||||
|
makedepends=(alsa-lib)
|
||||||
|
md5sums=('8ba9c73c4319b6afab5fa4358edc43de')
|
||||||
|
group=(media.libs)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
setup(){
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--libdir=/usr/lib64/ \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--sbindir=/usr/bin \
|
||||||
|
--disable-static
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
make $jobs
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
make install $jobs
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='vidstab'
|
||||||
|
dizin='vid.stab'
|
||||||
|
release='1'
|
||||||
|
version='1.1.1'
|
||||||
|
url='http://public.hronopik.de/vid.stab/'
|
||||||
|
description='Video stabilization library'
|
||||||
|
email='akarsu@protonmail.com'
|
||||||
|
maintainer='akarsu'
|
||||||
|
license=('GPLv3')
|
||||||
|
source=("https://github.com/georgmartius/vid.stab/archive/v${version}/vid.stab-v${version}.tar.gz")
|
||||||
|
depends=(glibc)
|
||||||
|
makedepends=(cmake)
|
||||||
|
md5sums=('3fb59a96f6e49e2719fd8c551eb3617a')
|
||||||
|
group=(media.libs)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $dizin-$version
|
||||||
|
|
||||||
|
setup(){
|
||||||
|
cmake -B build -G Ninja \
|
||||||
|
-DCMAKE_BUILD_TYPE=None \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=/usr
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
cmake --build build
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
cmake --install build
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,38 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='waf'
|
||||||
|
release='1'
|
||||||
|
version='2.0.25'
|
||||||
|
url='http://waf.io/'
|
||||||
|
description='General-purpose build system modelled after Scons'
|
||||||
|
email='bayramk@gmail.com'
|
||||||
|
maintainer='bk'
|
||||||
|
license=('GPLv3')
|
||||||
|
source=("https://gitlab.com/ita1024/waf/-/archive/waf-$version/waf-waf-$version.tar.gz")
|
||||||
|
depends=(python)
|
||||||
|
makedepends=()
|
||||||
|
md5sums=('eb4fc0e93547f3088268e22a190290f2')
|
||||||
|
group=(media.libs)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-$name-$version
|
||||||
|
|
||||||
|
build(){
|
||||||
|
|
||||||
|
python3 ./waf-light configure build
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
|
||||||
|
install -vDm 755 waf -t "$pkgdir/usr/bin"
|
||||||
|
install -vDm 644 wscript -t "$pkgdir/usr/share/$name/"
|
||||||
|
|
||||||
|
install -vDm 644 waflib/*.py -t "$pkgdir/usr/lib64/python3/site-packages/waf/waflib/"
|
||||||
|
install -vDm 644 waflib/Tools/*.py -t "$pkgdir/usr/lib64/python3/site-packages/waf/waflib/Tools/"
|
||||||
|
install -vDm 644 waflib/extras/*.py -t "$pkgdir/usr/lib64/python3site-packages/waf/waflib/extras/"
|
||||||
|
python3 -m compileall -d "/usr/lib64/python3" "$pkgdir/usr/lib64/python3"
|
||||||
|
python3 -O -m compileall -d "/usr/lib64/python3" "$pkgdir/usr/lib64/python3/"
|
||||||
|
#install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$name/"
|
||||||
|
# install -vDm 644 {README,../building-waf}.md -t "$pkgdir/usr/share/doc/$name/"
|
||||||
|
echo ""
|
||||||
|
}
|
||||||
@@ -0,0 +1,36 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='x264'
|
||||||
|
release='1'
|
||||||
|
version='0.164.3095+gitbaee400'
|
||||||
|
url='https://www.videolan.org/developers/x264.html'
|
||||||
|
description='Open Source H264/AVC video encoder'
|
||||||
|
email='akarsu@protonmail.com'
|
||||||
|
maintainer='akarsu'
|
||||||
|
license=('GPLv3')
|
||||||
|
source=("https://salsa.debian.org/multimedia-team/x264/-/archive/upstream/${version}/x264-upstream-${version}.tar.gz")
|
||||||
|
depends=()
|
||||||
|
makedepends=(nasm)
|
||||||
|
md5sums=('9495a937cf29b2f4ec82e70c8a4dc729')
|
||||||
|
group=(media.libs)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-"upstream"-$version
|
||||||
|
|
||||||
|
setup(){
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--libdir=/usr/lib64/ \
|
||||||
|
--enable-shared \
|
||||||
|
--enable-pic \
|
||||||
|
--enable-lto \
|
||||||
|
--disable-avs
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
make $jobs
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
make install $jobs
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,59 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='x265'
|
||||||
|
release='1'
|
||||||
|
version='3.5'
|
||||||
|
url='https://bitbucket.org/multicoreware/x265_git'
|
||||||
|
description='Open Source H265/HEVC video encoder'
|
||||||
|
email='akarsu@protonmail.com'
|
||||||
|
maintainer='akarsu'
|
||||||
|
license=('GPLv3')
|
||||||
|
source=("https://bitbucket.org/multicoreware/x265_git/get/f0c1022b6be121a753ff02853fbe33da71988656.tar.gz")
|
||||||
|
depends=()
|
||||||
|
makedepends=(cmake nasm ninja)
|
||||||
|
md5sums=('bb92a1fdcb4f4530c3fc12de3452d7fb')
|
||||||
|
group=(media.libs)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
dizin="multicoreware-x265_git-f0c1022b6be1/"
|
||||||
|
#cd $name-"upstream"-$version
|
||||||
|
cd $dizin
|
||||||
|
ls -l
|
||||||
|
build(){
|
||||||
|
cmake -S ./source -B build-12 -G Ninja \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
|
-DHIGH_BIT_DEPTH=TRUE \
|
||||||
|
-DMAIN12=TRUE \
|
||||||
|
-DEXPORT_C_API=FALSE \
|
||||||
|
-DENABLE_CLI=FALSE \
|
||||||
|
-DENABLE_SHARED=FALSE \
|
||||||
|
-Wno-dev
|
||||||
|
ninja -C build-12
|
||||||
|
|
||||||
|
cmake -S ./source -B build-10 -G Ninja \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
|
-DHIGH_BIT_DEPTH=TRUE \
|
||||||
|
-DEXPORT_C_API=FALSE \
|
||||||
|
-DENABLE_CLI=FALSE \
|
||||||
|
-DENABLE_SHARED=FALSE \
|
||||||
|
-Wno-dev
|
||||||
|
ninja -C build-10
|
||||||
|
|
||||||
|
cmake -S ./source -B build -G Ninja \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
|
-DENABLE_SHARED=TRUE \
|
||||||
|
-DENABLE_HDR10_PLUS=TRUE \
|
||||||
|
-DEXTRA_LIB='x265_main10.a;x265_main12.a' \
|
||||||
|
-DEXTRA_LINK_FLAGS='-L .' \
|
||||||
|
-DLINKED_10BIT=TRUE \
|
||||||
|
-DLINKED_12BIT=TRUE \
|
||||||
|
-Wno-dev
|
||||||
|
ln -s ../build-10/libx265.a build/libx265_main10.a
|
||||||
|
ln -s ../build-12/libx265.a build/libx265_main12.a
|
||||||
|
ninja -C build
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
DESTDIR="${DESTDIR}" ninja -C build install
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,33 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='xvidcore'
|
||||||
|
release='1'
|
||||||
|
version='1.3.7'
|
||||||
|
url='https://www.xvid.com/'
|
||||||
|
description='XviD is an open source MPEG-4 video codec'
|
||||||
|
email='akarsu@protonmail.com'
|
||||||
|
maintainer='akarsu'
|
||||||
|
license=('GPLv3')
|
||||||
|
source=("https://downloads.xvid.com/downloads/xvidcore-${version}.tar.gz")
|
||||||
|
depends=()
|
||||||
|
makedepends=(nasm)
|
||||||
|
md5sums=('5c6c19324608ac491485dbb27d4da517')
|
||||||
|
group=(media.libs)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name"/build/generic"
|
||||||
|
|
||||||
|
setup(){
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--libdir=/usr/lib64/ \
|
||||||
|
--disable-assembly
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
make DESTDIR=$DESTDIR install
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,33 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='zimg'
|
||||||
|
release='1'
|
||||||
|
version='3.0.4'
|
||||||
|
url='https://github.com/sekrit-twc/zimg'
|
||||||
|
description='Scaling, colorspace conversion, and dithering library'
|
||||||
|
email='akarsu@protonmail.com'
|
||||||
|
maintainer='akarsu'
|
||||||
|
license=('custom:WTFPL')
|
||||||
|
source=("https://github.com/sekrit-twc/zimg/archive/refs/tags/release-${version}.tar.gz")
|
||||||
|
depends=(glibc)
|
||||||
|
makedepends=()
|
||||||
|
md5sums=('9ef18426caecf049d3078732411a9802')
|
||||||
|
group=(media.libs)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-"release"-$version
|
||||||
|
|
||||||
|
setup(){
|
||||||
|
autoreconf -vfi
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--libdir=/usr/lib64/
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
make $jobs
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
make install $jobs
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
diff --git i/wscript w/wscript
|
||||||
|
index 86eb3954..bdd29dc3 100644
|
||||||
|
--- i/wscript
|
||||||
|
+++ w/wscript
|
||||||
|
@@ -199,8 +199,8 @@ def options(opt):
|
||||||
|
db = opt.add_auto_option(
|
||||||
|
'db',
|
||||||
|
help='Use Berkeley DB (metadata)')
|
||||||
|
- db.check(header_name='db.h')
|
||||||
|
- db.check(lib='db')
|
||||||
|
+ db.check(header_name='db5.3/db.h')
|
||||||
|
+ db.check(lib='db-5.3')
|
||||||
|
|
||||||
|
# dbus options
|
||||||
|
opt.recurse('dbus')
|
||||||
@@ -0,0 +1,110 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='jack2'
|
||||||
|
release='1'
|
||||||
|
version='1.9.22'
|
||||||
|
url='https://github.com/jackaudio/jack2'
|
||||||
|
description='A frontend for several cd-rippers and mp3 encoders '
|
||||||
|
email='bayramk@gmail.com'
|
||||||
|
maintainer='bk'
|
||||||
|
license=('GPLv3')
|
||||||
|
source=("https://github.com/jackaudio/jack2/archive/refs/tags/v$version.tar.gz"
|
||||||
|
"jack2-1.9.22-db-5.3.patch")
|
||||||
|
depends=(python)
|
||||||
|
makedepends=()
|
||||||
|
md5sums=('e57c8ad3de75f78b6eb7aacea4e25755'
|
||||||
|
"SKIP")
|
||||||
|
group=(media.sound)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
_pick() {
|
||||||
|
local p="$1" f d; shift
|
||||||
|
for f; do
|
||||||
|
d="$srcdir/$p/${f#$pkgdir/}"
|
||||||
|
mkdir -p "$(dirname "$d")"
|
||||||
|
mv "$f" "$d"
|
||||||
|
rmdir -p --ignore-fail-on-non-empty "$(dirname "$f")"
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
patch -Np1 -i ../jack2-1.9.22-db-5.3.patch
|
||||||
|
|
||||||
|
# remove custom waflib, as we are using system provided waf
|
||||||
|
#rm -rv waflib
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
local waf_options=(
|
||||||
|
--prefix=/usr
|
||||||
|
--libdir=/usr/lib64/
|
||||||
|
--htmldir=/usr/share/doc/$name/html
|
||||||
|
--autostart=none
|
||||||
|
--doxygen=no
|
||||||
|
--classic
|
||||||
|
--dbus
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
waf configure "${waf_options[@]}"
|
||||||
|
waf build
|
||||||
|
}
|
||||||
|
|
||||||
|
package_jack2() {
|
||||||
|
license+=(LGPL2.1)
|
||||||
|
depends=(
|
||||||
|
alsa-lib libasound.so
|
||||||
|
db5.3
|
||||||
|
dbus libdbus-1.so
|
||||||
|
gcc-libs
|
||||||
|
glibc
|
||||||
|
libsamplerate libsamplerate.so
|
||||||
|
opus libopus.so
|
||||||
|
systemd-libs libsystemd.so
|
||||||
|
)
|
||||||
|
optdepends=(
|
||||||
|
'a2jmidid: for ALSA MIDI to JACK MIDI bridging'
|
||||||
|
'libffado: for firewire support using FFADO'
|
||||||
|
'jack-example-tools: for official JACK example-clients and tools'
|
||||||
|
'jack2-dbus: for dbus integration'
|
||||||
|
'jack2-docs: for developer documentation'
|
||||||
|
'realtime-privileges: for realtime privileges'
|
||||||
|
)
|
||||||
|
conflicts=(jack)
|
||||||
|
provides=(jack libjack.so libjacknet.so libjackserver.so)
|
||||||
|
|
||||||
|
#cd $pkgbase
|
||||||
|
export PYTHONPATH="$PWD:$PYTHONPATH"
|
||||||
|
waf install --destdir="$pkgdir"
|
||||||
|
|
||||||
|
(
|
||||||
|
cd $pkgdir
|
||||||
|
|
||||||
|
_pick jack2-dbus usr/bin/jack{dbus,_control}
|
||||||
|
_pick jack2-dbus usr/share/dbus-1/services/*
|
||||||
|
_pick jack2-docs usr/share/doc/$name/html
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
package_jack2-dbus() {
|
||||||
|
pkgdesc+=" (dbus integration)"
|
||||||
|
depends=(
|
||||||
|
dbus libdbus-1.so
|
||||||
|
expat libexpat.so
|
||||||
|
gcc-libs
|
||||||
|
glibc
|
||||||
|
jack2 libjackserver.so
|
||||||
|
python-dbus
|
||||||
|
)
|
||||||
|
|
||||||
|
mv -v jack2-dbus/* "$pkgdir"
|
||||||
|
}
|
||||||
|
|
||||||
|
package_jack2-docs() {
|
||||||
|
pkgdesc+=" (documentation)"
|
||||||
|
|
||||||
|
mv -v jack2-docs/* "$pkgdir"
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,33 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='mpg123'
|
||||||
|
release='1'
|
||||||
|
version='1.31.3'
|
||||||
|
url='https://sourceforge.net/projects/mpg123'
|
||||||
|
description='Console based real time MPEG Audio Player for Layer 1, 2 and 3'
|
||||||
|
email='akarsu@protonmail.com'
|
||||||
|
maintainer='akarsu'
|
||||||
|
license=('LGPLv2')
|
||||||
|
source=(https://downloads.sourceforge.net/sourceforge/${name}/${name}-${version}.tar.bz2{,.sig})
|
||||||
|
depends=(alsa-lib)
|
||||||
|
makedepends=()
|
||||||
|
md5sums=('23ff362764374d3f2051862eea2d9a56' 'SKIP')
|
||||||
|
group=(media.sound)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
setup(){
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--libdir=/usr/lib64/ \
|
||||||
|
--enable-int-quality
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
make $jobs
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
make install $jobs
|
||||||
|
}
|
||||||
|
|
||||||
@@ -8,7 +8,7 @@ email='bayramk@gmail.com'
|
|||||||
maintainer='bk'
|
maintainer='bk'
|
||||||
license=('GPLv3')
|
license=('GPLv3')
|
||||||
source=("https://salsa.debian.org/multimedia-team/ffmpeg/-/archive/upstream/$version/ffmpeg-upstream-$version.tar.gz")
|
source=("https://salsa.debian.org/multimedia-team/ffmpeg/-/archive/upstream/$version/ffmpeg-upstream-$version.tar.gz")
|
||||||
depends=(gnutls libaom libass dav1d libjxl libopenmpt)
|
depends=(gnutls libaom libass dav1d libjxl libdrm lcms2 lame opus libopenmpt libpulse libplacebo gnutls librist libsrt libtheora v4l-utils vidstab libvpx libwebp x264 x265 xvidcore zimg)
|
||||||
makedepends=()
|
makedepends=()
|
||||||
md5sums=('333b7ce677e42082c36e08d23e56acbe')
|
md5sums=('333b7ce677e42082c36e08d23e56acbe')
|
||||||
group=()
|
group=()
|
||||||
@@ -22,7 +22,6 @@ setup(){
|
|||||||
--disable-x86asm \
|
--disable-x86asm \
|
||||||
--disable-librtmp \
|
--disable-librtmp \
|
||||||
--disable-lzma \
|
--disable-lzma \
|
||||||
--disable-static \
|
|
||||||
--disable-stripping \
|
--disable-stripping \
|
||||||
--enable-avfilter \
|
--enable-avfilter \
|
||||||
--enable-gnutls \
|
--enable-gnutls \
|
||||||
@@ -36,7 +35,6 @@ setup(){
|
|||||||
--enable-libfribidi \
|
--enable-libfribidi \
|
||||||
--enable-libjxl \
|
--enable-libjxl \
|
||||||
--enable-libmp3lame \
|
--enable-libmp3lame \
|
||||||
--enable-libopenmpt \
|
|
||||||
--enable-libopus \
|
--enable-libopus \
|
||||||
--enable-libplacebo \
|
--enable-libplacebo \
|
||||||
--enable-libpulse \
|
--enable-libpulse \
|
||||||
@@ -52,6 +50,7 @@ setup(){
|
|||||||
--enable-libwebp \
|
--enable-libwebp \
|
||||||
--enable-libx264 \
|
--enable-libx264 \
|
||||||
--enable-libx265 \
|
--enable-libx265 \
|
||||||
|
--enable-libopenmpt \
|
||||||
--enable-libxcb \
|
--enable-libxcb \
|
||||||
--enable-libxvid \
|
--enable-libxvid \
|
||||||
--enable-libzimg \
|
--enable-libzimg \
|
||||||
@@ -60,11 +59,13 @@ setup(){
|
|||||||
--enable-pic \
|
--enable-pic \
|
||||||
--enable-postproc \
|
--enable-postproc \
|
||||||
--enable-pthreads \
|
--enable-pthreads \
|
||||||
|
--enable-static \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
--enable-vaapi \
|
--enable-vaapi \
|
||||||
--enable-vdpau \
|
--enable-vdpau \
|
||||||
--enable-vulkan \
|
--enable-vulkan \
|
||||||
--optflags="-O3"
|
--optflags="-O3"
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
build(){
|
build(){
|
||||||
|
|||||||
@@ -0,0 +1,34 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='mbedtls'
|
||||||
|
release='1'
|
||||||
|
version='2.28.3'
|
||||||
|
url='https://tls.mbed.org/'
|
||||||
|
description='Portable cryptographic and SSL/TLS library, aka polarssl'
|
||||||
|
email='akarsu@protonmail.com'
|
||||||
|
maintainer='akarsu'
|
||||||
|
license=('Apache')
|
||||||
|
source=("https://github.com/Mbed-TLS/mbedtls/archive/refs/tags/v${version}.tar.gz")
|
||||||
|
depends=(glibc)
|
||||||
|
makedepends=(cmake python)
|
||||||
|
md5sums=('7e1b09243447a0378a78dd5469b68415')
|
||||||
|
group=(net.libs)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
setup(){
|
||||||
|
cmake -B build -G Ninja \
|
||||||
|
-DCMAKE_BUILD_TYPE=MinSizeRel \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
|
-DUSE_SHARED_MBEDTLS_LIBRARY=ON
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
cmake --build build
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
cmake --install build
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,47 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='zeromq'
|
||||||
|
release='1'
|
||||||
|
version='4.3.4'
|
||||||
|
_cppver=4.8.0
|
||||||
|
url='https://github.com/jedisct1/libsodium'
|
||||||
|
description='P(ortable|ackageable) NaCl-based crypto library'
|
||||||
|
email='bayramk@gmail.com'
|
||||||
|
maintainer='by'
|
||||||
|
license=('custom:ISC')
|
||||||
|
|
||||||
|
source=("https://github.com/zeromq/libzmq/releases/download/v$version/zeromq-$version.tar.gz"
|
||||||
|
"zmq.hpp.$_cppver.tgz::https://github.com/zeromq/cppzmq/archive/v$_cppver.tar.gz")
|
||||||
|
depends=(libsodium libpgm)
|
||||||
|
makedepends=()
|
||||||
|
md5sums=('c897d4005a3f0b8276b00b7921412379'
|
||||||
|
'SKIP')
|
||||||
|
group=(net.libs)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-$version
|
||||||
|
prepare() {
|
||||||
|
sed -i 's/libzmq_werror="yes"/libzmq_werror="no"/' configure
|
||||||
|
|
||||||
|
sed -i 's/openpgm-5.1/openpgm-5.3/' configure configure.ac
|
||||||
|
sed -i 's/CXXFLAGS="-Wno-long-long/CXXFLAGS="-Wno-unused-function -Wno-long-long/' configure
|
||||||
|
}
|
||||||
|
|
||||||
|
setup(){
|
||||||
|
autoreconf -fvi
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--libdir=/usr/lib64/ \
|
||||||
|
--with-pgm \
|
||||||
|
--with-libsodium \
|
||||||
|
--with-documentation --enable-static --disable-Werror
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
make -Wno-unused-function -Wnoerror=unused-function
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
make install $jobs
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,33 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='sysfsutils'
|
||||||
|
release='1'
|
||||||
|
version='2.1.1'
|
||||||
|
url='http://linux-diag.sourceforge.net/Sysfsutils.html'
|
||||||
|
description='System Utilities Based on Sysfs'
|
||||||
|
email='akarsu@protonmail.com'
|
||||||
|
maintainer='akarsu'
|
||||||
|
license=('GPL' 'LGPL')
|
||||||
|
source=("https://github.com/linux-ras/sysfsutils/archive/v${version}.tar.gz")
|
||||||
|
depends=()
|
||||||
|
makedepends=()
|
||||||
|
md5sums=('537c110be7244905997262854505c30f')
|
||||||
|
group=(sys.fs)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
setup(){
|
||||||
|
autoreconf -fvi
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--libdir=/usr/lib64/
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
make $jobs
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
make install $jobs
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='libunwind'
|
||||||
|
release='1'
|
||||||
|
version='1.7.0'
|
||||||
|
url='https://savannah.nongnu.org/projects/libunwind'
|
||||||
|
description='Portable and efficient API to determine the call-chain of a program '
|
||||||
|
email='bayramk@gmail.com'
|
||||||
|
maintainer='bk'
|
||||||
|
license=('GPLv3')
|
||||||
|
source=("https://github.com/libunwind/libunwind/archive/refs/tags/v$version-rc2.tar.gz")
|
||||||
|
depends=()
|
||||||
|
makedepends=()
|
||||||
|
md5sums=('e4b4b6376884b02fb540f04b763df7b9')
|
||||||
|
group=(sys.libs)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-$version-rc2
|
||||||
|
|
||||||
|
setup(){
|
||||||
|
autoreconf -fvi
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--libdir=/usr/lib64/
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
make -j`nproc`
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
make install -j`nproc`
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='tdb'
|
||||||
|
release='1'
|
||||||
|
version='1.4.8'
|
||||||
|
url='https://tdb.samba.org/'
|
||||||
|
description='Simple database API '
|
||||||
|
email='bayramk@gmail.com'
|
||||||
|
maintainer='bk'
|
||||||
|
license=('GPLv3')
|
||||||
|
source=("https://www.samba.org/ftp/tdb/tdb-$version.tar.gz")
|
||||||
|
depends=()
|
||||||
|
makedepends=()
|
||||||
|
md5sums=('2b46875d656cafd13f5d1d5bc64bfa21')
|
||||||
|
group=(sys.libs)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
setup(){
|
||||||
|
#autoreconf -fvi
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--libdir=/usr/lib64/
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
make -j`nproc`
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
make install -j`nproc`
|
||||||
|
}
|
||||||
|
|
||||||
Reference in new issue
Block a user