vim: update to 9.1.0984
[oi-userland.git] / components / library / libcanberra / Makefile
blob860321eafca4e590b87b1c8c4a666fef04460d43
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2015 Alexander Pyhalov
16 BUILD_STYLE= configure
17 BUILD_BITS= 64
18 include ../../../make-rules/shared-macros.mk
20 COMPONENT_NAME= libcanberra
21 COMPONENT_VERSION= 0.30
22 COMPONENT_SUMMARY= Event Sound API Using XDG Sound Theming Specification
23 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
24 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
25 COMPONENT_ARCHIVE_HASH= sha256:c2b671e67e0c288a69fc33dc1b6f1b534d07882c2aceed37004bf48c601afa72
26 COMPONENT_ARCHIVE_URL= http://0pointer.de/lennart/projects/libcanberra/$(COMPONENT_ARCHIVE)
27 COMPONENT_PROJECT_URL= http://0pointer.de/lennart/projects/libcanberra/
28 COMPONENT_FMRI= library/desktop/xdg/libcanberra
29 COMPONENT_CLASSIFICATION=System/Multimedia Libraries
30 COMPONENT_LICENSE= LGPLv2.1
31 COMPONENT_LICENSE_FILE= LGPL
33 include $(WS_MAKE_RULES)/common.mk
35 PATH= $(PATH.gnu)
37 COMPONENT_PREP_ACTION= ( \
38 cd $(@D) && \
39 libtoolize --copy --force && \
40 glib-gettextize -f && \
41 aclocal -I m4 && \
42 automake -c -f -a && \
43 autoconf )
45 CFLAGS += -I/usr/include/gconf/2
47 CONFIGURE_OPTIONS += --sysconfdir=/etc
48 CONFIGURE_OPTIONS += --enable-gtk
49 CONFIGURE_OPTIONS += --disable-static
51 # Auto-generated dependencies
52 REQUIRED_PACKAGES += gnome/config/gconf
53 REQUIRED_PACKAGES += library/audio/gstreamer1
54 REQUIRED_PACKAGES += library/audio/pulseaudio
55 REQUIRED_PACKAGES += library/desktop/gtk2
56 REQUIRED_PACKAGES += library/desktop/gtk3
57 REQUIRED_PACKAGES += library/glib2
58 REQUIRED_PACKAGES += library/libtool/libltdl
59 REQUIRED_PACKAGES += library/libvorbis
60 REQUIRED_PACKAGES += library/tdb
61 REQUIRED_PACKAGES += system/library
62 REQUIRED_PACKAGES += x11/library/libx11