mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-08 11:55:24 +00:00
parent
bbfda019df
commit
ace172ebf3
@ -19,6 +19,7 @@ built.tag: qmake_prepared.tag qmake_root/lib/ld.lib.so
|
||||
-confirm-license \
|
||||
-no-pch \
|
||||
-release \
|
||||
-force-debug-info \
|
||||
-no-strip \
|
||||
-opengl desktop \
|
||||
-no-feature-dbus \
|
||||
@ -59,6 +60,9 @@ built.tag: qmake_prepared.tag qmake_root/lib/ld.lib.so
|
||||
$(VERBOSE)cd $(CURDIR)/install/qt/plugins/imageformats && \
|
||||
$(STRIP) libqjpeg.lib.so -o libqjpeg.lib.so.stripped
|
||||
|
||||
$(VERBOSE)cd $(CURDIR)/install/qt/plugins/sqldrivers && \
|
||||
$(STRIP) libqsqlite.lib.so -o libqsqlite.lib.so.stripped
|
||||
|
||||
@#
|
||||
@# create symlinks in 'bin' directory
|
||||
@#
|
||||
@ -72,6 +76,7 @@ built.tag: qmake_prepared.tag qmake_root/lib/ld.lib.so
|
||||
$(VERBOSE)ln -sf $(CURDIR)/install/qt/lib/libQt5Widgets.lib.so.stripped $(PWD)/bin/libQt5Widgets.lib.so
|
||||
$(VERBOSE)ln -sf $(CURDIR)/install/qt/plugins/platforms/libqgenode.lib.so.stripped $(PWD)/bin/libqgenode.lib.so
|
||||
$(VERBOSE)ln -sf $(CURDIR)/install/qt/plugins/imageformats/libqjpeg.lib.so.stripped $(PWD)/bin/libqjpeg.lib.so
|
||||
$(VERBOSE)ln -sf $(CURDIR)/install/qt/plugins/sqldrivers/libqsqlite.lib.so.stripped $(PWD)/bin/libqsqlite.lib.so
|
||||
|
||||
@#
|
||||
@# create symlinks in 'debug' directory
|
||||
@ -86,6 +91,7 @@ built.tag: qmake_prepared.tag qmake_root/lib/ld.lib.so
|
||||
$(VERBOSE)ln -sf $(CURDIR)/install/qt/lib/libQt5Widgets.lib.so $(PWD)/debug/
|
||||
$(VERBOSE)ln -sf $(CURDIR)/install/qt/plugins/platforms/libqgenode.lib.so $(PWD)/debug/libqgenode.lib.so
|
||||
$(VERBOSE)ln -sf $(CURDIR)/install/qt/plugins/imageformats/libqjpeg.lib.so $(PWD)/debug/libqjpeg.lib.so
|
||||
$(VERBOSE)ln -sf $(CURDIR)/install/qt/plugins/sqldrivers/libqsqlite.lib.so $(PWD)/debug/libqsqlite.lib.so
|
||||
|
||||
@#
|
||||
@# create tar archives
|
||||
@ -93,6 +99,7 @@ built.tag: qmake_prepared.tag qmake_root/lib/ld.lib.so
|
||||
|
||||
$(VERBOSE)tar chf $(PWD)/bin/qt5_libqgenode.tar --transform='s/\.stripped//' -C install qt/plugins/platforms/libqgenode.lib.so.stripped
|
||||
$(VERBOSE)tar chf $(PWD)/bin/qt5_libqjpeg.tar --transform='s/\.stripped//' -C install qt/plugins/imageformats/libqjpeg.lib.so.stripped
|
||||
$(VERBOSE)tar chf $(PWD)/bin/qt5_libqsqlite.tar --transform='s/\.stripped//' -C install qt/plugins/sqldrivers/libqsqlite.lib.so.stripped
|
||||
|
||||
@#
|
||||
@# mark as done
|
||||
|
66
repos/libports/lib/mk/qt5_quickcontrols.mk
Normal file
66
repos/libports/lib/mk/qt5_quickcontrols.mk
Normal file
@ -0,0 +1,66 @@
|
||||
include $(call select_from_repositories,lib/import/import-qt5_qmake.mk)
|
||||
|
||||
QT5_PORT_LIBS += libQt5Core libQt5Gui libQt5Network libQt5Widgets
|
||||
QT5_PORT_LIBS += libQt5Qml libQt5Quick
|
||||
|
||||
LIBS = libc libm mesa stdcxx $(QT5_PORT_LIBS)
|
||||
|
||||
built.tag: qmake_prepared.tag
|
||||
|
||||
@#
|
||||
@# run qmake
|
||||
@#
|
||||
|
||||
$(VERBOSE)source env.sh && $(QMAKE) \
|
||||
-qtconf qmake_root/mkspecs/$(QMAKE_PLATFORM)/qt.conf \
|
||||
$(QT_DIR)/qtquickcontrols/qtquickcontrols.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
|
||||
|
||||
@#
|
||||
@# create stripped version
|
||||
@#
|
||||
|
||||
$(VERBOSE)cd $(CURDIR)/install/qt/qml/QtQuick/Controls && $(STRIP) libqtquickcontrolsplugin.lib.so -o libqtquickcontrolsplugin.lib.so.stripped
|
||||
|
||||
@#
|
||||
@# create symlinks in 'bin' directory
|
||||
@#
|
||||
|
||||
$(VERBOSE)ln -sf $(CURDIR)/install/qt/qml/QtQuick/Controls/libqtquickcontrolsplugin.lib.so.stripped $(PWD)/bin/libqtquickcontrolsplugin.lib.so
|
||||
|
||||
@#
|
||||
@# create symlinks in 'debug' directory
|
||||
@#
|
||||
|
||||
$(VERBOSE)ln -sf $(CURDIR)/install/qt/qml/QtQuick/Controls/libqtquickcontrolsplugin.lib.so $(PWD)/debug/
|
||||
|
||||
@#
|
||||
@# create tar archives
|
||||
@#
|
||||
|
||||
$(VERBOSE)tar chf $(PWD)/bin/qt5_quickcontrols_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 +1 @@
|
||||
0a2454ea1e8ee6c7a6b39a91a29cf5c144f9f50c
|
||||
1b1c5639d35d329e493add388482ca3907344748
|
||||
|
@ -4,5 +4,5 @@ VERSION := 5.13.2
|
||||
DOWNLOADS := qt5.git
|
||||
|
||||
URL(qt5) := https://github.com/cproc/qt5.git
|
||||
REV(qt5) := 6e2e8fa1eb37b5fbee8614136868f03dfacd7ca2
|
||||
REV(qt5) := 363069b12c70963cb53b6eab24820494e9811967
|
||||
DIR(qt5) := src/lib/qt5
|
||||
|
1
repos/libports/recipes/src/qt5_quickcontrols/api
Normal file
1
repos/libports/recipes/src/qt5_quickcontrols/api
Normal file
@ -0,0 +1 @@
|
||||
qt5
|
25
repos/libports/recipes/src/qt5_quickcontrols/content.mk
Normal file
25
repos/libports/recipes/src/qt5_quickcontrols/content.mk
Normal file
@ -0,0 +1,25 @@
|
||||
MIRROR_FROM_REP_DIR := lib/mk/qt5_quickcontrols.mk
|
||||
|
||||
content: $(MIRROR_FROM_REP_DIR) src/lib/qt5_quickcontrols/target.mk
|
||||
|
||||
$(MIRROR_FROM_REP_DIR):
|
||||
$(mirror_from_rep_dir)
|
||||
|
||||
src/lib/qt5_quickcontrols/target.mk:
|
||||
mkdir -p $(dir $@)
|
||||
echo "LIBS = qt5_quickcontrols" > $@
|
||||
|
||||
PORT_DIR := $(call port_dir,$(REP_DIR)/ports/qt5)
|
||||
|
||||
MIRROR_FROM_PORT_DIR := src/lib/qt5/qtquickcontrols
|
||||
|
||||
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_quickcontrols/hash
Normal file
1
repos/libports/recipes/src/qt5_quickcontrols/hash
Normal file
@ -0,0 +1 @@
|
||||
2020-05-24 0c9abcaeeb767225390b6074ca8e610102b22ab5
|
4
repos/libports/recipes/src/qt5_quickcontrols/used_apis
Normal file
4
repos/libports/recipes/src/qt5_quickcontrols/used_apis
Normal file
@ -0,0 +1,4 @@
|
||||
libc
|
||||
mesa
|
||||
so
|
||||
stdcxx
|
Loading…
x
Reference in New Issue
Block a user