1################################################################################ 2# 3# rygel 4# 5################################################################################ 6 7RYGEL_VERSION_MAJOR = 0.38 8RYGEL_VERSION = $(RYGEL_VERSION_MAJOR).3 9RYGEL_SOURCE = rygel-$(RYGEL_VERSION).tar.xz 10RYGEL_SITE = http://ftp.gnome.org/pub/gnome/sources/rygel/$(RYGEL_VERSION_MAJOR) 11RYGEL_LICENSE = LGPL-2.1+, CC-BY-SA-3.0 (logo) 12RYGEL_LICENSE_FILES = COPYING COPYING.logo 13RYGEL_DEPENDENCIES = \ 14 gupnp-av \ 15 libgee \ 16 libmediaart \ 17 sqlite \ 18 $(TARGET_NLS_DEPENDENCIES) 19RYGEL_INSTALL_STAGING = YES 20 21RYGEL_CONF_ENV = LIBS=$(TARGET_NLS_LIBS) 22RYGEL_CONF_OPTS += \ 23 --disable-apidocs \ 24 --disable-coverage \ 25 --disable-example-plugins \ 26 --enable-external-plugin \ 27 --enable-lms-plugin \ 28 --enable-mpris-plugin \ 29 --enable-ruih-plugin \ 30 --disable-tracker-plugin 31 32ifeq ($(BR2_PACKAGE_GDK_PIXBUF),y) 33RYGEL_DEPENDENCIES += gdk-pixbuf 34endif 35 36ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) 37RYGEL_CONF_OPTS += --enable-introspection 38RYGEL_DEPENDENCIES += gobject-introspection 39else 40RYGEL_CONF_OPTS += --disable-introspection 41endif 42 43ifeq ($(BR2_PACKAGE_RYGEL_MEDIA_ENGINE_GSTREAMER1),y) 44RYGEL_CONF_OPTS += \ 45 --with-media-engine=gstreamer \ 46 --enable-playbin-plugin \ 47 --enable-media_export-plugin \ 48 --enable-gst-launch-plugin 49RYGEL_DEPENDENCIES += \ 50 gupnp-dlna \ 51 gst1-plugins-base \ 52 gstreamer1 53else ifeq ($(BR2_PACKAGE_RYGEL_MEDIA_ENGINE_SIMPLE),y) 54RYGEL_CONF_OPTS += \ 55 --with-media-engine=simple \ 56 --disable-playbin-plugin \ 57 --disable-media_export-plugin \ 58 --disable-gst-launch-plugin 59endif 60 61ifeq ($(BR2_PACKAGE_LIBGTK3_X11),y) 62RYGEL_CONF_OPTS += --with-ui 63RYGEL_DEPENDENCIES += libgtk3 64else 65RYGEL_CONF_OPTS += --without-ui 66endif 67 68define RYGEL_INSTALL_INIT_SYSV 69 $(INSTALL) -D -m 0755 package/rygel/S99rygel \ 70 $(TARGET_DIR)/etc/init.d/S99rygel 71endef 72 73define RYGEL_INSTALL_INIT_SYSTEMD 74 $(INSTALL) -D -m 644 package/rygel/rygel.service \ 75 $(TARGET_DIR)/usr/lib/systemd/system/rygel.service 76endef 77 78$(eval $(autotools-package)) 79