summaryrefslogtreecommitdiff
path: root/libre/iceweasel/PKGBUILD
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-10-19 02:48:00 -0200
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-10-19 02:48:00 -0200
commit3879ddbd47d69ecaa35298b31ac226a415c13128 (patch)
tree13fd4406b340a073506dc18bbd8bdb21ae47c954 /libre/iceweasel/PKGBUILD
parent4ca7f7394b81cdb5af0d3bcc56b0cd69cdcd2f57 (diff)
downloadabslibre-3879ddbd47d69ecaa35298b31ac226a415c13128.tar.gz
abslibre-3879ddbd47d69ecaa35298b31ac226a415c13128.tar.bz2
abslibre-3879ddbd47d69ecaa35298b31ac226a415c13128.zip
add non-openh264.patch
Diffstat (limited to 'libre/iceweasel/PKGBUILD')
-rw-r--r--libre/iceweasel/PKGBUILD13
1 files changed, 12 insertions, 1 deletions
diff --git a/libre/iceweasel/PKGBUILD b/libre/iceweasel/PKGBUILD
index 46ec99fe1..6c30f31ea 100644
--- a/libre/iceweasel/PKGBUILD
+++ b/libre/iceweasel/PKGBUILD
@@ -17,6 +17,7 @@ _debname=iceweasel
_debver=33.0
_debrel=deb2
_debrepo=http://ftp.debian.org/debian/pool/main/
+_parabolarepo=https://repo.parabola.nu/other/$_debname-libre
debfile() { echo $@|sed -r 's@(.).*@\1/&/&@'; }
pkgname=iceweasel
@@ -43,7 +44,8 @@ install=iceweasel.install
replaces=('firefox' "${pkgname}-libre")
conflicts=('firefox' "${pkgname}-libre")
provides=('firefox')
-source=("$_debrepo/`debfile $_debname`_$_debver.orig.tar.bz2"
+mksource=("$_debrepo/`debfile $_debname`_$_debver.orig.tar.bz2"
+source=("$_parabolarepo/$_debname`_$_debver.orig.tar.bz2"
"$_debrepo/`debfile $_debname`_$_debver-${_debrel#deb}.debian.tar.xz"
mozconfig
mozconfig.pgo
@@ -66,6 +68,15 @@ md5sums=('5288af8026ff814fc4d769fed69865f7'
'16a112aaeee34ff3cae1fc1a521448a0'
'6e335a517c68488941340ee1c23f97b0')
+mksource() {
+ export DEBIAN_BUILD="mozilla-release"
+
+ cd "$srcdir/$DEBIAN_BUILD"
+
+ # Remove nonfree OpenH264 plugin provided by Cisco Systems
+ rm -v toolkit/mozapps/extensions/{test/{browser/browser_openH264.js,xpcshell/test_openh264.js},content/{OpenH264-license.txt,openH264Prefs.xul},internal/OpenH264Provider.jsm}
+}
+
prepare() {
export DEBIAN_BUILD="mozilla-release"