vorbis-tools: allow building without libao

adopted port
This commit is contained in:
John McQuah 2023-08-19 10:41:56 -04:00
parent 72db91a2fd
commit 5426fb8787
4 changed files with 14 additions and 15 deletions

View File

@ -1,6 +1,5 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/ogg123
-rwxr-xr-x root/root usr/bin/oggdec
-rwxr-xr-x root/root usr/bin/oggenc
-rwxr-xr-x root/root usr/bin/ogginfo
@ -9,7 +8,6 @@ drwxr-xr-x root/root usr/bin/
drwxr-xr-x root/root usr/share/
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/ogg123.1.gz
-rw-r--r-- root/root usr/share/man/man1/oggdec.1.gz
-rw-r--r-- root/root usr/share/man/man1/oggenc.1.gz
-rw-r--r-- root/root usr/share/man/man1/ogginfo.1.gz

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3//VRZW4ymalncubZ6czz3H50ZYioqbW9QAnyUMh0MRCKOIP5G308qkxXr3tG5wPlyfuGSf1Wn/7looUMHG+mg4=
SHA256 (Pkgfile) = c298220e312b66f679079c22d566ff25e3783b1a6f2d53ab70746f13be4dc4b2
SHA256 (.footprint) = bbd73483a13b227b9552c1cf81fac974af2c479ff488653af9e0db0cd3cf2c2d
RWSagIOpLGJF34LrnLh+ZJ6KxMtnFPb/96y/k9kL5U5BExn/wkx4iCFl8ZazpxeV/P92VHvqlDRqGnLw8BnKQCwhCbJw3MNKLQk=
SHA256 (Pkgfile) = 3003e1441cbb5c1c45117f8d475cd44b997980856227192d1f0aa1ab65253cb6
SHA256 (.footprint) = 55c7f9d94e91848e42d4a525310b0ea7df605fbb845be7fa9b9c6087c21986dd
SHA256 (vorbis-tools-1.4.2.tar.gz) = db7774ec2bf2c939b139452183669be84fda5774d6400fc57fde37f77624f0b0

View File

@ -1,23 +1,23 @@
# Description: Tools used to create/alter ogg/vorbis files
# URL: https://www.xiph.org/vorbis/
# Maintainer: unmaintained
# Depends on: curl libao libvorbis
# Maintainer: John McQuah, jmcquah at disroot dot org
# Depends on: curl libvorbis
# Optional: flac libao opus opusfile speex
name=vorbis-tools
version=1.4.2
release=1
release=2
source=(https://downloads.xiph.org/releases/vorbis/$name-$version.tar.gz)
build() {
cd $name-$version
PKGMK_VORBISTOOLS=(--prefix=/usr --disable-nls
--disable-maintainer-mode
--enable-vcut)
prt-get isinst libao || PKGMK_VORBISTOOLS+=(--disable-ogg123)
./configure \
--prefix=/usr \
--disable-nls \
--enable-vcut
cd $name-$version
./configure "${PKGMK_VORBISTOOLS[@]}"
make
make DESTDIR=$PKG install
rm -r $PKG/usr/share/doc
}

1
vorbis-tools/README Normal file
View File

@ -0,0 +1 @@
If you want the CLI player ogg123, install libao before building this port.