1177162SjkoshySUMMARY="A cross-platform, multi-protocol visual browser for the small-internet" 2145256SjkoshyDESCRIPTION="Kristall is a browser without support for CSS/JS/WASM or graphical \ 3145256Sjkoshywebsites. It can display user-styled documents in several formats, \ 4145256Sjkoshyincluding Gemini, HTML, and Markdown provided by a server via Gemini, \ 5145256SjkoshyGopher, HTTP/HTTPS, and Finger protocols." 6145256SjkoshyHOMEPAGE="https://kristall.random-projects.net/" 7145256SjkoshyCOPYRIGHT="2020 Felix Quei��ner" 8145256SjkoshyLICENSE="GNU GPL v3" 9145256SjkoshyREVISION="6" 10145256Sjkoshy# srcGitRev="bca592adf686b11321b7185f234525674d7d474c" 11145256SjkoshySOURCE_URI="https://github.com/MasterQ32/kristall/archive/V$portVersion.tar.gz" 12231871SbruefferCHECKSUM_SHA256="1547e60978c73783d0737af3ccea6abfcf7ec214e8dedc91157ef3f88453be8f" 13231871SbruefferSOURCE_FILENAME="kristall-v$portVersion.tar.gz" 14231871SbruefferSOURCE_DIR="kristall-$portVersion" 15231871SbruefferADDITIONAL_FILES="kristall.rdef.in" 16231871Sbrueffer 17231871SbruefferARCHITECTURES="!x86_gcc2 x86_64" 18231871SbruefferSECONDARY_ARCHITECTURES="x86" 19231871Sbrueffer 20231871SbruefferPROVIDES=" 21231871Sbrueffer kristall$secondaryArchSuffix = $portVersion 22231871Sbrueffer app:Kristall$secondaryArchSuffix = $portVersion 23145256Sjkoshy " 24145256SjkoshyREQUIRES=" 25145256Sjkoshy haiku$secondaryArchSuffix 26183595Sjkoshy lib:libcrypto$secondaryArchSuffix 27206622Suqs lib:libiconv$secondaryArchSuffix 28145256Sjkoshy lib:libGL$secondaryArchSuffix 29145256Sjkoshy lib:libQt5Core$secondaryArchSuffix 30183082Sjkoshy lib:libQt5Gui$secondaryArchSuffix 31183082Sjkoshy lib:libQt5Network$secondaryArchSuffix 32145256Sjkoshy lib:libQt5Svg$secondaryArchSuffix 33145256Sjkoshy lib:libQt5Widgets$secondaryArchSuffix 34145256Sjkoshy lib:libz$secondaryArchSuffix 35145256Sjkoshy " 36145256SjkoshyBUILD_REQUIRES=" 37183082Sjkoshy haiku${secondaryArchSuffix}_devel 38183082Sjkoshy devel:libiconv$secondaryArchSuffix 39145256Sjkoshy devel:libGL$secondaryArchSuffix 40183082Sjkoshy devel:libQt5Core$secondaryArchSuffix 41183082Sjkoshy devel:libQt5Gui$secondaryArchSuffix 42183082Sjkoshy devel:libQt5Network$secondaryArchSuffix 43183082Sjkoshy devel:libQt5Svg$secondaryArchSuffix 44183082Sjkoshy devel:libQt5Widgets$secondaryArchSuffix 45183082Sjkoshy devel:libssl$secondaryArchSuffix 46147191Sjkoshy devel:libz$secondaryArchSuffix 47183082Sjkoshy " 48183082SjkoshyBUILD_PREREQUIRES=" 49145256Sjkoshy cmd:g++$secondaryArchSuffix 50145256Sjkoshy cmd:ld$secondaryArchSuffix 51183082Sjkoshy cmd:lrelease$secondaryArchSuffix >= 5 52145256Sjkoshy cmd:make 53183082Sjkoshy cmd:pkg_config$secondaryArchSuffix 54183082Sjkoshy cmd:qmake$secondaryArchSuffix >= 5 55177162Sjkoshy " 56183082Sjkoshy 57183082SjkoshyPATCH() 58183082Sjkoshy{ 59183082Sjkoshy echo "\nCONFIG += resources_big" >> src/kristall.pro 60145256Sjkoshy} 61183082Sjkoshy 62183595SjkoshyBUILD() 63183595Sjkoshy{ 64183595Sjkoshy make $jobArgs 65183595Sjkoshy} 66183082Sjkoshy 67183082SjkoshyINSTALL() 68183082Sjkoshy{ 69183082Sjkoshy mkdir $appsDir 70183082Sjkoshy mv ./kristall $appsDir/Kristall 71233628Sfabient 72147191Sjkoshy local APP_SIGNATURE="application/x-vnd.kristall" 73183082Sjkoshy local MAJOR="`echo "$portVersion" | cut -d. -f1`" 74148223Sjkoshy local LONG_INFO="$SUMMARY" 75148223Sjkoshy sed \ 76152551Sru -e "s|@APP_SIGNATURE@|$APP_SIGNATURE|" \ 77148223Sjkoshy -e "s|@MAJOR@|$MAJOR|" \ 78148223Sjkoshy -e "s|@LONG_INFO@|$LONG_INFO|" \ 79173900Sjkoshy $portDir/additional-files/kristall.rdef.in > $sourceDir/kristall.rdef 80173900Sjkoshy addResourcesToBinaries $sourceDir/kristall.rdef $appsDir/Kristall 81173900Sjkoshy addAppDeskbarSymlink $appsDir/Kristall 82173900Sjkoshy} 83173900Sjkoshy