# # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. # You may only use this file in accordance with the terms of version # 1.0 of the CDDL. # # A full copy of the text of the CDDL should have accompanied this # source. A copy of the CDDL is also available via the Internet at # http://www.illumos.org/license/CDDL. # # # Copyright 2017 Alexander Pyhalov # Copyright 2019 Tim Mooney # include ../../../make-rules/shared-macros.mk COMPONENT_NAME= totem-pl-parser COMPONENT_VERSION= 3.10.7 COMPONENT_REVISION= 3 COMPONENT_SUMMARY= a library to parse playlist COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz COMPONENT_ARCHIVE_HASH= \ sha256:9c8285bc3131faa309d5cba5a919d5166abc2b8cc5a0c850fe861be8b14e089c COMPONENT_ARCHIVE_URL= \ https://download.gnome.org/sources/$(COMPONENT_NAME)/3.10/$(COMPONENT_ARCHIVE) COMPONENT_PROJECT_URL = http://www.gnome.org COMPONENT_FMRI = library/media-player/totem-pl-parser COMPONENT_CLASSIFICATION = Desktop (GNOME)/Libraries COMPONENT_LICENSE = LGPLv2 COMPONENT_LICENSE_FILE = COPYING.LIB include $(WS_MAKE_RULES)/prep.mk include $(WS_MAKE_RULES)/configure.mk include $(WS_MAKE_RULES)/ips.mk PATH=$(PATH.gnu) COMPONENT_PREP_ACTION = ( cp $(COMPONENT_DIR)/files/ax_code_coverage.m4 $(@D) && \ cd $(@D) && autoreconf -f -I .) CONFIGURE_OPTIONS+= --sysconfdir=/etc CONFIGURE_OPTIONS+= --localstatedir=/var/lib CONFIGURE_OPTIONS+= --disable-static COMPONENT_BUILD_ENV += CC="$(CC)" COMPONENT_BUILD_ENV += CFLAGS="$(CFLAGS)" build: $(BUILD_32_and_64) install: $(INSTALL_32_and_64) # Auto-generated dependencies REQUIRED_PACKAGES += library/glib2 REQUIRED_PACKAGES += library/gmime REQUIRED_PACKAGES += library/libarchive REQUIRED_PACKAGES += library/libxml2 REQUIRED_PACKAGES += system/library REQUIRED_PACKAGES += system/library/security/libgcrypt