From d7c9e24b339c0102b4126dc9f28bfdf828c80c02 Mon Sep 17 00:00:00 2001 From: "W. Michael Petullo" Date: Sun, 8 Jul 2018 21:41:01 -0400 Subject: [PATCH] gst1-plugins-good: build lame and mpg123 plugins, which moved from ugly Signed-off-by: W. Michael Petullo --- multimedia/gst1-plugins-good/Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/multimedia/gst1-plugins-good/Makefile b/multimedia/gst1-plugins-good/Makefile index b3fc2c614..3f01575fa 100644 --- a/multimedia/gst1-plugins-good/Makefile +++ b/multimedia/gst1-plugins-good/Makefile @@ -22,6 +22,10 @@ PKG_SOURCE:=gst-plugins-good-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=http://gstreamer.freedesktop.org/src/gst-plugins-good/ PKG_HASH:=34ec062ddb766a32377532e039781f4a16fbc3e8b449e642605bacab26a99172 +PKG_CONFIG_DEPENDS:= \ + CONFIG_PACKAGE_gst1-mod-lame \ + CONFIG_PACKAGE_gst1-mod-mpg123 \ + PKG_FIXUP:=autoreconf PKG_INSTALL:=1 @@ -85,9 +89,14 @@ define Package/gstreamer1-plugins-good/config endef +GST_COND_SELECT = $(patsubst %,$(if $(CONFIG_PACKAGE_gst1-mod-$(1)),--enable,--disable)-%,$(1)) + GST_VERSION:=1.0 CONFIGURE_ARGS += \ + $(call GST_COND_SELECT,lame) \ + $(call GST_COND_SELECT,mpg123) \ + \ --disable-debug \ --disable-examples \ \ @@ -197,8 +206,10 @@ $(eval $(call GstBuildPlugin,interleave,audio interleave,audio,,)) $(eval $(call GstBuildPlugin,isomp4,isomp4 support,audio pbutils riff rtp tag video,,)) #$(eval $(call GstBuildPlugin,jack,jack support,audio,,)) $(eval $(call GstBuildPlugin,jpeg,jpeg support,video,,+libjpeg)) +$(eval $(call GstBuildPlugin,lame,MP3 encoder (using LAME),audio,,+lame-lib)) $(eval $(call GstBuildPlugin,level,audio level,audio,,)) $(eval $(call GstBuildPlugin,matroska,matroska support,audio pbutils riff tag video,,)) +$(eval $(call GstBuildPlugin,mpg123,MP3 decoder (using mpg123),audio tag,,+libid3tag +mpg123)) $(eval $(call GstBuildPlugin,mulaw,mulaw support,audio,,)) $(eval $(call GstBuildPlugin,multifile,multiple files access,video,,)) $(eval $(call GstBuildPlugin,multipart,multipart stream handling,,,))