wok-next view libcanberra/receipt @ rev 21087
Updates...
Revert names: libsdl -> sdl, libsmpeg -> smpeg, libtdb -> tdb
Revert names: libsdl -> sdl, libsmpeg -> smpeg, libtdb -> tdb
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Dec 28 05:11:49 2018 +0200 (2018-12-28) |
parents | d5aab818505e |
children | 33293021c26d |
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/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/multimedia/libcanberra.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$WEB_SITE/$TARBALL"
15 BUILD_DEPENDS="libtool gtk2-dev libvorbis-dev alsa-lib-dev eudev-dev \
16 gstreamer1-dev gtk3-dev"
17 SPLIT="$PACKAGE-gnome $PACKAGE-gstreamer1 $PACKAGE-gtk2 $PACKAGE-gtk3 \
18 $PACKAGE $PACKAGE-dev"
20 compile_rules() {
21 ./configure \
22 --enable-gtk \
23 --disable-oss \
24 $CONFIGURE_ARGS &&
25 fix libtool &&
26 make &&
27 make -j1 docdir=/usr/share/doc/libcanberra-$VERSION install
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 *-gnome)
33 copy gnome-settings-daemon-3.0/ gdm/ gnome/ canberra-boot
34 CAT="gnome|GNOME integration"
35 DEPENDS="eudev libcanberra"
36 ;;
37 *-gstreamer1)
38 copy libcanberra-gstreamer.so
39 CAT="sound|Gstreamer bindings"
40 DEPENDS="glib gstreamer1 libcanberra"
41 ;;
42 *-gtk2)
43 copy gtk-2.0/modules/*.so libcanberra-gtk.so*
44 CAT="sound|GTK+2 integration"
45 DEPENDS="glib gtk2 libcanberra libx11"
46 ;;
47 *-gtk3)
48 copy gtk-3.0/modules/*.so libcanberra-gtk3.so* canberra-gtk-play
49 CAT="sound|GTK+3 integration"
50 DEPENDS="glib gtk3 libcanberra libx11"
51 ;;
52 libcanberra)
53 copy @std @rm
54 DEPENDS="alsa-lib libltdl libvorbis"
55 ;;
56 *-dev)
57 copy @dev
58 DEPENDS="${SPLIT/$PACKAGE/} \
59 gtk2-dev gtk3-dev libx11-dev"
60 ;;
61 esac
62 }