wok-next view libcanberra/receipt @ rev 19879
qemacs: does not need gcc3
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 04 18:36:44 2017 +0200 (2017-10-04) |
parents | 1d017e1c3866 |
children | 05d4a6d977d4 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libcanberra"
4 VERSION="0.30"
5 CATEGORY="sound"
6 SHORT_DESC="Portable sound event library"
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://0pointer.de/lennart/projects/libcanberra/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$WEB_SITE/$TARBALL"
14 BUILD_DEPENDS="libtool gtk+-dev libvorbis-dev alsa-lib-dev eudev-dev \
15 gstreamer1-dev"
16 SPLIT="libcanberra-gnome libcanberra-gstreamer1 libcanberra libcanberra-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 # http://www.linuxfromscratch.org/blfs/view/stable/multimedia/libcanberra.html
22 ./configure \
23 --enable-gtk \
24 --disable-oss \
25 $CONFIGURE_ARGS &&
26 make &&
27 make -j1 docdir=/usr/share/doc/libcanberra-$VERSION install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 case $PACKAGE in
34 *-gnome)
35 copy gnome-settings-daemon-3.0/ gdm/ gnome/ canberra-boot
36 CAT="gnome|GNOME integration"
37 ;;
38 *-gstreamer1)
39 copy libcanberra-gstreamer.so
40 CAT="sound|Gstreamer bindings"
41 DEPENDS="libcanberra glib gstreamer1 libffi libltdl libogg \
42 libvorbis pcre"
43 ;;
44 libcanberra)
45 copy @std
46 remove_already_packed
47 DEPENDS="alsa-lib atk bzlib cairo fontconfig freetype gdk-pixbuf \
48 glib gtk+ libffi libharfbuzz libltdl liblzma libogg libpng16 \
49 libvorbis libxml2 pango pcre util-linux-blkid util-linux-mount \
50 util-linux-uuid xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext \
51 xorg-libXrender xorg-libxcb xorg-pixman zlib"
52 ;;
53 *-dev)
54 copy @dev
55 DEPENDS="libcanberra libcanberra-gnome libcanberra-gstreamer1 \
56 alsa-lib-dev atk-dev bzip2-dev cairo-dev fontconfig-dev \
57 freetype-dev gdk-pixbuf-dev glib-dev gstreamer1-dev gtk+-dev \
58 harfbuzz-dev libffi-dev libogg-dev libpng16-dev libtool \
59 libvorbis-dev libxml2-dev pango-dev pcre-dev util-linux-blkid-dev \
60 util-linux-mount-dev util-linux-uuid-dev xorg-libX11-dev \
61 xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \
62 xorg-libXrender-dev xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev"
63 ;;
64 esac
65 }