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
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)
)
$(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
./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