-Dextra-checks=disabled \
-Ddoc=disabled
+define Build/InstallDev
+ $(INSTALL_DIR) $(1)/usr/include/gstreamer-$(GST_VERSION)
+ ( cd $(PKG_INSTALL_DIR); $(CP) \
+ ./usr/include/gstreamer-$(GST_VERSION)/* \
+ $(1)/usr/include/gstreamer-$(GST_VERSION)/ \
+ )
+ $(INSTALL_DIR) $(1)/usr/lib
+ ( cd $(PKG_INSTALL_DIR); $(CP) \
+ ./usr/lib/libgst*-$(GST_VERSION).so* \
+ $(1)/usr/lib/ \
+ )
+ if [ -d $(PKG_INSTALL_DIR)/usr/lib/gstreamer-$(GST_VERSION)/ ]; then \
+ $(INSTALL_DIR) $(1)/usr/lib/gstreamer-$(GST_VERSION); \
+ ( cd $(PKG_INSTALL_DIR); $(FIND) \
+ ./usr/lib/gstreamer-$(GST_VERSION)/ -name libgst*.so -print0 | \
+ xargs --null --no-run-if-empty $(CP) \
+ --target-directory=$(1)/usr/lib/gstreamer-$(GST_VERSION)/ \
+ ) \
+ fi
+ $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
+ ( cd $(PKG_INSTALL_DIR); $(CP) \
+ ./usr/lib/pkgconfig/gstreamer*-$(GST_VERSION).pc \
+ $(1)/usr/lib/pkgconfig/ \
+ )
+endef
+
define Package/gst1-plugins-bad/install
/bin/true
endef
$(eval $(call GstBuildLibrary,adaptivedemux,adaptivedemux,app uridownloader,))
$(eval $(call GstBuildLibrary,photography,photography,,))
+$(eval $(call GstBuildLibrary,play,play,,))
+$(eval $(call GstBuildLibrary,player,player,play,))
$(eval $(call GstBuildLibrary,basecamerabinsrc,basecamerabinsrc,app,))
$(eval $(call GstBuildLibrary,uridownloader,uridownloader,,))
$(eval $(call GstBuildLibrary,codecparsers,codecparsers,,))
$(eval $(call GstBuildLibrary,mpegts,mpegts,,))
+$(eval $(call GstBuildLibrary,transcoder,transcoder,,))
# 1: short name
# 2: description