Skip to content
Permalink
077d6ef2a4
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
@wwwutz
Latest commit 229c57c Oct 17, 2019 History
- last release with this version scheme
2 contributors

Users who have contributed to this file

@wwwutz @david
executable file 66 lines (51 sloc) 1.61 KB
#!/usr/bin/env beesh
# BEE_VERSION waterfox-56.2.14-0
# export BEE_TMP_TMPDIR=/dev/shm BEE_TMP_BUILDROOT=/dev/shm/bee-root BEE_MAKEFLAGS='-j`nproc`'
SRCURL[0]="https://github.com/MrAlex94/Waterfox/archive/${PKGVERSION}.tar.gz waterfox-${PKGVERSION}.tar.gz"
# PATCHURL+=()
# EXCLUDE+=()
build_in_sourcedir
# sourcesubdir_append src
#mee_extract() {
# start_cmd 7z x ${S}/../../files/master.zip -o${S}
#}
#mee_patch() {
# bee_patch "${@}"
#}
mee_configure() {
. /pkg/rustc-1.37.0-0/profile
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 Waterfox-master
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}"'