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