mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-18 10:46:25 +00:00
parent
91c0cde742
commit
fd8d439e39
62
repos/libports/lib/mk/qt5_graphicaleffects.mk
Normal file
62
repos/libports/lib/mk/qt5_graphicaleffects.mk
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
include $(call select_from_repositories,lib/import/import-qt5_qmake.mk)
|
||||||
|
|
||||||
|
QT5_PORT_LIBS += libQt5Core libQt5Gui libQt5Network
|
||||||
|
QT5_PORT_LIBS += libQt5Qml libQt5Quick
|
||||||
|
|
||||||
|
LIBS = libc libm mesa stdcxx $(QT5_PORT_LIBS)
|
||||||
|
|
||||||
|
INSTALL_LIBS = qml/QtGraphicalEffects/libqtgraphicaleffectsplugin.lib.so \
|
||||||
|
qml/QtGraphicalEffects/private/libqtgraphicaleffectsprivate.lib.so
|
||||||
|
|
||||||
|
built.tag: qmake_prepared.tag
|
||||||
|
|
||||||
|
@#
|
||||||
|
@# run qmake
|
||||||
|
@#
|
||||||
|
|
||||||
|
$(VERBOSE)source env.sh && $(QMAKE) \
|
||||||
|
-qtconf qmake_root/mkspecs/$(QMAKE_PLATFORM)/qt.conf \
|
||||||
|
$(QT_DIR)/qtgraphicaleffects/qtgraphicaleffects.pro \
|
||||||
|
$(QT5_OUTPUT_FILTER)
|
||||||
|
|
||||||
|
@#
|
||||||
|
@# build
|
||||||
|
@#
|
||||||
|
|
||||||
|
$(VERBOSE)source env.sh && $(MAKE) sub-src $(QT5_OUTPUT_FILTER)
|
||||||
|
|
||||||
|
@#
|
||||||
|
@# install into local 'install' directory
|
||||||
|
@#
|
||||||
|
|
||||||
|
$(VERBOSE)$(MAKE) INSTALL_ROOT=$(CURDIR)/install sub-src-install_subtargets $(QT5_OUTPUT_FILTER)
|
||||||
|
|
||||||
|
$(VERBOSE)ln -sf .$(CURDIR)/qmake_root install/qt
|
||||||
|
|
||||||
|
@#
|
||||||
|
@# strip libs and create symlinks in 'bin' and 'debug' directories
|
||||||
|
@#
|
||||||
|
|
||||||
|
for LIB in $(INSTALL_LIBS); do \
|
||||||
|
cd $(CURDIR)/install/qt/$$(dirname $${LIB}) && \
|
||||||
|
$(STRIP) $$(basename $${LIB}) -o $$(basename $${LIB}).stripped; \
|
||||||
|
ln -sf $(CURDIR)/install/qt/$${LIB}.stripped $(PWD)/bin/$$(basename $${LIB}); \
|
||||||
|
ln -sf $(CURDIR)/install/qt/$${LIB} $(PWD)/debug/; \
|
||||||
|
done
|
||||||
|
|
||||||
|
@#
|
||||||
|
@# create tar archives
|
||||||
|
@#
|
||||||
|
|
||||||
|
$(VERBOSE)tar chf $(PWD)/bin/qt5_graphicaleffects_qml.tar --exclude='*.lib.so' --transform='s/\.stripped//' -C install qt/qml
|
||||||
|
|
||||||
|
@#
|
||||||
|
@# mark as done
|
||||||
|
@#
|
||||||
|
|
||||||
|
$(VERBOSE)touch $@
|
||||||
|
|
||||||
|
|
||||||
|
ifeq ($(called_from_lib_mk),yes)
|
||||||
|
all: built.tag
|
||||||
|
endif
|
1
repos/libports/recipes/src/qt5_graphicaleffects/api
Normal file
1
repos/libports/recipes/src/qt5_graphicaleffects/api
Normal file
@ -0,0 +1 @@
|
|||||||
|
qt5
|
25
repos/libports/recipes/src/qt5_graphicaleffects/content.mk
Normal file
25
repos/libports/recipes/src/qt5_graphicaleffects/content.mk
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
MIRROR_FROM_REP_DIR := lib/mk/qt5_graphicaleffects.mk
|
||||||
|
|
||||||
|
content: $(MIRROR_FROM_REP_DIR) src/lib/qt5_graphicaleffects/target.mk
|
||||||
|
|
||||||
|
$(MIRROR_FROM_REP_DIR):
|
||||||
|
$(mirror_from_rep_dir)
|
||||||
|
|
||||||
|
src/lib/qt5_graphicaleffects/target.mk:
|
||||||
|
mkdir -p $(dir $@)
|
||||||
|
echo "LIBS = qt5_graphicaleffects" > $@
|
||||||
|
|
||||||
|
PORT_DIR := $(call port_dir,$(REP_DIR)/ports/qt5)
|
||||||
|
|
||||||
|
MIRROR_FROM_PORT_DIR := src/lib/qt5/qtgraphicaleffects
|
||||||
|
|
||||||
|
content: $(MIRROR_FROM_PORT_DIR)
|
||||||
|
|
||||||
|
$(MIRROR_FROM_PORT_DIR):
|
||||||
|
mkdir -p $(dir $@)
|
||||||
|
cp -r $(PORT_DIR)/$@ $(dir $@)
|
||||||
|
|
||||||
|
content: LICENSE
|
||||||
|
|
||||||
|
LICENSE:
|
||||||
|
cp $(PORT_DIR)/src/lib/qt5/LICENSE.LGPLv3 $@
|
1
repos/libports/recipes/src/qt5_graphicaleffects/hash
Normal file
1
repos/libports/recipes/src/qt5_graphicaleffects/hash
Normal file
@ -0,0 +1 @@
|
|||||||
|
2022-06-29 a56c67cc1e7ed6ca0d4fcd5e627a6a8de64b8cdd
|
@ -0,0 +1,4 @@
|
|||||||
|
libc
|
||||||
|
mesa
|
||||||
|
so
|
||||||
|
stdcxx
|
Loading…
Reference in New Issue
Block a user