# # 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 Michal Nowak # include ../../../make-rules/shared-macros.mk COMPONENT_NAME= rhythmbox COMPONENT_VERSION= 3.4.4 COMPONENT_REVISION= 2 COMPONENT_SUMMARY= Rhythmbox Multimedia Player COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz COMPONENT_ARCHIVE_HASH= \ sha256:ee0eb0d7d7bdf696ac9471b19ff3bea3240d63b6cb8a134bf632054af8665d90 COMPONENT_ARCHIVE_URL= \ https://download.gnome.org/sources/$(COMPONENT_NAME)/3.4/$(COMPONENT_ARCHIVE) COMPONENT_PROJECT_URL = http://www.gnome.org COMPONENT_FMRI= gnome/media/rhythmbox COMPONENT_CLASSIFICATION= Applications/Sound and Video COMPONENT_LICENSE= GPLv2 COMPONENT_LICENSE_FILE= COPYING TEST_TARGET= $(NO_TESTS) include $(WS_MAKE_RULES)/common.mk PATH=$(PATH.gnu) CXXFLAGS+= -DMOZ_DEFAULT_TOOLKIT=\"cairo-gtk2\" CXXFLAGS+= -std=gnu++0x CFLAGS += -I/usr/include/check COMPONENT_PREP_ACTION = (cd $(@D) && PATH="$(PATH)" NOCONFIGURE=1 ./autogen.sh) COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D) ) CONFIGURE_OPTIONS+= --sysconfdir=$(ETCDIR) CONFIGURE_OPTIONS+= --disable-browser-plugin CONFIGURE_OPTIONS+= --libexecdir=$(CONFIGURE_LIBDIR.$(BITS)) CONFIGURE_OPTIONS+= --localstatedir=/var/lib CONFIGURE_ENV += PYTHON=$(PYTHON) COMPONENT_BUILD_ENV += CC="$(CC)" COMPONENT_BUILD_ENV += CFLAGS="$(CFLAGS)" # Build dependencies REQUIRED_PACKAGES += text/itstool # Auto-generated dependencies REQUIRED_PACKAGES += desktop/cd-burning/brasero REQUIRED_PACKAGES += library/audio/gstreamer1 REQUIRED_PACKAGES += library/audio/gstreamer1/plugin/base REQUIRED_PACKAGES += library/desktop/atk REQUIRED_PACKAGES += library/desktop/cairo REQUIRED_PACKAGES += library/desktop/gdk-pixbuf REQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection REQUIRED_PACKAGES += library/desktop/gtk3 REQUIRED_PACKAGES += library/desktop/json-glib REQUIRED_PACKAGES += library/desktop/libpeas REQUIRED_PACKAGES += library/desktop/pango REQUIRED_PACKAGES += library/glib2 REQUIRED_PACKAGES += library/libmtp REQUIRED_PACKAGES += library/libnotify REQUIRED_PACKAGES += library/libsoup REQUIRED_PACKAGES += library/libxml2 REQUIRED_PACKAGES += library/media-player/totem-pl-parser REQUIRED_PACKAGES += library/tdb REQUIRED_PACKAGES += service/hal REQUIRED_PACKAGES += system/library REQUIRED_PACKAGES += system/library/libdbus REQUIRED_PACKAGES += system/library/libdbus-glib REQUIRED_PACKAGES += system/library/math REQUIRED_PACKAGES += x11/library/libx11