commit 0fd8176
chld
·
2026-08-22 22:21:30 +0000 UTC
parent e1f22e2
alsa-utils: init
3 files changed,
+50,
-0
+2,
-0
1@@ -0,0 +1,2 @@
2+.alsa-lib
3+/netbsd-curses
+6,
-0
1@@ -0,0 +1,6 @@
2+name: alsa-utils
3+description: programs for interacting with alsa
4+license:
5+upstream:
6+version: 1.2.16
7+maintainer: chld
+42,
-0
1@@ -0,0 +1,42 @@
2+#!/bin/sh -ue
3+NAME=alsa-utils
4+VERSION=1.2.16
5+RELEASE=1
6+SOURCE="https://www.alsa-project.org/files/pub/utils/alsa-utils-${VERSION}.tar.bz2"
7+
8+build() {
9+ ./configure \
10+ --pkg-config-flags=--static \
11+ --extra-cflags="-I$PREFIX/include" \
12+ --extra-ldflags="-L$PREFIX/lib -static" \
13+ --extra-libs="-lpthread -lm" \
14+ --extra-ldexeflags=-static \
15+ --host-ldflags=-static \
16+ --disable-debug \
17+ --disable-libxml2 \
18+ --enable-static \
19+ --enable-gpl \
20+ --disable-libvorbis \
21+ --enable-libdrm \
22+ --enable-libmp3lame \
23+ --enable-libopus \
24+ --enable-libvpx \
25+ --enable-libwebp \
26+ --enable-ffmpeg \
27+ --enable-libx264 \
28+ --enable-libx265 \
29+ --enable-libxvid \
30+ --enable-libdav1d \
31+ --enable-nonfree \
32+ --enable-version3 \
33+ --disable-doc \
34+ --disable-htmlpages \
35+ --enable-manpages \
36+ --disable-podpages \
37+ --disable-txtpages \
38+ --enable-libtlsejdkjedik || die "configure failed"
39+ gmake PREFIX="$PREFIX" -j"$NPROC" || die "make failed"
40+ gmake PREFIX="$PREFIX" DESTDIR="$PKG" install || die "make install failed"
41+}
42+
43+. ${0%/*}/../../libsh/libdmake.sh