wok-next view libqscintilla-qt5/receipt @ rev 21303
updated gujin (2.8.6 -> 2.8.7)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 10 07:57:29 2019 +0100 (2019-12-10) |
parents | df20b2110f7e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libqscintilla-qt5"
4 VERSION="2.10.1"
5 CATEGORY="libs"
6 SHORT_DESC="Scintilla C++ editor class ported to Qt5"
7 MAINTAINER="psychomaniak@xakep.ru"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.riverbankcomputing.com/software/qscintilla/intro"
10 REPOLOGY="qscintilla"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/pyqt/QScintilla_gpl-$VERSION.tar.gz"
15 BUILD_DEPENDS="qt5-dev mesa-dev python"
16 SPLIT="$PACKAGE-dev $PACKAGE-python $PACKAGE"
18 compile_rules() {
19 export QMAKEFEATURES=$src/Qt4Qt5/features/
21 cd $src/Qt4Qt5
22 qmake qscintilla.pro &&
23 make &&
24 make DESTDIR=$install INSTALL_ROOT=$install install || return 1
26 cd $src/designer-Qt4Qt5
27 qmake designer.pro \
28 INCLUDEPATH+=../Qt4Qt5 \
29 QMAKE_LIBDIR+=../Qt4Qt5 &&
30 make &&
31 make DESTDIR=$install INSTALL_ROOT=$install install || return 1
33 cd $src/Python
34 python configure.py \
35 --pyqt=PyQt5 \
36 -n ../Qt4Qt5/ \
37 -o ../Qt4Qt5/ \
38 -c &&
39 make &&
40 make DESTDIR=$install INSTALL_ROOT=$install install || return 1
41 }
43 genpkg_rules() {
44 case $PACKAGE in
45 *-dev)
46 copy @dev mkspecs/
47 ;;
48 libqscintilla-qt5-python)
49 copy python/
50 DEPENDS="libqscintilla-qt5 python"
51 CAT="development|Python files"
52 ;;
53 libqscintilla-qt5)
54 copy @std @rm
55 DEPENDS="libatomic mesa qt5-base qt5-tools"
56 ;;
57 esac
58 }