package/gstreamer1-editing-services: bump version to 1.18.0 and convert to meson

- change home page url to https

- change download url to https

- download source renamed from gstreamer-editing-services to
  gst-editing-services

- convert to meson build

- use BR2_PACKAGE_GST1_DEVTOOLS/gst1-devtools instead of legacy
  BR2_PACKAGE_GST1_VALIDATE/gst1-validate

- drop examples support

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Peter Seiderer 2020-09-24 23:17:12 +02:00 committed by Thomas Petazzoni
parent b5e29353b5
commit 08a213c1a5
3 changed files with 21 additions and 25 deletions

View File

@ -15,4 +15,4 @@ config BR2_PACKAGE_GSTREAMER1_EDITING_SERVICES
GStreamer Editing Services is a high-level library for
facilitating the creation of audio/video non-linear editors.
http://gstreamer.freedesktop.org
https://gstreamer.freedesktop.org

View File

@ -1,6 +1,6 @@
# From https://gstreamer.freedesktop.org/src/gstreamer-editing-services/gstreamer-editing-services-1.16.2.tar.xz.sha256sum
sha256 0e06a6191a0c6c16e16272bf2573cecaeb245f10629486ad940a299bef700c16 gstreamer-editing-services-1.16.2.tar.xz
# From https://gstreamer.freedesktop.org/src/gstreamer-editing-services/gst-editing-services-1.18.0.tar.xz.sha256sum
sha256 4daef0d4875415ea262f7fb1287d4a33939a9594f3c1e661f8587ab00f7000a8 gst-editing-services-1.18.0.tar.xz
# Hashes for license files:
sha256 f445dc78b88496f7e20c7a2a461b95baba5865c8919b8289ac24ac0a80c6ce7a COPYING
sha256 f445dc78b88496f7e20c7a2a461b95baba5865c8919b8289ac24ac0a80c6ce7a COPYING.LIB
sha256 f445dc78b88496f7e20c7a2a461b95baba5865c8919b8289ac24ac0a80c6ce7a COPYING
sha256 f445dc78b88496f7e20c7a2a461b95baba5865c8919b8289ac24ac0a80c6ce7a COPYING.LIB

View File

@ -4,9 +4,9 @@
#
################################################################################
GSTREAMER1_EDITING_SERVICES_VERSION = 1.16.2
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_VERSION = 1.18.0
GSTREAMER1_EDITING_SERVICES_SOURCE = gst-editing-services-$(GSTREAMER1_EDITING_SERVICES_VERSION).tar.xz
GSTREAMER1_EDITING_SERVICES_SITE = https://gstreamer.freedesktop.org/src/gstreamer-editing-services
GSTREAMER1_EDITING_SERVICES_LICENSE = LGPL-2.0+
GSTREAMER1_EDITING_SERVICES_LICENSE_FILES = COPYING COPYING.LIB
GSTREAMER1_EDITING_SERVICES_INSTALL_STAGING = YES
@ -15,27 +15,23 @@ GSTREAMER1_EDITING_SERVICES_DEPENDENCIES = \
gstreamer1 \
gst1-plugins-base \
gst1-plugins-good \
$(if $(BR2_PACKAGE_GST1_VALIDATE),gst1-validate) \
libxml2
GSTREAMER1_EDITING_SERVICES_CONF_OPTS = \
--disable-benchmarks \
--disable-introspection
-Ddoc=disabled \
-Dexamples=disabled \
-Dintrospection=disabled \
-Dtests=disabled \
-Dtools=enabled \
-Dbash-completion=disabled \
-Dxptv=disabled \
-Dpython=disabled
# 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
ifeq ($(BR2_PACKAGE_GST1_DEVTOOLS),y)
GSTREAMER1_EDITING_SERVICES_DEPENDENCIES += gst1-devtools
GSTREAMER1_EDITING_SERVICES_CONF_OPTS += -Dvalidate=enabled
else
GSTREAMER1_EDITING_SERVICES_CONF_OPTS += --with-gtk=3.0
GSTREAMER1_EDITING_SERVICES_DEPENDENCIES += libgtk3
GSTREAMER1_EDITING_SERVICES_CONF_OPTS += -Dvalidate=disabled
endif
else
GSTREAMER1_EDITING_SERVICES_CONF_OPTS += --disable-examples
endif
$(eval $(autotools-package))
$(eval $(meson-package))