From 4eb3203647938bad86038db5c71f3ee8798c876a Mon Sep 17 00:00:00 2001 From: Gerasim Troeglazov <3dEyes@gmail.com> Date: Fri, 14 Mar 2025 19:52:19 +1000 Subject: [PATCH] librewolf_bin: add recipe for 136.0.1 version --- .../librewolf/librewolf_bin-136.0.1.recipe | 92 +++++++++++++++++++ 1 file changed, 92 insertions(+) create mode 100644 www-client/librewolf/librewolf_bin-136.0.1.recipe diff --git a/www-client/librewolf/librewolf_bin-136.0.1.recipe b/www-client/librewolf/librewolf_bin-136.0.1.recipe new file mode 100644 index 000000000..a79177eb3 --- /dev/null +++ b/www-client/librewolf/librewolf_bin-136.0.1.recipe @@ -0,0 +1,92 @@ +SUMMARY="A custom version of Firefox, focused on privacy, security and freedom" +DESCRIPTION="This project is a custom and independent version of Firefox, with \ +the primary goals of privacy, security and user freedom. + +LibreWolf is designed to increase protection against tracking and fingerprinting \ +techniques, while also including a few security improvements. This is achieved \ +through our privacy and security oriented settings and patches. LibreWolf also \ +aims to remove all the telemetry, data collection and annoyances, as well as \ +disabling anti-freedom features like DRM." +HOMEPAGE="https://librewolf.net/" +COPYRIGHT="1995-2025 Mozilla Developers and Contributors" +LICENSE="MPL v2.0" +REVISION="1" +SOURCE_URI="https://github.com/threedeyes/Gecko4Haiku/releases/download/$portVersion/librewolf-${portVersion}-1.en-US.haiku-x86_64.tar.xz#noarchive" +CHECKSUM_SHA256="05684423c6579c9970cac7341a3d48300b2bf6a43f27dd63008e4e8271f3d0c7" +ADDITIONAL_FILES="librewolf.rdef.in" + +ARCHITECTURES="x86_64" +DISABLE_SOURCE_PACKAGE="true" + +PROVIDES=" + librewolf_bin = $portVersion + app:LibreWolf = $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:xz + " + +INSTALL() +{ + mkdir -p $appsDir + tar -xJf librewolf-${portVersion}-1.en-US.haiku-x86_64.tar.xz -C $appsDir + + mv $appsDir/librewolf $appsDir/LibreWolf + mv $appsDir/LibreWolf/librewolf $appsDir/LibreWolf/LibreWolf + + # arranging the files in lib directories + mkdir -p $appsDir/LibreWolf/lib + cd $appsDir/LibreWolf + 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.librewolf" + 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/librewolf.rdef.in > librewolf.rdef + + addResourcesToBinaries librewolf.rdef $appsDir/LibreWolf/LibreWolf + + addAppDeskbarSymlink $appsDir/LibreWolf/LibreWolf +}