ptlib - fix openldap inclusion
[oi-userland.git] / components / multimedia / totem-pl-parser / Makefile
blob7b00bd14b0f2b32fdd63eb40d872de1b97856b85
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 2017 Alexander Pyhalov
14 # Copyright 2019 Tim Mooney
17 include ../../../make-rules/shared-macros.mk
19 COMPONENT_NAME= totem-pl-parser
20 COMPONENT_VERSION= 3.10.7
21 COMPONENT_REVISION= 3
22 COMPONENT_SUMMARY= a library to parse playlist
23 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
24 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
25 COMPONENT_ARCHIVE_HASH= \
26 sha256:9c8285bc3131faa309d5cba5a919d5166abc2b8cc5a0c850fe861be8b14e089c
27 COMPONENT_ARCHIVE_URL= \
28 https://download.gnome.org/sources/$(COMPONENT_NAME)/3.10/$(COMPONENT_ARCHIVE)
29 COMPONENT_PROJECT_URL = http://www.gnome.org
30 COMPONENT_FMRI = library/media-player/totem-pl-parser
31 COMPONENT_CLASSIFICATION = Desktop (GNOME)/Libraries
32 COMPONENT_LICENSE = LGPLv2
33 COMPONENT_LICENSE_FILE = COPYING.LIB
35 include $(WS_MAKE_RULES)/prep.mk
36 include $(WS_MAKE_RULES)/configure.mk
37 include $(WS_MAKE_RULES)/ips.mk
39 PATH=$(PATH.gnu)
41 COMPONENT_PREP_ACTION = ( cp $(COMPONENT_DIR)/files/ax_code_coverage.m4 $(@D) && \
42 cd $(@D) && autoreconf -f -I .)
44 CONFIGURE_OPTIONS+= --sysconfdir=/etc
45 CONFIGURE_OPTIONS+= --localstatedir=/var/lib
46 CONFIGURE_OPTIONS+= --disable-static
48 COMPONENT_BUILD_ENV += CC="$(CC)"
49 COMPONENT_BUILD_ENV += CFLAGS="$(CFLAGS)"
51 build: $(BUILD_32_and_64)
53 install: $(INSTALL_32_and_64)
55 # Auto-generated dependencies
56 REQUIRED_PACKAGES += library/glib2
57 REQUIRED_PACKAGES += library/gmime
58 REQUIRED_PACKAGES += library/libarchive
59 REQUIRED_PACKAGES += library/libxml2
60 REQUIRED_PACKAGES += system/library
61 REQUIRED_PACKAGES += system/library/security/libgcrypt