mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
floorp_bin: add recipe
This commit is contained in:
96
www-client/floorp/floorp_bin-11.24.0.recipe
Normal file
96
www-client/floorp/floorp_bin-11.24.0.recipe
Normal file
@@ -0,0 +1,96 @@
|
||||
SUMMARY=" A new Firefox based browser from Japan with excellent privacy & flexibility"
|
||||
DESCRIPTION="Floorp is a free and open-source web browser based on Firefox, developed by \
|
||||
Floorp Projects.
|
||||
|
||||
It focuses on providing a highly customizable and privacy-oriented browsing \
|
||||
experience, making it an excellent choice for users who value both flexibility and security. \
|
||||
The browser includes features like strong tracking protection, side panels, workspaces, \
|
||||
and vertical tabs for better organization and convenience. With its emphasis on speed, \
|
||||
security, and user freedom, Floorp strikes a balance between versatility, privacy, and web \
|
||||
openness.
|
||||
|
||||
Being cross-platform, it ensures accessibility across different devices without \
|
||||
collecting personal information."
|
||||
HOMEPAGE="https://floorp.app/"
|
||||
COPYRIGHT="1995-2025 Mozilla Developers, Floorp Projects & Ablaze"
|
||||
LICENSE="MPL v2.0"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/threedeyes/Gecko4Haiku/releases/download/$portVersion/floorp-$portVersion.en-US.haiku-x86_64.tar.bz2#noarchive"
|
||||
CHECKSUM_SHA256="eb5b5eb2a751a6d6190e6ead9b28aeecc81c315a962b552978840bf85c5ca61a"
|
||||
ADDITIONAL_FILES="floorp.rdef.in"
|
||||
|
||||
ARCHITECTURES="x86_64"
|
||||
DISABLE_SOURCE_PACKAGE="true"
|
||||
|
||||
PROVIDES="
|
||||
floorp= $portVersion
|
||||
app:Floorp= $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 floorp-$portVersion.en-US.haiku-x86_64.tar.bz2 -C $appsDir
|
||||
|
||||
mv $appsDir/floorp $appsDir/Floorp
|
||||
mv $appsDir/Floorp/floorp $appsDir/Floorp/Floorp
|
||||
|
||||
# arranging the files in lib directories
|
||||
mkdir -p $appsDir/Floorp/lib
|
||||
cd $appsDir/Floorp
|
||||
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.floorp-browser"
|
||||
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/floorp.rdef.in > floorp.rdef
|
||||
|
||||
addResourcesToBinaries floorp.rdef $appsDir/Floorp/Floorp
|
||||
|
||||
addAppDeskbarSymlink $appsDir/Floorp/Floorp
|
||||
}
|
||||
Reference in New Issue
Block a user