Browse Source

gstreamer1: update to 1.16.2

Switched to meson.

Fixed license information.

Rearranged some stuff for consistency between packages.

Removed static libraries. It seems meson only supports either one or the
other.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 5 years ago
parent
commit
cb058bf961
No known key found for this signature in database GPG Key ID: 36D31CFA845F0E3B
1 changed files with 35 additions and 37 deletions
  1. +35
    -37
      multimedia/gstreamer1/Makefile

+ 35
- 37
multimedia/gstreamer1/Makefile View File

@ -8,35 +8,32 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=gstreamer1
PKG_VERSION:=1.16.1
PKG_VERSION:=1.16.2
PKG_RELEASE:=1
PKG_SOURCE:=gstreamer-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://gstreamer.freedesktop.org/src/gstreamer
PKG_HASH:=e3f044246783fd685439647373fa13ba14f7ab0b346eadd06437092f8419e94e
PKG_BUILD_DIR:=$(BUILD_DIR)/gstreamer-$(PKG_VERSION)
PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org> \
Ted Hess <thess@kitschensync.net>
PKG_LICENSE:=LGPLv2
PKG_LICENSE:=LGPL-2.1-or-later
PKG_LICENSE_FILES:=COPYING
PKG_CPE_ID:=cpe:/a:gstreamer_project:gstreamer
PKG_BUILD_DIR:=$(BUILD_DIR)/gstreamer-$(PKG_VERSION)
PKG_SOURCE:=gstreamer-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://gstreamer.freedesktop.org/src/gstreamer
PKG_HASH:=02211c3447c4daa55919c5c0f43a82a6fbb51740d57fc3af0639d46f1cf4377d
PKG_FIXUP:=autoreconf
PKG_REMOVE_FILES:=autogen.sh aclocal.m4
PKG_BUILD_PARALLEL:=1
PKG_INSTALL:=1
PKG_BUILD_DEPENDS:=meson/host glib2/host
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/nls.mk
include ../../devel/meson/meson.mk
define Package/gstreamer1/Default
CATEGORY:=Multimedia
SECTION:=multimedia
TITLE:=GStreamer
URL:=http://gstreamer.freedesktop.org/
URL:=https://gstreamer.freedesktop.org/
DEPENDS:= $(ICONV_DEPENDS) $(INTL_DEPENDS)
endef
@ -118,27 +115,28 @@ endef
GST_VERSION:=1.0
CONFIGURE_ARGS += \
--enable-static \
--disable-Bsymbolic \
--disable-benchmarks \
--disable-debug \
--disable-examples \
--disable-failing-tests \
--disable-fatal-warnings \
--disable-introspection \
--disable-glib-asserts \
--disable-gobject-cast-checks \
--disable-gst-tracer-hooks \
--disable-gst-debug \
--disable-gtk-doc-html \
--disable-rpath \
--disable-tests \
--disable-valgrind \
--without-dw \
--without-libiconv-prefix \
--without-libintl-prefix \
--without-unwind
MESON_ARGS += \
-Dgst_debug=false \
-Dgst_parse=true \
-Dregistry=false \
-Dtracer_hooks=false \
-Dptp-helper-setuid-user=none \
-Dextra-checks=false \
-Doption-parsing=false \
-Dpoisoning=false \
-Dcheck=enabled \
-Dlibunwind=disabled \
-Dlibdw=disabled \
-Ddbghelp=disabled \
-Dbash-completion=disabled \
-Dexamples=disabled \
-Dbenchmarks=disabled \
-Dtools=enabled \
-Dgtk_doc=disabled \
-Dintrospection=disabled \
-Dnls=enabled \
-Dgobject-cast-checks=disabled \
-Dglib-asserts=disabled
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include/gstreamer-$(GST_VERSION)
@ -148,12 +146,12 @@ define Build/InstallDev
)
$(INSTALL_DIR) $(1)/usr/lib
( cd $(PKG_INSTALL_DIR); $(CP) \
./usr/lib/libgst*-$(GST_VERSION).{a,la,so*} \
./usr/lib/libgst*-$(GST_VERSION).so* \
$(1)/usr/lib/ \
)
$(INSTALL_DIR) $(1)/usr/lib/gstreamer-$(GST_VERSION)
( cd $(PKG_INSTALL_DIR); $(CP) \
./usr/lib/gstreamer-$(GST_VERSION)/libgst*.{la,so} \
./usr/lib/gstreamer-$(GST_VERSION)/libgst*.so \
$(1)/usr/lib/gstreamer-$(GST_VERSION)/ \
)
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
@ -198,7 +196,7 @@ define Package/libgstreamer1/install
./usr/lib/gstreamer-$(GST_VERSION)/libgst*.so \
$(1)/usr/lib/gstreamer-$(GST_VERSION)/ \
)
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/gstreamer-$(GST_VERSION)/gst-plugin-scanner \
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/libexec/gstreamer-$(GST_VERSION)/gst-plugin-scanner \
$(1)/usr/lib/gstreamer-$(GST_VERSION)
endef


Loading…
Cancel
Save