From f64c8a03133576c8d13d9df93c1ce3396f68841a Mon Sep 17 00:00:00 2001 From: Gerasim Troeglazov <3dEyes@gmail.com> Date: Sun, 16 Mar 2025 17:33:27 +1000 Subject: [PATCH] waterfox_bin: add recipe for 6.5.5 version --- www-client/waterfox/waterfox_bin-6.5.5.recipe | 95 +++++++++++++++++++ 1 file changed, 95 insertions(+) create mode 100644 www-client/waterfox/waterfox_bin-6.5.5.recipe diff --git a/www-client/waterfox/waterfox_bin-6.5.5.recipe b/www-client/waterfox/waterfox_bin-6.5.5.recipe new file mode 100644 index 000000000..ef67fc6a9 --- /dev/null +++ b/www-client/waterfox/waterfox_bin-6.5.5.recipe @@ -0,0 +1,95 @@ +SUMMARY="A Firefox fork with privacy, usability, and speed enhancements" +DESCRIPTION="Waterfox is an open-source, privacy-focused browser based on the popular \ +open source browser with a red panda as a mascot. It is designed to be a drop-in \ +replacement for said browser that offers enhanced privacy features, performance \ +improvements, and customizability while maintaining compatibility with existing extensions. + +Key Features: +* Privacy-focused: Removal of telemetry and tracking, with bare minimum of data collection for operation. +* Performance-oriented: Optimized for modern systems +* Customizable: Support for classic and modern extensions +* Cross-platform: Available for Windows, macOS, Linux, Android and Haiku +* Modern: Regular updates to stay current with web standards" +HOMEPAGE="https://www.waterfox.net/" +COPYRIGHT="1995-2025 Mozilla Developers, BrowserWorks" +LICENSE="MPL v2.0" +REVISION="1" +SOURCE_URI="https://github.com/threedeyes/Gecko4Haiku/releases/download/$portVersion/waterfox-$portVersion.en-US.haiku-x86_64.tar.bz2#noarchive" +CHECKSUM_SHA256="5b3548af6e3db0daca05faef21f24035af4626fd290d45c7757ce46716354998" +ADDITIONAL_FILES="waterfox.rdef.in" + +ARCHITECTURES="x86_64" +DISABLE_SOURCE_PACKAGE="true" + +PROVIDES=" + waterfox_bin = $portVersion + app:Waterfox = $portVersion + " +REQUIRES=" + haiku + lib:libatk_1.0 + lib:libcairo + lib:libcairo_gobject + lib:libdbus_1 + lib:libevent_2.1 + lib:libgdk_3 + lib:libgdk_pixbuf_2.0 + lib:libgio_2.0 + lib:libglib_2.0 + lib:libgobject_2.0 + lib:libgtk_3 + lib:libharfbuzz + lib:libintl + lib:libnspr4 + lib:libnss3 + lib:libpango_1.0 + lib:libpangocairo_1.0 + lib:libpng16 + lib:libz + " + +BUILD_PREREQUIRES=" + cmd:tar + cmd:bzip2 + " + +INSTALL() +{ + mkdir -p $appsDir + tar -xvjf waterfox-$portVersion.en-US.haiku-x86_64.tar.bz2 -C $appsDir + + mv $appsDir/waterfox $appsDir/Waterfox + mv $appsDir/Waterfox/waterfox $appsDir/Waterfox/Waterfox + + # arranging the files in lib directories + mkdir -p $appsDir/Waterfox/lib + cd $appsDir/Waterfox + mv \ + libgkcodecs.so \ + libipcclientcerts.so \ + liblgpllibs.so \ + libmozavcodec.so \ + libmozavutil.so \ + libmozgtk.so \ + libmozsqlite3.so \ + libmozwayland.so \ + libxul.so \ + lib + + local APP_SIGNATURE="application/x-vnd.waterfox" + local MAJOR="`echo "$portVersion" | cut -d. -f1`" + local MIDDLE="`echo "$portVersion" | cut -d. -f2`" + local MINOR="`echo "$portVersion" | cut -d. -f3`" + local LONG_INFO="$SUMMARY" + sed \ + -e "s|@APP_SIGNATURE@|$APP_SIGNATURE|" \ + -e "s|@MAJOR@|$MAJOR|" \ + -e "s|@MIDDLE@|$MIDDLE|" \ + -e "s|@MINOR@|$MINOR|" \ + -e "s|@LONG_INFO@|$LONG_INFO|" \ + $portDir/additional-files/waterfox.rdef.in > waterfox.rdef + + addResourcesToBinaries waterfox.rdef $appsDir/Waterfox/Waterfox + + addAppDeskbarSymlink $appsDir/Waterfox/Waterfox +}