wok-next annotate palemoon/receipt @ rev 21410

updated polkit (0.113 -> 0.116)
author Hans-G?nter Theisgen
date Fri Apr 24 17:53:05 2020 +0100 (2020-04-24)
parents 5669e8b3be70
children
rev   line source
psychomaniak@19086 1 # SliTaz package receipt.
psychomaniak@19086 2
psychomaniak@19086 3 PACKAGE="palemoon"
Hans-G?nter@21398 4 VERSION="28.9.1"
psychomaniak@19086 5 CATEGORY="network"
Hans-G?nter@21398 6 TAGS="browser web-browser"
al@21020 7 SHORT_DESC="Browser based on Firefox that's optimised for performance"
al@21020 8 MAINTAINER="psychomaniak@xakep.ru"
psychomaniak@19086 9 LICENSE="MPL2"
al@21041 10 WEB_SITE="https://www.palemoon.org/"
al@21020 11
psychomaniak@19086 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
psychomaniak@19086 13 WGET_URL="https://github.com/MoonchildProductions/Pale-Moon/archive/${VERSION}_Release.tar.gz"
psychomaniak@19086 14
Hans-G?nter@21398 15 BUILD_DEPENDS="alsa-lib-dev autoconf213 bzip2-dev coreutils-file-special
Hans-G?nter@21398 16 dbus-dev dbus-glib-dev gst0-plugins-base-dev gstreamer0-dev gtk2-dev
Hans-G?nter@21398 17 iw libffi-dev libjpeg-turbo-dev libpng-dev libvpx-dev libxt-dev
Hans-G?nter@21398 18 mesa-dev pixman-dev python-dev spl spl-src unzip virtualenv yasm
Hans-G?nter@21398 19 zip zlib-dev"
Hans-G?nter@21398 20 # sqlite sqlite-dev libevent libevent-dev
psychomaniak@19086 21
Hans-G?nter@21398 22 compile_rules()
Hans-G?nter@21398 23 {
pascal@19095 24 find -type f | grep duckduckgo | xargs \
pascal@19095 25 sed -i 's|name="t" value="palemoon"|name="t" value="slitaz"|'
psychomaniak@19086 26 cp $stuff/mozconfig $src
Hans-G?nter@21398 27
al@20491 28 case $ARCH in
al@20491 29 x86_64) sed -i 's|i686|nocona|' $src/mozconfig;;
al@20491 30 esac
Hans-G?nter@21398 31
psychomaniak@19220 32 chmod -R +x build/autoconf/* python/*
psychomaniak@19086 33 find . -name '*.sh' -exec chmod +x {} \;
al@20491 34 export CFLAGS=${CFLAGS/486/686}
al@20491 35 export CXXFLAGS=${CXXFLAGS/486/686}
psychomaniak@19086 36 export MOZBUILD_STATE_PATH="$src/mozbuild"
psychomaniak@19086 37 export MOZCONFIG="$src/mozconfig"
psychomaniak@20045 38 export CPPFLAGS="$CPPFLAGS"
psychomaniak@19086 39 export MAKEFLAGS="$MAKEFLAGS"
Hans-G?nter@21398 40
psychomaniak@19086 41 python2 mach configure
psychomaniak@19086 42 python2 mach build || echo "Next =>"
psychomaniak@19086 43 python2 mach build
psychomaniak@19086 44 cd $src/obj-i686-pc-linux-gnu
psychomaniak@19086 45 ( make package | egrep -v 'error|ERROR' ) > ./instLOG 2>&1
psychomaniak@19086 46 cd dist
Hans-G?nter@21398 47 for i in bin lib share/applications
Hans-G?nter@21398 48 do
al@21020 49 install -d $install/usr/$i
Hans-G?nter@21398 50 done
Hans-G?nter@21398 51 cp -a $PACKAGE $install/usr/lib/$PACKAGE
psychomaniak@19086 52 cp -a $src/browser/branding/official/$PACKAGE.desktop \
Hans-G?nter@21398 53 $install/usr/share/applications
psychomaniak@19086 54 }
psychomaniak@19086 55
Hans-G?nter@21398 56 genpkg_rules()
Hans-G?nter@21398 57 {
psychomaniak@19090 58 mkdir -p $fs/usr/share/pixmaps
Hans-G?nter@21398 59
Hans-G?nter@21398 60 cp -a $install/* $fs
psychomaniak@19386 61 rm -f /usr/lib/$PACKAGE/$PACKAGE-bin
psychomaniak@19086 62 ln -sf /usr/lib/$PACKAGE/$PACKAGE $fs/usr/bin
psychomaniak@19086 63 ln -sf /usr/lib/$PACKAGE/browser/chrome/icons/default/default48.png \
psychomaniak@19086 64 $fs/usr/share/pixmaps/palemoon.png
pascal@19092 65 ln -s palemoon $fs/usr/bin/browser-html5
Hans-G?nter@21398 66
Hans-G?nter@21398 67 PROVIDE="browser-html5"
al@21020 68 DEPENDS="gtk2"
psychomaniak@19086 69 }