36 lines
1.9 KiB
Text
36 lines
1.9 KiB
Text
pkgname=qtwebbrowser
|
|
pkgver=1.0
|
|
pkgrel=2
|
|
pkgdesc="Qt web browser"
|
|
url="http://doc.qt.io/QtWebBrowser/"
|
|
arch="all !armhf !armv7" # armhf: pmaports#75, armv7: build.postmarketos.org#72
|
|
license="GPLv3"
|
|
depends="qt5-qtbase qt5-qtwebengine qt5-qtvirtualkeyboard qt5-qtquickcontrols qt5-qtgraphicaleffects mesa-dev"
|
|
makedepends="qt5-qtbase-dev qt5-qtwebengine-dev busybox"
|
|
install="qtwebbrowser.post-install"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/qtproject/qt-apps-qtwebbrowser/archive/v$pkgver.tar.gz qtwebbrowser.svg startup-qtwebbrowser.sh qtwebbrowser.desktop 0001-Patch-for-usability-on-postmarketOS.patch"
|
|
builddir="$srcdir/qt-apps-qtwebbrowser-$pkgver/"
|
|
|
|
build() {
|
|
cd "$builddir/src/"
|
|
/usr/lib/qt5/bin/qmake src.pro
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir/src/"
|
|
mkdir -p $pkgdir/usr/bin/
|
|
install -D -m755 qtwebbrowser $pkgdir/usr/bin/qtwebbrowser-bin
|
|
install -D -m755 "$srcdir"/startup-qtwebbrowser.sh "$pkgdir"/usr/bin/qtwebbrowser
|
|
install -D -m644 "$srcdir"/qtwebbrowser.svg "$pkgdir"/usr/share/icons/hicolor/scalable/apps/qtwebbrowser.svg
|
|
install -D -m644 "$srcdir"/qtwebbrowser.desktop "$pkgdir"/usr/share/applications/qtwebbrowser.desktop
|
|
}
|
|
|
|
|
|
sha512sums="
|
|
a385ef2c6459733606945bc3a6857bfbc725fa04224ee4309196220c3a9be177d52bbaf0bab57fac7a15b38920b8d19852db04451bdbdadb4f03a7f5803319ab qtwebbrowser-1.0.tar.gz
|
|
5e14de5c4c8aec79f3ab25947e1f4091fdbf9a38a894229d1f636dbbb17480970e3c9d7dfdf7cc57e42246a55058025ee3e200145115cfea507f0611aaa3dd77 qtwebbrowser.svg
|
|
008998972cb836327203a740e0fa2929a4028b70366597ed0f21640f1383ed93630c40f2e0eb4fea59a8b8367e825c321803c8b5f73b16def4dbe31f5d9fbc69 startup-qtwebbrowser.sh
|
|
681a1275f7d09991cdffe9a0f86aa9af22103807d02fd24e806a46e79c8eacb4eea907ef1a677d5eacc379e0666934b346662c99e76026e3dc7820df162a9fe6 qtwebbrowser.desktop
|
|
6802f908973d29dc73f87df831cc4303dfc2eaf11a082341d1ff4618bbbcb712e858cab20bf67ed6cc2ef5eacfb44f80ec04d3765890b49ce510040d01986880 0001-Patch-for-usability-on-postmarketOS.patch
|
|
"
|