Skip to contentSkip to conversation

gstreamer1-editing-services: new package

PATCH New Peter Seiderer 2 participants 2 messages Oct 27, 2017 – Apr 1, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gstreamer1-editing-services: new package

---
 package/gstreamer1/Config.in                       |  1 +
 .../gstreamer1-editing-services/Config.in          | 18 +++++++++++++++
 .../gstreamer1-editing-services.hash               |  7 ++++++
 .../gstreamer1-editing-services.mk                 | 27 ++++++++++++++++++++++
 4 files changed, 53 insertions(+)
 create mode 100644 package/gstreamer1/gstreamer1-editing-services/Config.in
 create mode 100644 package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.hash
 create mode 100644 package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.mk
package/gstreamer1/Config.in +1 -0
index aef75b55bf..6dddc276e1 100644
@@ -12,4 +12,5 @@ source "package/gstreamer1/gst1-rtsp-server/Config.in"
 source "package/gstreamer1/gst1-validate/Config.in"
 source "package/gstreamer1/gst1-vaapi/Config.in"
 source "package/gstreamer1/gst-omx/Config.in"
+source "package/gstreamer1/gstreamer1-editing-services/Config.in"
 endif
package/gstreamer1/gstreamer1-editing-services/Config.in new file +18 -0
new file mode 100644
index 0000000000..42261da358
@@ -0,0 +1,18 @@
+config BR2_PACKAGE_GSTREAMER1_EDITING_SERVICES
+	bool "gstreamer1-editing-services"
+	select BR2_PACKAGE_LIBXML2
+	select BR2_PACKAGE_GST1_PLUGINS_BASE
+	select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIOCONVERT # runtime
+	select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIORESAMPLE # runtime
+	select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOCONVERT # runtime
+	select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOTESTSRC # runtime
+	select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOSCALE # runtime
+	select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VOLUME # runtime
+	select BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_IMAGEFREEZE # runtime
+	select BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUDIOMIXER # runtime
+
+	help
+	  GStreamer Editing Services is a high-level library for
+	  facilitating the creation of audio/video non-linear editors.
+
+	  http://gstreamer.freedesktop.org
package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.hash new file +7 -0
new file mode 100644
index 0000000000..6e0741da00
@@ -0,0 +1,7 @@
+# From https://gstreamer.freedesktop.org/src/gstreamer-editing-services/gstreamer-editing-services-1.12.3.tar.xz.sha256sum
+sha256 032e2fd040079259aec060d526bcb021c670f8d953219c229f80fdc541465f76 gstreamer-editing-services-1.12.3.tar.xz
+
+# Hashes for license files:
+sha256 f445dc78b88496f7e20c7a2a461b95baba5865c8919b8289ac24ac0a80c6ce7a COPYING
+sha256 f445dc78b88496f7e20c7a2a461b95baba5865c8919b8289ac24ac0a80c6ce7a COPYING.LIB
+
package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.mk new file +27 -0
new file mode 100644
index 0000000000..6e0e58654b
@@ -0,0 +1,27 @@
+################################################################################
+#
+# gstreamer1-editing-services
+#
+################################################################################
+
+GSTREAMER1_EDITING_SERVICES_VERSION = 1.12.3
+GSTREAMER1_EDITING_SERVICES_SOURCE = gstreamer-editing-services-$(GSTREAMER1_EDITING_SERVICES_VERSION).tar.xz
+GSTREAMER1_EDITING_SERVICES_SITE = http://gstreamer.freedesktop.org/src/gstreamer-editing-services
+GSTREAMER1_EDITING_SERVICES_LICENSE = LGPLv2+
+GSTREAMER1_EDITING_SERVICES_LICENSE_FILES = COPYING COPYING.LIB
+GSTREAMER1_EDITING_SERVICES_INSTALL_STAGING = YES
+GSTREAMER1_EDITING_SERVICES_DEPENDENCIES = \
+	host-pkgconf \
+	gstreamer1 \
+	gst1-plugins-base \
+	$(if $(BR2_PACKAGE_GST1_VALIDATE),gst1-validate) \
+	libxml2
+
+GSTREAMER1_EDITING_SERVICES_CONF_OPTS = --disable-benchmarks
+
+ifeq ($(BR2_PACKAGE_LIBGTK3),y)
+	GSTREAMER1_EDITING_SERVICES_CONF_OPTS = --with-gtk=3.0
+	GSTREAMER1_EDITING_SERVICES_DEPENDENCIES += libgtk3
+endif
+
+$(eval $(autotools-package))
Signature · 1 line
2.14.2
#1 lore raw

PATCH 1/1 gstreamer1-editing-services: new package

Quoted 32 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Peter" == Peter Seiderer <[email protected]> writes:

---
 package/gstreamer1/Config.in                       |  1 +
 .../gstreamer1-editing-services/Config.in          | 18 +++++++++++++++
 .../gstreamer1-editing-services.hash               |  7 ++++++
 .../gstreamer1-editing-services.mk                 | 27 ++++++++++++++++++++++
 4 files changed, 53 insertions(+)
 create mode 100644 package/gstreamer1/gstreamer1-editing-services/Config.in
 create mode 100644 package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.hash
 create mode 100644 package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.mk
package/gstreamer1/Config.in +1 -0
index aef75b55bf..6dddc276e1 100644
@@ -12,4 +12,5 @@ source "package/gstreamer1/gst1-rtsp-server/Config.in"
 source "package/gstreamer1/gst1-validate/Config.in"
 source "package/gstreamer1/gst1-vaapi/Config.in"
 source "package/gstreamer1/gst-omx/Config.in"
+source "package/gstreamer1/gstreamer1-editing-services/Config.in"
 endif
package/gstreamer1/gstreamer1-editing-services/Config.in new file +2 -0
new file mode 100644
index 0000000000..42261da358
@@ -0,0 +1,18 @@
+config BR2_PACKAGE_GSTREAMER1_EDITING_SERVICES
+	bool "gstreamer1-editing-services"

package/gstreamer1/gstreamer1-editing-services/Config.in line 12

Quoted 10 lines
package/gstreamer1/gstreamer1-editing-services/Config.in new file +10 -0
+	select BR2_PACKAGE_LIBXML2
+	select BR2_PACKAGE_GST1_PLUGINS_BASE
+	select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIOCONVERT # runtime
+	select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIORESAMPLE # runtime
+	select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOCONVERT # runtime
+	select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOTESTSRC # runtime
+	select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOSCALE # runtime
+	select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VOLUME # runtime
+	select BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_IMAGEFREEZE # runtime
+	select BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUDIOMIXER # runtime

You cannot select the good/bad sub options without also selecting BR2_PACKAGE_GST1_PLUGINS_{GOOD,BAD}.

package/gstreamer1/gstreamer1-editing-services/Config.in line 14

Quoted 2 lines
package/gstreamer1/gstreamer1-editing-services/Config.in new file +2 -0
+
+	help

No empty line before the help option.

package/gstreamer1/gstreamer1-editing-services/Config.in

Quoted 10 lines
package/gstreamer1/gstreamer1-editing-services/Config.in new file +10 -0
+GSTREAMER1_EDITING_SERVICES_VERSION = 1.12.3
+GSTREAMER1_EDITING_SERVICES_SOURCE = gstreamer-editing-services-$(GSTREAMER1_EDITING_SERVICES_VERSION).tar.xz
+GSTREAMER1_EDITING_SERVICES_SITE = http://gstreamer.freedesktop.org/src/gstreamer-editing-services
+GSTREAMER1_EDITING_SERVICES_LICENSE = LGPLv2+
+GSTREAMER1_EDITING_SERVICES_LICENSE_FILES = COPYING COPYING.LIB
+GSTREAMER1_EDITING_SERVICES_INSTALL_STAGING = YES
+GSTREAMER1_EDITING_SERVICES_DEPENDENCIES = \
+	host-pkgconf \
+	gstreamer1 \
+	gst1-plugins-base \

And adding them here.

package/gstreamer1/gstreamer1-editing-services/Config.in

Quoted 9 lines
package/gstreamer1/gstreamer1-editing-services/Config.in new file +9 -0
+	$(if $(BR2_PACKAGE_GST1_VALIDATE),gst1-validate) \
+	libxml2
+
+GSTREAMER1_EDITING_SERVICES_CONF_OPTS = --disable-benchmarks
+
+ifeq ($(BR2_PACKAGE_LIBGTK3),y)
+	GSTREAMER1_EDITING_SERVICES_CONF_OPTS = --with-gtk=3.0
+	GSTREAMER1_EDITING_SERVICES_DEPENDENCIES += libgtk3
+endif

The --with-gtk option is only for the examples, and it can work with gtk2 as well, so I've changed it to:

# examples need GTK2/3 with X11 backend
ifneq ($(BR2_PACKAGE_LIBGTK2)$(BR2_PACKAGE_LIBGTK3_X11),)
GSTREAMER1_EDITING_SERVICES_CONF_OPTS += --enable-examples

ifeq ($(BR2_PACKAGE_LIBGTK2),y) GSTREAMER1_EDITING_SERVICES_CONF_OPTS += --with-gtk=2.0 GSTREAMER1_EDITING_SERVICES_DEPENDENCIES += libgtk2 else
GSTREAMER1_EDITING_SERVICES_CONF_OPTS += --with-gtk=3.0 GSTREAMER1_EDITING_SERVICES_DEPENDENCIES += libgtk3 endif

else
GSTREAMER1_EDITING_SERVICES_CONF_OPTS += --disable-examples endif

Committed with these fixes, thanks.

I'll bump the version to 1.12.4 to match the other components in a separate patch.

Signature · 1 line
Bye, Peter Korsgaard