1SUMMARY="A secure and open source web browser" 2DESCRIPTION="Dooble is a web browser focused on security and privacy with \ 3many integrated features like support for advanced options and cookie \ 4management, Gopher support, a FTP browser, a file manager, a download \ 5manager, and many others." 6HOMEPAGE="https://textbrowser.github.io/dooble/" 7COPYRIGHT="2008-present Alexis Megas" 8LICENSE="BSD (3-clause)" 9REVISION="2" 10SOURCE_URI="https://github.com/textbrowser/dooble/archive/$portVersion.tar.gz" 11CHECKSUM_SHA256="f5e67fd052af762b7658f70e268dd73af8e1f39f2eb335a0848c34242ca70315" 12SOURCE_DIR="dooble-$portVersion" 13PATCHES="dooble-$portVersion.patchset" 14ADDITIONAL_FILES=" 15 dooble.rdef.in 16 haikuicons.zip 17 " 18 19ARCHITECTURES="all !x86_gcc2" 20SECONDARY_ARCHITECTURES="x86" 21 22PROVIDES=" 23 dooble$secondaryArchSuffix = $portVersion 24 app:Dooble$secondaryArchSuffix = $portVersion 25 " 26REQUIRES=" 27 haiku$secondaryArchSuffix 28 lib:libcrypto$secondaryArchSuffix 29 lib:libgcrypt$secondaryArchSuffix 30 lib:libGL$secondaryArchSuffix 31 lib:libgpg_error$secondaryArchSuffix 32 lib:libQt5Core$secondaryArchSuffix 33 lib:libQt5Gui$secondaryArchSuffix 34 lib:libQt5Network$secondaryArchSuffix 35 lib:libQt5PrintSupport$secondaryArchSuffix 36 lib:libQt5Script$secondaryArchSuffix 37 lib:libQt5Sql$secondaryArchSuffix 38 lib:libQt5WebEngine$secondaryArchSuffix 39 lib:libQt5Widgets$secondaryArchSuffix 40 lib:libsqlite3$secondaryArchSuffix 41 lib:libstdc++$secondaryArchSuffix 42 " 43 44BUILD_REQUIRES=" 45 haiku${secondaryArchSuffix}_devel 46 devel:libcrypto$secondaryArchSuffix 47 devel:libexecinfo$secondaryArchSuffix 48 devel:libgcrypt$secondaryArchSuffix 49 devel:libGL$secondaryArchSuffix 50 devel:libQt5Core$secondaryArchSuffix 51 devel:libQt5Gui$secondaryArchSuffix 52 devel:libQt5Network$secondaryArchSuffix 53 devel:libQt5PrintSupport$secondaryArchSuffix 54 devel:libQt5Script$secondaryArchSuffix 55 devel:libQt5Sql$secondaryArchSuffix 56 devel:libQt5WebEngine$secondaryArchSuffix 57 devel:libQt5Widgets$secondaryArchSuffix 58 devel:libsqlite3$secondaryArchSuffix 59 devel:libssl$secondaryArchSuffix 60 " 61BUILD_PREREQUIRES=" 62 cmd:g++$secondaryArchSuffix 63 cmd:make 64 cmd:pkg_config$secondaryArchSuffix 65 cmd:qmake$secondaryArchSuffix >= 5 66 cmd:unzip 67 " 68 69BUILD() 70{ 71 qmake dooble.pro 72 make $jobArgs 73} 74 75PATCH () 76{ 77 unzip -o $sourceDir/../../additional-files/haikuicons.zip -d $sourceDir/Icons 78} 79 80INSTALL() 81{ 82 mkdir -p $appsDir/Dooble/lib 83 cp -rf {Data,Images,Translations} $appsDir/Dooble 84 cp -f Dooble $appsDir/Dooble 85 86 local MAJOR="$(echo ${portVersion%%_*} | cut -d. -f1)" 87 local MIDDLE="$(echo ${portVersion%%_*} | cut -d. -f2)" 88 local MINOR="$(echo ${portVersion%%_*} | cut -d. -f3)" 89 sed \ 90 -e "s|@MAJOR@|$MAJOR|" \ 91 -e "s|@MIDDLE@|$MIDDLE|" \ 92 -e "s|@MINOR@|$MINOR|" \ 93 $portDir/additional-files/dooble.rdef.in > dooble.rdef 94 addResourcesToBinaries dooble.rdef \ 95 $appsDir/Dooble/Dooble 96 97 addAppDeskbarSymlink $appsDir/Dooble/Dooble 98} 99