Files
haikuports/www-client/qupzilla/qupzilla-1.4.x.recipe
Augustin Cavalier 55dd9cf19d Rewrite ARCHITECTURES syntax to new HaikuPorter changes.
HaikuPorter now does not care what is in ARCHITECTURES when
building for a SECONDARY_ARCHITECTURE.
2015-08-04 12:00:38 -04:00

67 lines
1.7 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-2013 David Rosca"
LICENSE="GNU GPL v3"
REVISION="1"
SOURCE_URI="git://github.com/QupZilla/qupzilla.git#4f3aba95ff4194c9b756d196f54d50ff30161f46"
PATCHES="qupzilla-1.4.x.patchset"
ARCHITECTURES="!x86_gcc2 x86"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
qupzilla${secondaryArchSuffix} = $portVersion
app:qupzilla${secondaryArchSuffix} = $portVersion
"
# TODO: update requirements to be more specific about which Qt
# libraries are required.
REQUIRES="
haiku${secondaryArchSuffix}
qtcore${secondaryArchSuffix} >= 4.8.0
"
BUILD_PREREQUIRES="
cmd:qmake${secondaryArchSuffix}
cmd:make
cmd:g++${secondaryArchSuffix}
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
openssl${secondaryArchSuffix}_devel
qtcore${secondaryArchSuffix} >= 4.8.0
qtcore${secondaryArchSuffix}_devel >= 4.8.0
"
BUILD()
{
qmake QUPZILLA_PREFIX=${appsDir}/QupZilla
make $jobArgs
}
INSTALL()
{
echo "Installing QupZilla..."
mkdir -p ${appsDir}/QupZilla/
mkdir -p ${appsDir}/QupZilla/lib/
cd bin/
cp qupzilla ${appsDir}/QupZilla/
cp -R locale ${appsDir}/QupZilla/
cp -R plugins ${appsDir}/QupZilla/
cp -R themes ${appsDir}/QupZilla/
cp libQupZilla.* ${appsDir}/QupZilla/lib/
echo "Linking QupZilla..."
addAppDeskbarSymlink ${appsDir}/QupZilla/qupzilla "QupZilla"
}