From: Thomas Petazzoni Date: Thu, 8 Sep 2016 23:30:19 +0200 Subject: [Buildroot] [PATCH] gst1-rtsp-server: new package In-Reply-To: <1472820821-5130-1-git-send-email-Abhilash.Tuse@imgtec.com> References: <1472820821-5130-1-git-send-email-Abhilash.Tuse@imgtec.com> Message-ID: <20160908233019.4d3c3890@free-electrons.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Hello, On Fri, 2 Sep 2016 18:23:41 +0530, Abhilash Tuse wrote: > From: Piotr Nakraszewicz > > Based on patch by Phil Edworthy: > http://lists.busybox.net/pipermail/buildroot/2010-June/035777.html > > Reviewed-by: Rahul Bedarkar > Reviewed-by: Abhimanyu Vishwakarma > Signed-off-by: Piotr Nakraszewicz > Signed-off-by: Abhilash Tuse Thanks for your patch! I have two comments, see below. > diff --git a/package/gstreamer1/gst1-rtsp-server/Config.in b/package/gstreamer1/gst1-rtsp-server/Config.in > new file mode 100644 > index 0000000..5201a8d > --- /dev/null > +++ b/package/gstreamer1/gst1-rtsp-server/Config.in > @@ -0,0 +1,9 @@ > +config BR2_PACKAGE_GST1_RTSP_SERVER > + bool "gst1-rtsp-server" > + select BR2_PACKAGE_GST1_PLUGINS_BASE > + select BR2_PACKAGE_GST1_PLUGINS_BAD > + select BR2_PACKAGE_GST1_PLUGINS_GOOD Are you sure all of these are mandatory? From a quick look at the configure.ac script, they don't seem to be mandatory, but rather be optional dependencies. Have you tested a build with just gstreamer1+gst1-rtsp-server ? If it works, then they are indeed optional dependencies, in which case you want to remove those "select" here, and instead in the .mk file do: ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE),y) GST1_RTSP_DEPENDENCIES += gst1-plugins-base endif > +++ b/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.mk > @@ -0,0 +1,15 @@ > +################################################################################ > +# > +# gst1-rtsp-server > +# > +################################################################################ > + > +GST1_RTSP_SERVER_VERSION = 1.8.3 > +GST1_RTSP_SERVER_SOURCE = gst-rtsp-server-$(GST1_RTSP_SERVER_VERSION).tar.xz > +GST1_RTSP_SERVER_SITE = http://gstreamer.freedesktop.org/src/gst-rtsp-server > +GST1_RTSP_SERVER_LICENSE = LGPLv2+ > +GST1_RTSP_SERVER_LICENSE_FILES = COPYING COPYING.LIB > +GST1_RTSP_SERVER_INSTALL_STAGING = YES > +GST1_RTSP_SERVER_DEPENDENCIES = gstreamer1 gst1-plugins-base gst1-plugins-bad gst1-plugins-good In addition, libcgroup is an optional dependency of gst1-rtsp-server, so: ifeq ($(BR2_PACKAGE_LIBCGROUP),y) GST1_RTSP_SERVER_DEPENDENCIES += libcgroup endif would be nice to have. Could you look into these and send an updated patch? The rest of the patch looks good. Thanks a lot! Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com