buildroot: 0001-package-add-gst-gateworks-apps.patch

File 0001-package-add-gst-gateworks-apps.patch, 3.0 KB (added by Tim Harvey, 2 years ago)
  • package/Config.in

    From 09ad061f5b6dc1f1a07426377354ff05d3d2e3ad Mon Sep 17 00:00:00 2001
    From: Tim Harvey <tharvey@gateworks.com>
    Date: Tue, 10 Mar 2020 09:16:55 -0700
    Subject: [PATCH 1/3] package: add gst-gateworks-apps
    
    Signed-off-by: Tim Harvey <tharvey@gateworks.com>
    ---
     package/Config.in                                |  1 +
     package/gst-gateworks-apps/Config.in             | 13 ++++++++++
     package/gst-gateworks-apps/gst-gateworks-apps.mk | 33 ++++++++++++++++++++++++
     3 files changed, 47 insertions(+)
     create mode 100644 package/gst-gateworks-apps/Config.in
     create mode 100644 package/gst-gateworks-apps/gst-gateworks-apps.mk
    
    diff --git a/package/Config.in b/package/Config.in
    index dfa3f34..fa04ca6 100644
    a b menu "Audio and video applications" 
    2727        source "package/fluidsynth/Config.in"
    2828        source "package/gmrender-resurrect/Config.in"
    2929        source "package/gstreamer1/Config.in"
     30        source "package/gst-gateworks-apps/Config.in"
    3031        source "package/jack1/Config.in"
    3132        source "package/jack2/Config.in"
    3233        source "package/kodi/Config.in"
  • new file package/gst-gateworks-apps/Config.in

    diff --git a/package/gst-gateworks-apps/Config.in b/package/gst-gateworks-apps/Config.in
    new file mode 100644
    index 0000000..a27c9df
    - +  
     1config BR2_PACKAGE_GST_GATEWORKS_APPS
     2        bool "gst-gateworks-apps"
     3        select BR2_PACKAGE_GST1_PLUGINS_BASE
     4        select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_APP # runtime
     5        select BR2_PACKAGE_GST1_PLUGINS_GOOD
     6        select BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_RTP # runtime
     7        select BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_RTPMANAGER # runtime
     8        select BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_UDP # runtime
     9        help
     10          RTSP server based on GStreamer.
     11
     12          http://gstreamer.freedesktop.org/
     13
  • new file package/gst-gateworks-apps/gst-gateworks-apps.mk

    diff --git a/package/gst-gateworks-apps/gst-gateworks-apps.mk b/package/gst-gateworks-apps/gst-gateworks-apps.mk
    new file mode 100644
    index 0000000..04d25b9
    - +  
     1################################################################################
     2#
     3# gst-gateworks-apps
     4#
     5################################################################################
     6
     7GST_GATEWORKS_APPS_VERSION = 778651ac83040e9ad410cb0ac42536808d2c46d5
     8GST_GATEWORKS_APPS_SITE = https://github.com/Gateworks/gst-gateworks-apps
     9GST_GATEWORKS_APPS_SITE_METHOD = git
     10GST_GATEWORKS_APPS_LICENSE = LGPL-2.0+
     11GST_GATEWORKS_APPS_LICENSE_FILES = COPYING
     12GST_GATEWORKS_APPS_DEPENDENCIES = \
     13        host-pkgconf \
     14        gstreamer1 \
     15        gst1-plugins-base \
     16        gst1-plugins-good \
     17        gst1-rtsp-server
     18
     19GST_GATEWORKS_APPS_LDFLAGS = \
     20        $(TARGET_LDFLAGS) \
     21        $(TARGET_NLS_LIBS) \
     22        $(@D)/host-bin/host-pkg-config gstreamer-1.0 gstreamer-rtsp-server-1.0 glib-2.0
     23
     24define GST_GATEWORKS_APPS_BUILD_CMDS
     25        $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)
     26endef
     27
     28define GST_GATEWORKS_APPS_INSTALL_TARGET_CMDS
     29        $(INSTALL) -D -m 0755 $(@D)/bin/gst-variable-rtsp-server \
     30                $(TARGET_DIR)/bin
     31endef
     32
     33$(eval $(generic-package))