wok-next view libqscintilla-qt5/receipt @ rev 20502

Swap: current mesa (which is developing and change it's version) is just mesa, while old mesa is mesa12 now (will be removed if no one old package require it).
Also, change long names to its origins: libglu-mesa -> glu, libglw-mesa -> glw, all variations with libegl -> mesa-libegl (because it is part of mesa package).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 16 00:27:34 2018 +0200 (2018-03-16)
parents 4e37d8bb7375
children df20b2110f7e
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="http://www.riverbankcomputing.co.uk/software/qscintilla"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/pyqt/QScintilla_gpl-$VERSION.tar.gz"
14 BUILD_DEPENDS="qt5-dev mesa-dev python"
15 SPLIT="libqscintilla-qt5-dev libqscintilla-qt5-python libqscintilla-qt5"
17 compile_rules() {
18 export QMAKEFEATURES=$src/Qt4Qt5/features/
20 cd $src/Qt4Qt5
21 qmake qscintilla.pro &&
22 make &&
23 make DESTDIR=$DESTDIR INSTALL_ROOT=$DESTDIR install || return 1
25 cd $src/designer-Qt4Qt5
26 qmake designer.pro \
27 INCLUDEPATH+=../Qt4Qt5 \
28 QMAKE_LIBDIR+=../Qt4Qt5 &&
29 make &&
30 make DESTDIR=$DESTDIR INSTALL_ROOT=$DESTDIR install || return 1
32 cd $src/Python
33 python configure.py \
34 --pyqt=PyQt5 \
35 -n ../Qt4Qt5/ \
36 -o ../Qt4Qt5/ \
37 -c &&
38 make &&
39 make DESTDIR=$DESTDIR INSTALL_ROOT=$DESTDIR install || return 1
40 }
42 genpkg_rules() {
43 case $PACKAGE in
44 *-dev)
45 copy @dev mkspecs/
46 ;;
47 libqscintilla-qt5-python)
48 copy python/
49 DEPENDS="libqscintilla-qt5 python"
50 CAT="development|Python files"
51 ;;
52 libqscintilla-qt5)
53 copy @std @rm
54 DEPENDS="libatomic mesa qt5-base qt5-tools"
55 ;;
56 esac
57 }