4 QTSVG_URL
:= https
://download.qt.io
/official_releases
/qt
/5.6/$(QTSVG_VERSION
)/submodules
/qtsvg-opensource-src-
$(QTSVG_VERSION
).
tar.xz
6 DEPS_qtsvg
+= qt
$(DEPS_qt
)
12 ifeq ($(call need_pkg
,"Qt5Svg"),)
16 $(TARBALLS
)/qtsvg-
$(QTSVG_VERSION
).
tar.xz
:
17 $(call download
,$(QTSVG_URL
))
19 .sum-qtsvg
: qtsvg-
$(QTSVG_VERSION
).
tar.xz
21 qtsvg
: qtsvg-
$(QTSVG_VERSION
).
tar.xz .sum-qtsvg
23 mv qtsvg-opensource-src-
$(QTSVG_VERSION
) qtsvg-
$(QTSVG_VERSION
)
24 $(APPLY
) $(SRC
)/qtsvg
/0001-Force-the-usage-of-QtZlib-header.patch
28 cd
$< && $(PREFIX
)/bin
/qmake
29 # Make && Install libraries
31 cd
$< && $(MAKE
) -C src sub-plugins-install_subtargets sub-svg-install_subtargets
32 mv
$(PREFIX
)/plugins
/iconengines
/libqsvgicon.a
$(PREFIX
)/lib
/
33 mv
$(PREFIX
)/plugins
/imageformats
/libqsvg.a
$(PREFIX
)/lib
/
34 cd
$(PREFIX
)/lib
/pkgconfig
; sed
-i \
36 -e
's/-lQt\([^ ]*\)d/-lQt\1/g' \
37 -e
'/Libs:/ s/-lQt5Svg/-lqsvg -lqsvgicon -lQt5Svg/ ' \