|
@@ -4,14 +4,16 @@
|
|
|
#
|
|
|
################################################################################
|
|
|
|
|
|
-RYGEL_VERSION_MAJOR = 0.38
|
|
|
-RYGEL_VERSION = $(RYGEL_VERSION_MAJOR).3
|
|
|
+RYGEL_VERSION_MAJOR = 0.40
|
|
|
+RYGEL_VERSION = $(RYGEL_VERSION_MAJOR).2
|
|
|
RYGEL_SOURCE = rygel-$(RYGEL_VERSION).tar.xz
|
|
|
RYGEL_SITE = http://ftp.gnome.org/pub/gnome/sources/rygel/$(RYGEL_VERSION_MAJOR)
|
|
|
RYGEL_LICENSE = LGPL-2.1+, CC-BY-SA-3.0 (logo)
|
|
|
RYGEL_LICENSE_FILES = COPYING COPYING.logo
|
|
|
RYGEL_DEPENDENCIES = \
|
|
|
+ gdk-pixbuf \
|
|
|
gupnp-av \
|
|
|
+ gupnp-dlna \
|
|
|
libgee \
|
|
|
libmediaart \
|
|
|
sqlite \
|
|
@@ -20,51 +22,42 @@ RYGEL_INSTALL_STAGING = YES
|
|
|
|
|
|
RYGEL_CONF_ENV = LIBS=$(TARGET_NLS_LIBS)
|
|
|
RYGEL_CONF_OPTS += \
|
|
|
- --disable-apidocs \
|
|
|
- --disable-coverage \
|
|
|
- --disable-example-plugins \
|
|
|
- --enable-external-plugin \
|
|
|
- --enable-lms-plugin \
|
|
|
- --enable-mpris-plugin \
|
|
|
- --enable-ruih-plugin \
|
|
|
- --disable-tracker-plugin
|
|
|
-
|
|
|
-ifeq ($(BR2_PACKAGE_GDK_PIXBUF),y)
|
|
|
-RYGEL_DEPENDENCIES += gdk-pixbuf
|
|
|
-endif
|
|
|
+ -Dapi-docs=false \
|
|
|
+ -Dexamples=false \
|
|
|
+ -Dtests=false
|
|
|
+RYGEL_PLUGINS = external,lms,mpris,ruih
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
|
|
|
-RYGEL_CONF_OPTS += --enable-introspection
|
|
|
+RYGEL_CONF_OPTS += -Dintrospection=enabled
|
|
|
RYGEL_DEPENDENCIES += gobject-introspection
|
|
|
else
|
|
|
-RYGEL_CONF_OPTS += --disable-introspection
|
|
|
+RYGEL_CONF_OPTS += -Dintrospection=disabled
|
|
|
endif
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_RYGEL_MEDIA_ENGINE_GSTREAMER1),y)
|
|
|
RYGEL_CONF_OPTS += \
|
|
|
- --with-media-engine=gstreamer \
|
|
|
- --enable-playbin-plugin \
|
|
|
- --enable-media_export-plugin \
|
|
|
- --enable-gst-launch-plugin
|
|
|
+ -Dengines=gstreamer \
|
|
|
+ -Dgstreamer=enabled
|
|
|
+RYGEL_PLUGINS += ,playbin,media-export,gst-launch
|
|
|
RYGEL_DEPENDENCIES += \
|
|
|
- gupnp-dlna \
|
|
|
gst1-plugins-base \
|
|
|
- gstreamer1
|
|
|
+ gstreamer1 \
|
|
|
+ gstreamer1-editing-services
|
|
|
else ifeq ($(BR2_PACKAGE_RYGEL_MEDIA_ENGINE_SIMPLE),y)
|
|
|
RYGEL_CONF_OPTS += \
|
|
|
- --with-media-engine=simple \
|
|
|
- --disable-playbin-plugin \
|
|
|
- --disable-media_export-plugin \
|
|
|
- --disable-gst-launch-plugin
|
|
|
+ -Dengines=simple \
|
|
|
+ -Dgstreamer=disabled
|
|
|
endif
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBGTK3_X11),y)
|
|
|
-RYGEL_CONF_OPTS += --with-ui
|
|
|
+RYGEL_CONF_OPTS += -Dgtk=enabled
|
|
|
RYGEL_DEPENDENCIES += libgtk3
|
|
|
else
|
|
|
-RYGEL_CONF_OPTS += --without-ui
|
|
|
+RYGEL_CONF_OPTS += -Dgtk=disabled
|
|
|
endif
|
|
|
|
|
|
+RYGEL_CONF_OPTS += -Dplugins="$(RYGEL_PLUGINS)"
|
|
|
+
|
|
|
define RYGEL_INSTALL_INIT_SYSV
|
|
|
$(INSTALL) -D -m 0755 package/rygel/S99rygel \
|
|
|
$(TARGET_DIR)/etc/init.d/S99rygel
|
|
@@ -75,4 +68,4 @@ define RYGEL_INSTALL_INIT_SYSTEMD
|
|
|
$(TARGET_DIR)/usr/lib/systemd/system/rygel.service
|
|
|
endef
|
|
|
|
|
|
-$(eval $(autotools-package))
|
|
|
+$(eval $(meson-package))
|