speex: moved from opt, adopted port

This commit is contained in:
Tim Biermann 2023-08-19 11:56:01 +02:00
parent 82d54617b7
commit cb189f618f
3 changed files with 57 additions and 0 deletions

27
speex/.footprint Normal file
View File

@ -0,0 +1,27 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/speexdec
-rwxr-xr-x root/root usr/bin/speexenc
drwxr-xr-x root/root usr/include/
drwxr-xr-x root/root usr/include/speex/
-rw-r--r-- root/root usr/include/speex/speex.h
-rw-r--r-- root/root usr/include/speex/speex_bits.h
-rw-r--r-- root/root usr/include/speex/speex_callbacks.h
-rw-r--r-- root/root usr/include/speex/speex_config_types.h
-rw-r--r-- root/root usr/include/speex/speex_header.h
-rw-r--r-- root/root usr/include/speex/speex_stereo.h
-rw-r--r-- root/root usr/include/speex/speex_types.h
drwxr-xr-x root/root usr/lib/
-rwxr-xr-x root/root usr/lib/libspeex.la
lrwxrwxrwx root/root usr/lib/libspeex.so -> libspeex.so.1.5.2
lrwxrwxrwx root/root usr/lib/libspeex.so.1 -> libspeex.so.1.5.2
-rwxr-xr-x root/root usr/lib/libspeex.so.1.5.2
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/speex.pc
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/aclocal/
-rw-r--r-- root/root usr/share/aclocal/speex.m4
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man1/
-rw-r--r-- root/root usr/share/man/man1/speexdec.1.gz
-rw-r--r-- root/root usr/share/man/man1/speexenc.1.gz

5
speex/.signature Normal file
View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3373SlRUfAasfL4RjpnUq2SM/GxDyVbqsUSjYEZ4RsW743rYQjkYFlIqDOj8zWThepLmbrbgGcojGmVpnOtNtQE=
SHA256 (Pkgfile) = 692dd52a56f4b3fd4ea515dae1ffb4b9e3205ace6eda4a917b0fcdbf23d7591c
SHA256 (.footprint) = e741d988cca79d92301a385c1f971474d65acb1fee0abe5a67bc5bc65da81400
SHA256 (speex-Speex-1.2.1.tar.bz2) = cc55cce69d8753940d56936f7a1fe6db4b302df144aec93a92de1c65b1a87681

25
speex/Pkgfile Normal file
View File

@ -0,0 +1,25 @@
# Description: A free codec library for speech
# URL: https://www.speex.org
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: libogg
name=speex
version=1.2.1
release=2
source=(https://gitlab.xiph.org/xiph/speex/-/archive/Speex-$version/speex-Speex-$version.tar.bz2)
build() {
cd $name-Speex-$version
NO_CONFIGURE=1 ./autogen.sh
./configure \
--prefix=/usr \
--enable-epic-48k \
--enable-binaries \
--disable-static
sed -i -e "/^SUBDIRS = /s/doc //" Makefile
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
make DESTDIR=$PKG install
}