gst1-plugins-good: Disable debug and other fixes

Added PKG_BUILD_PARALLEL for faster compilation.

Removed rpath hack as it is no longer necessary.

Removed old patches that are now handled by configure flags.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2019-03-17 19:45:22 -07:00
parent dc08c3b9e9
commit 63bffa0849
3 changed files with 12 additions and 67 deletions

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=gst1-plugins-good
PKG_VERSION:=1.15.2
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org> \
Ted Hess <thess@kitschensync.net>
@ -27,6 +27,7 @@ PKG_CONFIG_DEPENDS:= \
CONFIG_PACKAGE_gst1-mod-mpg123 \
PKG_FIXUP:=autoreconf
PKG_BUILD_PARALLEL:=1
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
@ -97,8 +98,15 @@ CONFIGURE_ARGS += \
$(call GST_COND_SELECT,lame) \
$(call GST_COND_SELECT,mpg123) \
\
--disable-Bsymbolic \
--disable-debug \
--disable-examples \
--disable-fatal-warnings \
--disable-glib-asserts \
--disable-gobject-cast-checks \
--disable-gtk-doc-html \
--disable-rpath \
--disable-valgrind \
\
--disable-aalib \
--disable-annodex \
@ -127,16 +135,10 @@ CONFIGURE_ARGS += \
--disable-y4m \
--disable-zlib \
\
--without-gudev \
--without-libv4l2 \
--without-libiconv-prefix \
--without-libintl-prefix \
--without-x \
TARGET_CFLAGS += -Wno-incompatible-pointer-types
EXTRA_LDFLAGS+= \
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
$(if $(ICONV_FULL),-liconv) \
--without-libintl-prefix
define Package/gst1-plugins-good/install
/bin/true

View File

@ -1,35 +0,0 @@
--- a/Makefile.am
+++ b/Makefile.am
@@ -2,7 +2,6 @@ DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
ALWAYS_SUBDIRS = \
gst sys ext \
- tests \
docs \
common \
m4 \
--- a/configure.ac
+++ b/configure.ac
@@ -1292,22 +1292,6 @@ sys/osxvideo/Makefile
sys/v4l2/Makefile
sys/waveform/Makefile
sys/ximage/Makefile
-tests/Makefile
-tests/check/Makefile
-tests/examples/Makefile
-tests/examples/audiofx/Makefile
-tests/examples/cairo/Makefile
-tests/examples/equalizer/Makefile
-tests/examples/gtk/Makefile
-tests/examples/jack/Makefile
-tests/examples/level/Makefile
-tests/examples/rtp/Makefile
-tests/examples/rtsp/Makefile
-tests/examples/shapewipe/Makefile
-tests/examples/spectrum/Makefile
-tests/examples/v4l2/Makefile
-tests/files/Makefile
-tests/icles/Makefile
common/Makefile
common/m4/Makefile
m4/Makefile

View File

@ -1,22 +0,0 @@
--- a/Makefile.am
+++ b/Makefile.am
@@ -2,7 +2,6 @@ DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
ALWAYS_SUBDIRS = \
gst sys ext \
- docs \
common \
m4 \
pkgconfig
--- a/configure.ac
+++ b/configure.ac
@@ -1295,9 +1295,6 @@ sys/ximage/Makefile
common/Makefile
common/m4/Makefile
m4/Makefile
-docs/Makefile
-docs/plugins/Makefile
-docs/version.entities
pkgconfig/Makefile
pkgconfig/gstreamer-plugins-good-uninstalled.pc
)