Files
haikuports/www-client/iceweasel/iceweasel_bin-128.5.0.recipe
KENZ 6c744392cc Iceweasel: small improvements (#11510)
- go back/forward with ctrl+arrow key
- middle mouse click starts autoscroll by default
2024-12-22 17:13:56 -07:00

92 lines
2.5 KiB
Bash

SUMMARY="Unofficial Haiku port of Mozilla Firefox"
DESCRIPTION="Iceweasel is an open source web browser. \
It achieves balance between ease of use and customization, catering to the \
needs of both casual and power users."
HOMEPAGE="https://github.com/kenz-gelsoft/gecko-dev"
COPYRIGHT="1995-2024 Mozilla Developers and Contributors"
LICENSE="MPL v2.0"
REVISION="6"
buildTag="HAIKU128_5_20241223"
SOURCE_URI="https://github.com/kenz-gelsoft/gecko-dev/releases/download/$buildTag/Iceweasel-$portVersion.en-US.haiku-x86_64.tar.bz2#noarchive"
CHECKSUM_SHA256="7bf4f43738879bbfab8165421a984718e8ebd352a0753de952e24485bd33c43a"
ADDITIONAL_FILES="iceweasel.rdef.in"
ARCHITECTURES="x86_64"
DISABLE_SOURCE_PACKAGE="true"
PROVIDES="
iceweasel_bin = $portVersion
app:Iceweasel = $portVersion
cmd:iceweasel = $portVersion
"
REQUIRES="
haiku
lib:libatk_1.0 >= 0.23809.1
lib:libcairo >= 2.11800.0
lib:libcairo_gobject >= 2.11800.0
lib:libdbus_1 >= 3.19.13
lib:libevent_2.1 >= 7.0.1
lib:libgdk_3 >= 3.2404.30
lib:libgdk_pixbuf_2.0 >= 0.4200.9
lib:libgio_2.0 >= 0.7800.0
lib:libglib_2.0 >= 0.7800.0
lib:libgobject_2.0 >= 0.7800.0
lib:libgtk_3 >= 3.2404.30
lib:libharfbuzz >= 0.60830.0
lib:libintl >= 8.4.0
lib:libnspr4 >= 4.36
lib:libnss3 >= 3.107
lib:libpango_1.0 >= 0.5400.0
lib:libpangocairo_1.0 >= 0.5400.0
lib:libpng16 >= 16.44.0
lib:libz >= 1.3.1
"
INSTALL()
{
mkdir -p $appsDir
tar jxf Iceweasel-$portVersion.en-US.haiku-x86_64.tar.bz2 -C $appsDir
# arranging the files in lib directories
mkdir -p $appsDir/Iceweasel/lib
cd $appsDir/Iceweasel
# NSS libs
# mv \
# libfreebl3.so \
# libnss3.so \
# libnssckbi.so \
# libnssutil3.so \
# libsmime3.so \
# libsoftokn3.so \
# libssl3.so \
# lib
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.iceweasel"
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/iceweasel.rdef.in > iceweasel.rdef
addResourcesToBinaries iceweasel.rdef $appsDir/Iceweasel/Iceweasel
addAppDeskbarSymlink $appsDir/Iceweasel/Iceweasel
}