-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #526 from mariux64/add-waterfox
Waterfox: Add version 55.2.2
- Loading branch information
Showing
1 changed file
with
62 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
#!/usr/bin/env beesh | ||
|
||
# BEE_VERSION waterfox-55.2.2-0 | ||
|
||
SRCURL[0]="https://github.com/MrAlex94/Waterfox/archive/master.zip" | ||
|
||
# PATCHURL+=() | ||
|
||
# EXCLUDE+=() | ||
|
||
# build_in_sourcedir | ||
|
||
# sourcesubdir_append src | ||
|
||
|
||
#mee_extract() { | ||
# bee_extract "${@}" | ||
#} | ||
|
||
#mee_patch() { | ||
# bee_patch "${@}" | ||
#} | ||
|
||
mee_configure() { | ||
OPTION="--prefix=/usr --disable-necko-wifi --without-system-icu --without-system-nspr \ | ||
--disable-dbus --enable-safe-browsing" | ||
start_cmd sed -e 's/with-ccache=ccache/without-ccache/' \ | ||
-e 's/-j${X%.*}/${BEE_MAKEFLAGS}/' \ | ||
-i ${S}/.mozconfig | ||
for i in $OPTION; do | ||
start_cmd echo "ac_add_options $i" >> ${S}/.mozconfig | ||
done | ||
} | ||
|
||
mee_build() { | ||
cd ${S} | ||
start_cmd make -f client.mk | ||
#create menu entry | ||
cat >${B}/waterfox.desktop <<-EOF | ||
[Desktop Entry] | ||
Encoding=UTF-8 | ||
Version=1.0 | ||
Name=Waterfox | ||
GenericName=Web Browser | ||
Comment=Surf the World Wide Web | ||
Exec=waterfox %u | ||
Icon=waterfox | ||
Terminal=false | ||
Type=Application | ||
MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https; | ||
StartupNotify=true | ||
Categories=Network;WebBrowser; | ||
EOF | ||
} | ||
|
||
mee_install() { | ||
cd ${S} | ||
start_cmd make -f client.mk install DESTDIR=${D} | ||
start_cmd desktop-file-install --dir ${D}${DATADIR}/applications ${B}/waterfox.desktop | ||
|
||
} | ||
## by default this may be 'make install DESTDIR="${D}"' |