mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
Merged in tgkokk/haikuports/tgkokk_bezilla (pull request #328)
Add Bezilla port
This commit is contained in:
72
www-client/bezilla/bezilla-git.recipe
Normal file
72
www-client/bezilla/bezilla-git.recipe
Normal file
@@ -0,0 +1,72 @@
|
||||
SUMMARY="Bezilla is a version of Firefox 2 for Haiku"
|
||||
DESCRIPTION="Bezilla 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/mmadia/bezilla"
|
||||
SRC_URI="git+https://github.com/mmadia/bezilla.git#686254"
|
||||
REVISION="1"
|
||||
LICENSE="MPL v1.1"
|
||||
COPYRIGHT="1998-1999 Netscape Communications Corporation"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 ?arm"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86 ?arm"
|
||||
|
||||
PROVIDES="
|
||||
bezilla$secondaryArchSuffix = $portVersion
|
||||
app:Bezilla$secondaryArchSuffix = $portVersion
|
||||
cmd:Bezilla_config$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
devel:libidl$secondaryArchSuffix
|
||||
devel:libglib$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:m4
|
||||
cmd:gawk
|
||||
cmd:perl
|
||||
cmd:xargs
|
||||
cmd:tar
|
||||
cmd:autoconf_2.13$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PATCHES="bezilla-git.patchset"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cd mozilla
|
||||
autoconf-2.13
|
||||
|
||||
cd nsprpub
|
||||
autoconf-2.13
|
||||
cd ..
|
||||
|
||||
cd directory/c-sdk
|
||||
autoconf-2.13
|
||||
cd ../..
|
||||
|
||||
runConfigure --omit-dirs 'docDir dataRootDir' ./configure \
|
||||
--enable-application=browser --disable-canvas \
|
||||
--disable-svg --disable-updater
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd mozilla
|
||||
make install
|
||||
|
||||
mkdir $appsDir
|
||||
|
||||
mv $binDir/firefox $appsDir/Bezilla
|
||||
mv $libDir/firefox-2.0.0.22pre/firefox-bin $libDir/firefox-2.0.0.22pre/Bezilla-bin
|
||||
mv $binDir/firefox-config $binDir/Bezilla-config
|
||||
}
|
||||
31
www-client/bezilla/patches/bezilla-git.patchset
Normal file
31
www-client/bezilla/patches/bezilla-git.patchset
Normal file
@@ -0,0 +1,31 @@
|
||||
From 7b84740f39ed0292e8f726705590ba24581c2c52 Mon Sep 17 00:00:00 2001
|
||||
From: Theodore Kokkoris <t.kokkoris@gmail.com>
|
||||
Date: Fri, 12 Dec 2014 13:45:46 +0200
|
||||
Subject: [PATCH] Enable Haiku support in configure.in
|
||||
|
||||
---
|
||||
mozilla/configure.in | 8 ++------
|
||||
1 file changed, 2 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/mozilla/configure.in b/mozilla/configure.in
|
||||
index 23cc7e7..9bd8cb5 100755
|
||||
--- a/mozilla/configure.in
|
||||
+++ b/mozilla/configure.in
|
||||
@@ -885,12 +885,8 @@ if test -n "$CROSS_COMPILE"; then
|
||||
mingw*) OS_ARCH=WINNT ;;
|
||||
wince*) OS_ARCH=WINCE ;;
|
||||
darwin*) OS_ARCH=Darwin OS_TARGET=Darwin ;;
|
||||
- beos* | haiku*) OS_ARCH=BeOS OS_TARGET=BeOS ;;
|
||||
-dnl -------------------------------------------------------
|
||||
-dnl Cross-compiling-haiku - This should probably be
|
||||
-dnl beos*) OS_ARCH=BeOS OS_TARGET=BeOS ;;
|
||||
-dnl haiku*) OS_ARCH=Haiku OS_TARGET=Haiku ;;
|
||||
-dnl -------------------------------------------------------
|
||||
+ beos*) OS_ARCH=BeOS OS_TARGET=BeOS ;;
|
||||
+ haiku*) OS_ARCH=Haiku OS_TARGET=Haiku ;;
|
||||
esac
|
||||
else
|
||||
OS_TARGET=`uname -s`
|
||||
--
|
||||
1.8.3.4
|
||||
|
||||
Reference in New Issue
Block a user