wok-next rev 21398

updated palemoon (27.9.3 -> 28.9.1)
author Hans-G?nter Theisgen
date Sun Apr 19 06:51:21 2020 +0100 (2020-04-19)
parents 69a0668dfd2c
children d5f4f2768cce
files palemoon/receipt
line diff
     1.1 --- a/palemoon/receipt	Sat Apr 18 17:26:44 2020 +0300
     1.2 +++ b/palemoon/receipt	Sun Apr 19 06:51:21 2020 +0100
     1.3 @@ -1,8 +1,9 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="palemoon"
     1.7 -VERSION="27.9.3"
     1.8 +VERSION="28.9.1"
     1.9  CATEGORY="network"
    1.10 +TAGS="browser web-browser"
    1.11  SHORT_DESC="Browser based on Firefox that's optimised for performance"
    1.12  MAINTAINER="psychomaniak@xakep.ru"
    1.13  LICENSE="MPL2"
    1.14 @@ -11,20 +12,23 @@
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16  WGET_URL="https://github.com/MoonchildProductions/Pale-Moon/archive/${VERSION}_Release.tar.gz"
    1.17  
    1.18 -BUILD_DEPENDS="autoconf213 gtk2-dev yasm zip unzip iw dbus-dev dbus-glib-dev \
    1.19 -iw libpng-dev gstreamer0-dev gst0-plugins-base-dev \
    1.20 -libvpx-dev mesa-dev virtualenv zlib-dev bzip2-dev python-dev \
    1.21 -pixman-dev libffi-dev libjpeg-turbo-dev \
    1.22 -libxt-dev coreutils-file-special alsa-lib-dev spl spl-src"
    1.23 -# sqlite sqlite-dev libevent libevent-dev
    1.24 +BUILD_DEPENDS="alsa-lib-dev autoconf213 bzip2-dev coreutils-file-special 
    1.25 +	dbus-dev dbus-glib-dev gst0-plugins-base-dev gstreamer0-dev gtk2-dev 
    1.26 +	iw libffi-dev libjpeg-turbo-dev libpng-dev libvpx-dev libxt-dev 
    1.27 +	mesa-dev pixman-dev python-dev spl spl-src unzip virtualenv yasm 
    1.28 +	zip zlib-dev"
    1.29 +	# sqlite sqlite-dev libevent libevent-dev
    1.30  
    1.31 -compile_rules() {
    1.32 +compile_rules()
    1.33 +{
    1.34  	find -type f | grep duckduckgo | xargs \
    1.35  		sed -i 's|name="t" value="palemoon"|name="t" value="slitaz"|'
    1.36  	cp $stuff/mozconfig $src
    1.37 +
    1.38  	case $ARCH in
    1.39  		x86_64) sed -i 's|i686|nocona|' $src/mozconfig;;
    1.40  	esac
    1.41 +
    1.42  	chmod -R +x build/autoconf/* python/*
    1.43  	find . -name '*.sh' -exec chmod +x {} \;
    1.44  	export CFLAGS=${CFLAGS/486/686}
    1.45 @@ -33,29 +37,33 @@
    1.46  	export MOZCONFIG="$src/mozconfig"
    1.47  	export CPPFLAGS="$CPPFLAGS"
    1.48  	export MAKEFLAGS="$MAKEFLAGS"
    1.49 +
    1.50  	python2 mach configure
    1.51  	python2 mach build || echo "Next =>"
    1.52  	python2 mach build
    1.53  	cd $src/obj-i686-pc-linux-gnu
    1.54  	( make package | egrep -v 'error|ERROR' ) > ./instLOG 2>&1
    1.55  	cd dist
    1.56 -	for i in bin lib share/applications; do
    1.57 +	for i in bin lib share/applications
    1.58 +	  do
    1.59  		install -d $install/usr/$i
    1.60 -	done
    1.61 -	cp -a $PACKAGE $install/usr/lib/$PACKAGE
    1.62 +	  done
    1.63 +	cp -a $PACKAGE	$install/usr/lib/$PACKAGE
    1.64  	cp -a $src/browser/branding/official/$PACKAGE.desktop \
    1.65 -		$install/usr/share/applications
    1.66 +			$install/usr/share/applications
    1.67  }
    1.68  
    1.69 -genpkg_rules() {
    1.70 -	cp -a $install/* $fs
    1.71 +genpkg_rules()
    1.72 +{
    1.73  	mkdir -p $fs/usr/share/pixmaps
    1.74 +
    1.75 +	cp -a $install/*	$fs
    1.76  	rm -f  /usr/lib/$PACKAGE/$PACKAGE-bin
    1.77  	ln -sf /usr/lib/$PACKAGE/$PACKAGE $fs/usr/bin
    1.78  	ln -sf /usr/lib/$PACKAGE/browser/chrome/icons/default/default48.png \
    1.79  		$fs/usr/share/pixmaps/palemoon.png
    1.80  	ln -s palemoon $fs/usr/bin/browser-html5
    1.81 +
    1.82 +	PROVIDE="browser-html5"
    1.83  	DEPENDS="gtk2"
    1.84 -	PROVIDE="browser-html5"
    1.85 -	TAGS="browser web-browser"
    1.86  }