wok-next view qt4-base/receipt @ rev 20543
xorg-xf86-video-fbturbo: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 03 11:07:12 2018 +0200 (2018-04-03) |
parents | d43bf7aae921 |
children | cd7906120828 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="qt4-base"
4 SOURCE="qt-everywhere-opensource-src"
5 VERSION="4.8.6"
6 CATEGORY="meta"
7 SHORT_DESC="Qt4 less deps rebuild (without gstreamer, phonon etc.)"
8 MAINTAINER="psychomaniak@xakep.ru"
9 LICENSE="GPL3 LGPL2.1"
10 WEB_SITE="http://qt-project.org/"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="http://download.qt-project.org/archive/qt/${VERSION%.*}/$VERSION/$TARBALL"
15 BUILD_DEPENDS="xorg-libX11-dev dbus-dev libmng-dev \
16 cups-dev mysql-dev unixODBC-dev mesa-dev fontconfig-dev \
17 postgresql-dev atk-dev autoconf automake bash \
18 binutils bison bzip2-dev cairo-dev coreutils expat-dev flex fontconfig-dev \
19 freetype-dev gettext glib-dev jpeg-dev libIDL libcap-dev libpng16-dev libtool \
20 libxml2-dev linux-api-headers m4 make mercurial ncurses-dev openssl-dev \
21 pango-dev patch pcre-dev perl perl-xml-parser perl-xml-simple xorg-pixman-dev \
22 tiff-dev xorg-dev-proto xorg-dev zip unzip gtk+-dev alsa-lib-dev \
23 sqlite3-dev libQtClucene wayland-dev"
24 SPLIT="qt-base libQtWebkit qtconfig"
26 compile_rules() {
27 export CXXFLAGS="$CXXFLAGS -std=gnu++98"
29 # site script isn't used
30 ./configure\
31 -silent \
32 -prefix /usr \
33 -confirm-license -opensource \
34 -sysconfdir /etc/xdg \
35 -plugindir /usr/lib/qt/plugins \
36 -importdir /usr/lib/qt/imports \
37 -translationdir /usr/share/qt/translations \
38 -datadir /usr/share/qt \
39 -docdir /usr/share/doc/qt \
40 -examplesdir /usr/share/doc/qt/examples \
41 -demosdir /usr/share/doc/qt/demos \
42 -release \
43 -nomake demos \
44 -nomake examples \
45 -nomake docs \
46 -system-zlib \
47 -system-libtiff \
48 -system-libpng \
49 -system-libmng \
50 -system-libjpeg \
51 -system-sqlite \
52 -scripttools \
53 -glib \
54 -optimized-qmake \
55 -gtkstyle \
56 -no-opengl -no-openvg \
57 -reduce-relocations \
58 -no-gstreamer -no-phonon \
59 -no-declarative -no-phonon-backend \
60 -graphicssystem raster \
61 -continue \
62 2>&1 | sed 's/such file or directory/file/' &&
63 make $MAKEFLAGS &&
64 make INSTALL_ROOT=$DESTDIR install
65 }
67 genpkg_rules() {
68 case $PACKAGE in
69 qt4-base)
70 # PROVIDE="qt-x11-opensource-src Qt4"
71 TAGS="qt"
72 DEPENDS="libQtWebkit qtconfig"
73 mkdir -p $fs/etc/xdg
74 ;;
75 libQtWebkit)
76 copy libQtWebKit.so*
77 CAT="network|Web browser engine for Qt"
78 DEPENDS="libQtCore libQtGui libQtNetwork libpng16"
79 ;;
80 qtconfig)
81 CAT="x-window|Qtconfig is a tool that allows users to customize the default settings for Qt applications"
82 DEPENDS="libQt3Support libQtNetwork libQtDBus"
83 mkdir -p $fs/usr/bin $fs/usr/share/qt/translations $fs/usr/share/icons/hicolor/22x22/apps
84 cp -a $install/usr/bin/qtconfig $fs/usr/bin
85 cp -a $install/usr/share/qt/translations/qtconfig*.qm $fs/usr/share/qt/translations
86 cp -a $WOK/qt4/source/qt4-4.8.6/tools/designer/src/components/formeditor/images/qtlogo.png \
87 $fs/usr/share/icons/hicolor/22x22/apps/qtlogo.png
88 ;;
89 esac
90 }