mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
92 lines
2.6 KiB
Bash
92 lines
2.6 KiB
Bash
SUMMARY="A lightweight QtWebKit browser"
|
|
DESCRIPTION="QupZilla is a free and open-source web browser, \
|
|
intended for general users. It allows seamless integration with \
|
|
users' desktop environments and has several distinguishing features \
|
|
positively received by reviewers:
|
|
- A unified interface for bookmarks, history and RSS reading.
|
|
- A themeable interface.
|
|
- Integrated Adblock.
|
|
- Speed dial."
|
|
HOMEPAGE="http://www.qupzilla.com"
|
|
COPYRIGHT="2010-2015 David Rosca"
|
|
LICENSE="GNU GPL v3"
|
|
REVISION="1"
|
|
SOURCE_URI="https://github.com/QupZilla/qupzilla/releases/download/v$portVersion/QupZilla-$portVersion.tar.xz"
|
|
CHECKSUM_SHA256="620ffb10a3f6b3f596c2c38a84d9c320cb66dd2d5e6701e8e31945e26308fcac"
|
|
SOURCE_DIR="QupZilla-$portVersion"
|
|
PATCHES="qupzilla-1.8.x-system_certificates.patchset
|
|
qupzilla-1.8.9.patchset"
|
|
|
|
ARCHITECTURES="!x86_gcc2 ?x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="?x86"
|
|
|
|
PROVIDES="
|
|
qupzilla$secondaryArchSuffix = $portVersion
|
|
app:QupZilla$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku${secondaryArchSuffix}
|
|
lib:libcrypto$secondaryArchSuffix
|
|
lib:libQt5Core$secondaryArchSuffix
|
|
lib:libQt5Gui$secondaryArchSuffix
|
|
lib:libQt5Network$secondaryArchSuffix
|
|
lib:libQt5Script$secondaryArchSuffix
|
|
lib:libQt5Sql$secondaryArchSuffix
|
|
lib:libQt5PrintSupport$secondaryArchSuffix
|
|
lib:libQt5WebKit$secondaryArchSuffix
|
|
lib:libQt5WebKitWidgets$secondaryArchSuffix
|
|
lib:libQt5Widgets$secondaryArchSuffix
|
|
lib:libGL$secondaryArchSuffix
|
|
#
|
|
# lib:libexecinfo$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libQt5Core$secondaryArchSuffix
|
|
devel:libQt5Gui$secondaryArchSuffix
|
|
devel:libQt5Network$secondaryArchSuffix
|
|
devel:libQt5Script$secondaryArchSuffix
|
|
devel:libQt5Sql$secondaryArchSuffix
|
|
devel:libQt5PrintSupport$secondaryArchSuffix
|
|
devel:libQt5WebKit$secondaryArchSuffix
|
|
devel:libQt5WebKitWidgets$secondaryArchSuffix
|
|
devel:libQt5Widgets$secondaryArchSuffix
|
|
devel:libssl$secondaryArchSuffix
|
|
devel:libcrypto$secondaryArchSuffix
|
|
devel:libexecinfo$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:g++$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
cmd:qmake$secondaryArchSuffix >= 5
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
export QUPZILLA_PREFIX=$appsDir/QupZilla
|
|
qmake
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $appsDir/QupZilla/lib
|
|
|
|
cd bin
|
|
|
|
# Add Haiku resources
|
|
rc -o ../haiku/QupZilla.rsrc ../haiku/QupZilla.rdef
|
|
xres -o qupzilla ../haiku/QupZilla.rsrc
|
|
mimeset -f qupzilla
|
|
|
|
cp qupzilla $appsDir/QupZilla/QupZilla
|
|
cp -R locale $appsDir/QupZilla
|
|
cp -R plugins $appsDir/QupZilla
|
|
cp -R themes $appsDir/QupZilla
|
|
cp libQupZilla.* $appsDir/QupZilla/lib
|
|
|
|
addAppDeskbarSymlink $appsDir/QupZilla/QupZilla "QupZilla"
|
|
}
|