I wanted to add a2dp,sbc and pulsesink elements to openwrt distribution.
Sujith reddy
Sujithreddy6192 at gmail.com
Fri Mar 16 06:57:11 UTC 2018
Hi All,
I have seen this elements in gst-plugins-good, gst-plugins-bad,
Now i have this code in gst-plugins-good, gst-plugins-bad.
here in open-wrt i have added plugins of bluez and sbc ..After compiling i
am not able to see this elements linked in image.
ihave written the makefiles for plugin which was in bold letters.
can anyone help on this.
here is the code.....
#
# Copyright (C) 2011-2016 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=gst1-plugins-bad
PKG_VERSION:=1.12.1
PKG_RELEASE:=1
PKG_MAINTAINER:=W. Michael Petullo <mike at flyn.org> \
Ted Hess <thess at kitschensync.net>
PKG_LICENSE:=LGPLv2 GPLv2
PKG_LICENSE_FILES:=COPYING.LIB COPYING
PKG_BUILD_DIR:=$(BUILD_DIR)/gst-plugins-bad-$(PKG_VERSION)
PKG_SOURCE:=gst-plugins-bad-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=http://gstreamer.freedesktop.org/src/gst-plugins-bad/
#PKG_MD5SUM:=d7995317530c8773ec088f94d9320909d41da61996b801ebacce9a56af493f97
PKG_BUILD_DEPENDS:= libgstreamer1 gstreamer1-plugins-base
PKG_FIXUP:=autoreconf
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/nls.mk
GST_BAD_LIBS:=
GST_BAD_MODULES:=
define Package/gstreamer1-bad/Default
CATEGORY:=Multimedia
SECTION:=multimedia
TITLE:=GStreamer
URL:=http://gstreamer.freedesktop.org/
DEPENDS:= +libgstreamer1 $(ICONV_DEPENDS)
endef
define Package/gstreamer1-bad/description/Default
GStreamer open source multimedia framework
endef
define Package/gst1-plugins-bad
$(call Package/gstreamer1-bad/Default)
TITLE+= plugins collection (bad)
DEPENDS+= $(GST_DEPENDS)
HIDDEN:=1
endef
define Package/gts1-plugins-bad/description
$(call Package/gstreamer1-bad/description/Default)
.
This meta package contains only dependencies to the other plugins from
the bad plugins collection.
endef
define Package/gstreamer1-plugins-bad
$(call Package/gstreamer1-bad/Default)
TITLE+= plugins collection (bad)
DEPENDS:=+ALL:gst1-plugins-bad +gstreamer1-plugins-base
endef
define Package/gstreamer1-plugins-bad/config
menu "Select GStreamer bad modules and libraries"
depends on PACKAGE_gstreamer1-plugins-bad
config gst1-plugins-bad-all
bool "Include all GStreamer bad plugins"
select PACKAGE_gst1-plugins-bad
comment "Modules"
$(foreach mod,$(GST_BAD_MODULES), \
config PACKAGE_gst1-mod-$(mod)
prompt "GStreamer $(mod) module"
)
comment "Libraries"
$(foreach lib,$(GST_BAD_LIBS), \
config PACKAGE_libgst1$(lib)
prompt "GStreamer $(lib) library"
)
endmenu
endef
GST_VERSION:=1.0
CONFIGURE_ARGS += \
--disable-debug \
--disable-examples \
--disable-nls \
\
--disable-directsound \
--disable-vcd \
--disable-assrender \
--disable-bz2 \
--disable-dc1394 \
--disable-directfb \
--disable-dts \
--disable-resindvd \
--disable-faac \
--disable-faad \
--disable-flite \
--disable-gsm \
--disable-kate \
--disable-ladspa \
--disable-lv2 \
--disable-modplug \
--disable-libmms \
--disable-mpeg2enc \
--disable-mplex \
--disable-musepack \
--disable-neon \
--disable-ofa \
--disable-rsvg \
--disable-wildmidi \
--disable-sndfile \
--disable-soundtouch \
--disable-spc \
--disable-gme \
--disable-acm \
--disable-vdpau \
--disable-schro \
--disable-zbar \
--disable-srtp \
\
--without-libiconv-prefix \
--without-libintl-prefix \
--with-libgcrypt-prefix="$(STAGING_DIR)/usr" \
TARGET_CFLAGS+= -std=gnu99
EXTRA_LDFLAGS+= \
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
$(if $(ICONV_FULL),-liconv) \
define Package/gst1-plugins-bad/install
/bin/true
endef
# 1: short name
# 2: description
# 3: dependencies on other gstreamer libraries (short name)
# 4: dependencies on other packages
define GstBuildLibrary
GST_DEPENDS += +libgst1$(1)
GST_BAD_LIBS+= $(1)
define Package/libgst1$(1)
$(call Package/gstreamer1-bad/Default)
TITLE+= $(2) library (base)
DEPENDS+= $$(foreach p,$(3),+libgst1$$(p)) $(4)
HIDDEN:=1
endef
define Package/libgst1$(1)/description
$(call Package/gstreamer1-bad/description/Default)
.
This package contains the GStreamer $(2) library.
endef
define Package/libgst1$(1)/install
$(INSTALL_DIR) $$(1)/usr/lib
( cd $(PKG_INSTALL_DIR); $(CP) \
./usr/lib/libgst$(1)-$(GST_VERSION).so.* \
$$(1)/usr/lib/ \
)
endef
$$(eval $$(call BuildPackage,libgst1$(1)))
endef
$(eval $(call GstBuildLibrary,adaptivedemux,adaptivedemux,app
uridownloader,))
$(eval $(call GstBuildLibrary,photography,photography,,))
$(eval $(call GstBuildLibrary,basecamerabinsrc,basecamerabinsrc,app,))
$(eval $(call GstBuildLibrary,uridownloader,uridownloader,,))
$(eval $(call GstBuildLibrary,badbase,badbase,,))
$(eval $(call GstBuildLibrary,mpegts,mpegts,pbutils,))
$(eval $(call GstBuildLibrary,codecparsers,codecparsers,,))
# 1: short name
# 2: description
# 3: dependencies on other gstreamer libraries (short name)
# 4: dependencies on other gstreamer plugins (short name)
# 5: dependencies on other packages
define GstBuildPlugin
GST_DEPENDS += +gst1-mod-$(1)
GST_BAD_MODULES+= $(1)
define Package/gst1-mod-$(1)
$(call Package/gstreamer1-bad/Default)
TITLE+= $(2) plugin (bad)
DEPENDS+= $$(foreach p,$(3),+libgst1$$(p)) $$(foreach
p,$(4),+gst1-mod-$$(p)) $(5)
HIDDEN:=1
endef
define Package/gst1-mod-$(1)/description
$(call Package/gstreamer1-bad/description/Default)
.
This package contains the GStreamer $(2) plugin.
endef
define Package/gst1-mod-$(1)/install
$(INSTALL_DIR) $$(1)/usr/lib/gstreamer-$(GST_VERSION)
( cd $(PKG_INSTALL_DIR); $(CP) \
./usr/lib/gstreamer-$(GST_VERSION)/libgst$(1).so* \
$$(1)/usr/lib/gstreamer-$(GST_VERSION)/ \
)
endef
$$(eval $$(call BuildPackage,gst1-mod-$(1)))
endef
$(eval $(call GstBuildPlugin,adpcmdec,adpcm decoding support,audio,,))
$(eval $(call GstBuildPlugin,adpcmenc,adpcm encoding support,audio,,))
$(eval $(call GstBuildPlugin,aiff,aiff support,audio tag pbutils,,))
$(eval $(call GstBuildPlugin,asfmux,asf muxing support,rtp,,))
$(eval $(call GstBuildPlugin,autoconvert,autoconvert support,,,))
$(eval $(call GstBuildPlugin,bayer,bayer support,video,,))
$(eval $(call GstBuildPlugin,camerabin,camerabin support,basecamerabinsrc
photography pbutils app,,))
#$(eval $(call GstBuildPlugin,dataurisrc,dataurisrc support,,,))
$(eval $(call GstBuildPlugin,debugutilsbad,debugutils support,video,,))
$(eval $(call GstBuildPlugin,dvdspu,dvdspu support,video,,))
$(eval $(call GstBuildPlugin,fbdevsink,fbdev support,video,,))
$(eval $(call GstBuildPlugin,festival,festival support,audio,,))
$(eval $(call GstBuildPlugin,hls,HLS support,pbutils
adaptivedemux,multifile,+libnettle))
*$(eval $(call GstBuildPlugin,sbc,sbc Support,,))
$(eval $(call GstBuildPlugin,bluez,bluez support,audio,rtp,,)) *
#libgstaudio-1.0.so.0 libgstrtp-1.0.so.0
$(eval $(call GstBuildPlugin,frei0r,frei0r support,controller video,,))
$(eval $(call GstBuildPlugin,id3tag,id3tag support,tag,,))
$(eval $(call GstBuildPlugin,jpegformat,jpegformat support,tag,,))
$(eval $(call GstBuildPlugin,mpegpsdemux,mpegpsdemux support,pbutils,,))
$(eval $(call GstBuildPlugin,mpegpsmux,mpegpsmux support,,,))
$(eval $(call GstBuildPlugin,mpegtsdemux,mpegtsdemux support, mpegts
codecparsers audio ttag pbutils,,))
#$(eval $(call GstBuildPlugin,mpegtsmux,mpegtsmux support,video,,))
$(eval $(call GstBuildPlugin,mxf,mxf support,badbase audio video,,))
$(eval $(call GstBuildPlugin,opusparse,OPUS streams
library,pbutils,,+libopus))
$(eval $(call GstBuildPlugin,pcapparse,pcapparse support,,,))
$(eval $(call GstBuildPlugin,pnm,pnm support,video,,))
#$(eval $(call GstBuildPlugin,rawparse,rawparse support,audio video,,))
$(eval $(call GstBuildPlugin,rfbsrc,librfb support,video,,))
$(eval $(call GstBuildPlugin,sdpelem,sdp support,rtp sdp app,,))
$(eval $(call GstBuildPlugin,segmentclip,segmentclip support,audio,,))
$(eval $(call GstBuildPlugin,shm,POSIX shared memory source and
sink,,,+librt))
$(eval $(call GstBuildPlugin,siren,siren support,audio rtp,,))
$(eval $(call GstBuildPlugin,speed,speed support,audio,,))
$(eval $(call GstBuildPlugin,subenc,subenc support,controller,,))
#$(eval $(call GstBuildPlugin,srtp,srtp support,rtp,,+libsrtp))
$(eval $(call BuildPackage,gstreamer1-plugins-bad))
$(eval $(call BuildPackage,gst1-plugins-bad))
--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
More information about the gstreamer-devel
mailing list