blob: d60b8cc582ebe66a8d326083008e90d3247b2f9f (
plain)
1 # Description: Provides support for web applications using the Chromium browser project.
2 # URL: http://www.qt.io/
3 # Maintainer: Danny Rawlins, crux at romster dot me
4 # Depends on: nss qt5 xorg-libxscrnsaver xorg-libxtst
5
6 name=qtwebengine
7 version=5.11.2
8 release=1
9 source=(https://download.qt.io/official_releases/qt/${version::4}/$version/submodules/$name-everywhere-src-$version.tar.xz
10 last-commit-position.patch)
11
12 build() {
13 cd $name-everywhere-src-$version
14
15 # we don't use git sources
16 patch -p1 -i $SRC/last-commit-position.patch
17
18 # Ninja, by default, sets the number of jobs to the number of availalble threads
19 test -n "$JOBS" && export NINJAFLAGS+=" -j $JOBS"
20
21 install -d build
22 cd build
23
24 qmake-qt5 WEBENGINE_CONFIG+="use_proprietary_codecs" ..
25 make
26 make INSTALL_ROOT=$PKG install
27
28 find "$PKG/usr/lib" -type f -name '*.prl' \
29 -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
30
31 }
|