summaryrefslogtreecommitdiff
path: root/qtwebengine/Pkgfile
blob: 13db16773b195bc1d409adfe05050ef6e8cb643f (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.3
    8 release=1
    9 source=(https://download.qt.io/official_releases/qt/${version::4}/$version/submodules/$name-everywhere-src-$version.tar.xz)
   10 
   11 build() {
   12 	cd $name-everywhere-src-$version
   13 
   14 	# Ninja, by default, sets the number of jobs to the number of availalble threads
   15 	test -n "$JOBS" && export NINJAFLAGS+=" -j $JOBS"
   16 
   17 	install -d build
   18 	cd build
   19 
   20 	qmake-qt5 .. -- -proprietary-codecs
   21 	make
   22 	make INSTALL_ROOT=$PKG install
   23 
   24 	find "$PKG/usr/lib" -type f -name '*.prl' \
   25 		-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
   26 
   27 }

Generated by cgit