mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
Dooble: Add recipe for 1.56d version
This commit is contained in:
92
www-client/dooble/dooble-1.56d.recipe
Normal file
92
www-client/dooble/dooble-1.56d.recipe
Normal file
@@ -0,0 +1,92 @@
|
||||
SUMMARY="A secure and open source web browser"
|
||||
DESCRIPTION="Dooble is a web browser focused on security and privacy with \
|
||||
many integrated features like support for advanced options and cookie \
|
||||
management, Gopher support, a FTP browser, a file manager, a download \
|
||||
manager, and many others."
|
||||
HOMEPAGE="http://dooble.sourceforge.net/"
|
||||
COPYRIGHT="Dooble"
|
||||
LICENSE="BSD (3-clause)"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/textbrowser/dooble/archive/$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="8abf260d7f0e2bd4ab7ed857d0ff3b719aede3872f3dd1faac1ae539f554fef6"
|
||||
SOURCE_DIR="dooble-$portVersion/Version 1.x"
|
||||
PATCHES="dooble-$portVersion.patchset"
|
||||
ADDITIONAL_FILES="dooble.rdef.in"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 ?x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
dooble$secondaryArchSuffix = $portVersion
|
||||
app:Dooble$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:libsqlite3$secondaryArchSuffix
|
||||
lib:libgcrypt$secondaryArchSuffix
|
||||
lib:libgpg_error$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
|
||||
devel:libsqlite3$secondaryArchSuffix
|
||||
devel:libgcrypt$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
cmd:qmake$secondaryArchSuffix >= 5
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
qmake dooble.qt5.pro
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $appsDir/Dooble/lib
|
||||
cp -rf ./Icons $appsDir/Dooble
|
||||
cp -rf ./Images $appsDir/Dooble
|
||||
cp -rf ./Translations $appsDir/Dooble
|
||||
cp -f ./libSpotOn/libspoton.so $appsDir/Dooble/lib
|
||||
cp -f Dooble $appsDir/Dooble
|
||||
|
||||
local MAJOR="1"
|
||||
local MIDDLE="56"
|
||||
local MINOR="0"
|
||||
sed \
|
||||
-e "s|@MAJOR@|$MAJOR|" \
|
||||
-e "s|@MIDDLE@|$MIDDLE|" \
|
||||
-e "s|@MINOR@|$MINOR|" \
|
||||
$portDir/additional-files/dooble.rdef.in > dooble.rdef
|
||||
addResourcesToBinaries dooble.rdef \
|
||||
$appsDir/Dooble/Dooble
|
||||
|
||||
addAppDeskbarSymlink $appsDir/Dooble/Dooble "Dooble"
|
||||
}
|
||||
Reference in New Issue
Block a user