2018-09-23 10:45:26 +00:00
|
|
|
pkgname=qtwebbrowser
|
|
|
|
pkgver=1.0
|
2022-10-14 11:46:40 +00:00
|
|
|
pkgrel=2
|
2018-09-23 10:45:26 +00:00
|
|
|
pkgdesc="Qt web browser"
|
|
|
|
url="http://doc.qt.io/QtWebBrowser/"
|
2020-07-29 10:21:10 +00:00
|
|
|
arch="all !armhf !armv7" # armhf: pmaports#75, armv7: build.postmarketos.org#72
|
2018-09-23 10:45:26 +00:00
|
|
|
license="GPLv3"
|
2021-03-07 12:47:24 +00:00
|
|
|
depends="qt5-qtbase qt5-qtwebengine qt5-qtvirtualkeyboard qt5-qtquickcontrols qt5-qtgraphicaleffects mesa-dev"
|
2018-09-23 10:45:26 +00:00
|
|
|
makedepends="qt5-qtbase-dev qt5-qtwebengine-dev busybox"
|
|
|
|
install="qtwebbrowser.post-install"
|
2019-04-11 08:05:15 +00:00
|
|
|
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"
|
2018-09-23 10:45:26 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2022-10-14 11:46:40 +00:00
|
|
|
sha512sums="
|
|
|
|
a385ef2c6459733606945bc3a6857bfbc725fa04224ee4309196220c3a9be177d52bbaf0bab57fac7a15b38920b8d19852db04451bdbdadb4f03a7f5803319ab qtwebbrowser-1.0.tar.gz
|
2019-04-11 08:05:15 +00:00
|
|
|
5e14de5c4c8aec79f3ab25947e1f4091fdbf9a38a894229d1f636dbbb17480970e3c9d7dfdf7cc57e42246a55058025ee3e200145115cfea507f0611aaa3dd77 qtwebbrowser.svg
|
2022-10-14 11:46:40 +00:00
|
|
|
008998972cb836327203a740e0fa2929a4028b70366597ed0f21640f1383ed93630c40f2e0eb4fea59a8b8367e825c321803c8b5f73b16def4dbe31f5d9fbc69 startup-qtwebbrowser.sh
|
2018-09-23 10:45:26 +00:00
|
|
|
681a1275f7d09991cdffe9a0f86aa9af22103807d02fd24e806a46e79c8eacb4eea907ef1a677d5eacc379e0666934b346662c99e76026e3dc7820df162a9fe6 qtwebbrowser.desktop
|
2022-10-14 11:46:40 +00:00
|
|
|
6802f908973d29dc73f87df831cc4303dfc2eaf11a082341d1ff4618bbbcb712e858cab20bf67ed6cc2ef5eacfb44f80ec04d3765890b49ce510040d01986880 0001-Patch-for-usability-on-postmarketOS.patch
|
|
|
|
"
|