mirror of
https://github.com/openwrt/packages.git
synced 2026-01-09 22:50:57 +04:00
gst1-plugins-bad: package play and player libraries
Create packages for the libgstplay and libgstplayer. Introduce InstallDev to allow using and detecting libraries which are part of the 'bad' set by other packages. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
@@ -264,6 +264,32 @@ MESON_ARGS += \
|
||||
-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
|
||||
@@ -303,10 +329,13 @@ 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
|
||||
|
||||
Reference in New Issue
Block a user