2014-01-16 14:57:52 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# gst1-libav
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2019-10-03 16:48:34 +02:00
|
|
|
GST1_LIBAV_VERSION = 1.16.1
|
2014-01-16 14:57:52 +01:00
|
|
|
GST1_LIBAV_SOURCE = gst-libav-$(GST1_LIBAV_VERSION).tar.xz
|
2016-09-06 01:13:04 +02:00
|
|
|
GST1_LIBAV_SITE = https://gstreamer.freedesktop.org/src/gst-libav
|
2019-05-02 17:16:20 +02:00
|
|
|
|
2016-03-30 21:36:39 +02:00
|
|
|
GST1_LIBAV_DEPENDENCIES = \
|
2019-05-02 17:16:20 +02:00
|
|
|
host-pkgconf ffmpeg gstreamer1 gst1-plugins-base \
|
2016-03-30 21:36:39 +02:00
|
|
|
$(if $(BR2_PACKAGE_BZIP2),bzip2) \
|
|
|
|
$(if $(BR2_PACKAGE_XZ),xz)
|
2017-03-30 15:43:32 +02:00
|
|
|
GST1_LIBAV_LICENSE = GPL-2.0+
|
2016-03-30 21:36:40 +02:00
|
|
|
GST1_LIBAV_LICENSE_FILES = COPYING
|
2019-03-23 13:28:17 +01:00
|
|
|
GST1_LIBAV_CONF_EXTRA_OPTS = --cross-prefix=$(TARGET_CROSS) --target-os=linux
|
|
|
|
|
2019-05-02 17:16:20 +02:00
|
|
|
# fixes arm build: https://bugzilla.gnome.org/show_bug.cgi?id=694416
|
|
|
|
ifeq ($(BR2_arm)$(BR2_armeb)$(BR2_aarch64)$(BR2_aarch64_be),y)
|
2019-03-23 13:28:17 +01:00
|
|
|
GST1_LIBAV_CONF_ENV = AS="$(TARGET_CROSS)gcc"
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
|
|
|
GST1_LIBAV_CONF_EXTRA_OPTS += --enable-zlib
|
|
|
|
GST1_LIBAV_DEPENDENCIES += zlib
|
|
|
|
else
|
|
|
|
GST1_LIBAV_CONF_EXTRA_OPTS += --disable-zlib
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_BZIP2),y)
|
|
|
|
GST1_LIBAV_CONF_EXTRA_OPTS += --enable-bzlib
|
|
|
|
GST1_LIBAV_DEPENDENCIES += bzip2
|
|
|
|
else
|
|
|
|
GST1_LIBAV_CONF_EXTRA_OPTS += --disable-bzlib
|
|
|
|
endif
|
|
|
|
|
|
|
|
GST1_LIBAV_CONF_OPTS = \
|
2019-05-02 17:16:20 +02:00
|
|
|
--with-system-libav \
|
2019-03-23 13:28:17 +01:00
|
|
|
--with-libav-extra-configure="$(GST1_LIBAV_CONF_EXTRA_OPTS)"
|
2014-01-16 14:57:52 +01:00
|
|
|
|
|
|
|
$(eval $(autotools-package))
|