From d5d2841363083e58bc3fbbcf10ec065343675c11 Mon Sep 17 00:00:00 2001 From: Tim Biermann Date: Sat, 17 Feb 2024 14:12:31 +0100 Subject: [PATCH] libcanberra: restructured dependencies --- libcanberra/.footprint | 16 ---------------- libcanberra/.signature | 6 +++--- libcanberra/Pkgfile | 19 +++++++++++++------ 3 files changed, 16 insertions(+), 25 deletions(-) diff --git a/libcanberra/.footprint b/libcanberra/.footprint index 20aff0d8e..eb0ccd1a4 100644 --- a/libcanberra/.footprint +++ b/libcanberra/.footprint @@ -1,36 +1,20 @@ drwxr-xr-x root/root usr/ drwxr-xr-x root/root usr/bin/ --rwxr-xr-x root/root usr/bin/canberra-boot --rwxr-xr-x root/root usr/bin/canberra-gtk-play drwxr-xr-x root/root usr/include/ --rw-r--r-- root/root usr/include/canberra-gtk.h -rw-r--r-- root/root usr/include/canberra.h drwxr-xr-x root/root usr/lib/ -drwxr-xr-x root/root usr/lib/gtk-3.0/ -drwxr-xr-x root/root usr/lib/gtk-3.0/modules/ -lrwxrwxrwx root/root usr/lib/gtk-3.0/modules/libcanberra-gtk-module.so -> libcanberra-gtk3-module.so --rwxr-xr-x root/root usr/lib/gtk-3.0/modules/libcanberra-gtk3-module.la --rwxr-xr-x root/root usr/lib/gtk-3.0/modules/libcanberra-gtk3-module.so drwxr-xr-x root/root usr/lib/libcanberra-0.30/ --rwxr-xr-x root/root usr/lib/libcanberra-0.30/libcanberra-alsa.la --rwxr-xr-x root/root usr/lib/libcanberra-0.30/libcanberra-alsa.so -rwxr-xr-x root/root usr/lib/libcanberra-0.30/libcanberra-multi.la -rwxr-xr-x root/root usr/lib/libcanberra-0.30/libcanberra-multi.so -rwxr-xr-x root/root usr/lib/libcanberra-0.30/libcanberra-null.la -rwxr-xr-x root/root usr/lib/libcanberra-0.30/libcanberra-null.so --rwxr-xr-x root/root usr/lib/libcanberra-gtk3.la -lrwxrwxrwx root/root usr/lib/libcanberra-gtk3.so -> libcanberra-gtk3.so.0.1.9 -lrwxrwxrwx root/root usr/lib/libcanberra-gtk3.so.0 -> libcanberra-gtk3.so.0.1.9 --rwxr-xr-x root/root usr/lib/libcanberra-gtk3.so.0.1.9 -rwxr-xr-x root/root usr/lib/libcanberra.la lrwxrwxrwx root/root usr/lib/libcanberra.so -> libcanberra.so.0.2.5 lrwxrwxrwx root/root usr/lib/libcanberra.so.0 -> libcanberra.so.0.2.5 -rwxr-xr-x root/root usr/lib/libcanberra.so.0.2.5 drwxr-xr-x root/root usr/lib/pkgconfig/ --rw-r--r-- root/root usr/lib/pkgconfig/libcanberra-gtk3.pc -rw-r--r-- root/root usr/lib/pkgconfig/libcanberra.pc drwxr-xr-x root/root usr/share/ drwxr-xr-x root/root usr/share/vala/ drwxr-xr-x root/root usr/share/vala/vapi/ --rw-r--r-- root/root usr/share/vala/vapi/libcanberra-gtk.vapi -rw-r--r-- root/root usr/share/vala/vapi/libcanberra.vapi diff --git a/libcanberra/.signature b/libcanberra/.signature index 9e1101a66..676f13333 100644 --- a/libcanberra/.signature +++ b/libcanberra/.signature @@ -1,7 +1,7 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF3yVU2Dx/zBs5hmyzkt/98bgxmJLz10t0B8LNRBFDsW6Kp1ZGzh5DGmYGIRL0eo8lQJM84e2+huL1QsJ1DVzGNw8= -SHA256 (Pkgfile) = 557f6f09e9d73cb81869833d2ce17647f90bec45984e143d47a22487768f0c3d -SHA256 (.footprint) = 7ef21f7e505d952a52fe33ef7713bf2a7f8b76d6fd9e36d6a7bdff7d5b1ab342 +RWSagIOpLGJF31WxrBwfVjW/ZzpOHtaVbErOafpk52rBtV8d1hzJSj4ezaPHBrVVYcsZK6fTH1dBLleuK+AnvVfe6wGXjnvgRA0= +SHA256 (Pkgfile) = 8057e3096acf379d2bf9c577fc47564a6ef193f538a11aa4c44abe9a08aca5af +SHA256 (.footprint) = 8b18ba421cc94f233bb8976bc377e3662a4cdf7f00342940c84281aff6ce5c96 SHA256 (libcanberra-0.30.tar.xz) = c2b671e67e0c288a69fc33dc1b6f1b534d07882c2aceed37004bf48c601afa72 SHA256 (libcanberra-broadway-fix.patch) = 5c07bf6a7199d992e6f797de157bf4368391e597ab7a332da401269a8d8dd12b SHA256 (libcanberra-multi-backend.patch) = de146cae3e40a16b38c8edb4f1a3a423c64eb9c5000e36c316b677e9909c9b06 diff --git a/libcanberra/Pkgfile b/libcanberra/Pkgfile index c5ac34352..1414cb7db 100644 --- a/libcanberra/Pkgfile +++ b/libcanberra/Pkgfile @@ -1,29 +1,36 @@ # Description: A small and lightweight implementation of the XDG Sound Theme Specification # URL: http://0pointer.de/lennart/projects/libcanberra # Maintainer: Tim Biermann, tbier at posteo dot de -# Depends on: alsa-lib gtk3 libvorbis -# Optional: gstreamer gtk pulseaudio tdb lynx +# Depends on: libvorbis +# Optional: alsa-lib gstreamer gtk gtk3 pulseaudio tdb lynx name=libcanberra version=0.30 -release=3 +release=4 source=(http://0pointer.de/lennart/projects/libcanberra/libcanberra-$version.tar.xz libcanberra-broadway-fix.patch libcanberra-multi-backend.patch) build() { cd $name-$version + patch -p1 -i $SRC/libcanberra-broadway-fix.patch patch -p1 -i $SRC/libcanberra-multi-backend.patch + prt-get isinst alsa-lib && PKGMK_LIBCANBERRA+=' --enable-alsa' + prt-get isinst gstreamer && PKGMK_LIBCANBERRA+=' --enable-gstreamer' + prt-get isinst gtk && PKGMK_LIBCANBERRA+=' --enable-gtk' + prt-get isinst gtk3 && PKGMK_LIBCANBERRA+=' --enable-gtk3' + prt-get isinst pulseaudio && PKGMK_LIBCANBERRA+=' --enable-pulse' + ./configure --prefix=/usr $PKGMK_LIBCANBERRA \ - --enable-alsa \ + --enable-udev \ --disable-oss \ --disable-static \ + --disable-gtk-{doc,doc-html,doc-pdf} \ --with-builtin=dso \ --with-pic make make -j1 DESTDIR=$PKG install - rm -r $PKG/usr/share/{doc,gtk-doc,gnome,gdm} - rm -r $PKG/usr/lib/gnome-settings-daemon* + rm -r $PKG/usr/share/{doc,gtk-doc} }