summaryrefslogtreecommitdiff
path: root/www/firefox
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2019-03-15 12:52:42 +0000
committerryoon <ryoon@pkgsrc.org>2019-03-15 12:52:42 +0000
commit08370e9ffb786032e004e951cbb3f97f9e8a68a8 (patch)
tree79c559c07e89067d8d94541e1d2e7b5930102263 /www/firefox
parentfc997c8507d140780c62f333b2f6291683be5386 (diff)
downloadpkgsrc-08370e9ffb786032e004e951cbb3f97f9e8a68a8.tar.gz
Fix build with webrtc option, bump PKGREVISION
* webrtc option requires the internal libvpx. * And remove widevinecdm option. It is not useful.
Diffstat (limited to 'www/firefox')
-rw-r--r--www/firefox/Makefile4
-rw-r--r--www/firefox/mozilla-common.mk10
-rw-r--r--www/firefox/options.mk8
3 files changed, 9 insertions, 13 deletions
diff --git a/www/firefox/Makefile b/www/firefox/Makefile
index 0f7ed2f0fb7..309f2c52d52 100644
--- a/www/firefox/Makefile
+++ b/www/firefox/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.362 2019/03/04 15:53:06 ryoon Exp $
+# $NetBSD: Makefile,v 1.363 2019/03/15 12:52:42 ryoon Exp $
FIREFOX_VER= ${MOZ_BRANCH}${MOZ_BRANCH_MINOR}
MOZ_BRANCH= 65.0
@@ -6,7 +6,7 @@ MOZ_BRANCH_MINOR= .2
DISTNAME= firefox-${FIREFOX_VER}.source
PKGNAME= ${DISTNAME:S/.source//:S/b/beta/:S/esr//}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= www
MASTER_SITES+= ${MASTER_SITE_MOZILLA:=firefox/releases/${FIREFOX_VER}/source/}
EXTRACT_SUFX= .tar.xz
diff --git a/www/firefox/mozilla-common.mk b/www/firefox/mozilla-common.mk
index dd4b012570e..fe57fe22754 100644
--- a/www/firefox/mozilla-common.mk
+++ b/www/firefox/mozilla-common.mk
@@ -1,4 +1,4 @@
-# $NetBSD: mozilla-common.mk,v 1.127 2019/03/04 15:53:06 ryoon Exp $
+# $NetBSD: mozilla-common.mk,v 1.128 2019/03/15 12:52:42 ryoon Exp $
#
# common Makefile fragment for mozilla packages based on gecko 2.0.
#
@@ -84,7 +84,8 @@ CONFIGURE_ARGS+= --disable-tests
# Mozilla Bug 1432751
#CONFIGURE_ARGS+= --enable-system-cairo
CONFIGURE_ARGS+= --enable-system-pixman
-CONFIGURE_ARGS+= --with-system-libvpx
+# webrtc option requires internal libvpx
+#CONFIGURE_ARGS+= --with-system-libvpx
CONFIGURE_ARGS+= --enable-system-ffi
CONFIGURE_ARGS+= --with-system-icu
CONFIGURE_ARGS+= --with-system-nss
@@ -231,8 +232,9 @@ BUILDLINK_API_DEPENDS.clang+= clang>=6.0.1nb1
BUILDLINK_DEPMETHOD.rust= build
BUILDLINK_API_DEPENDS.rust+= rust>=1.24.0
.include "../../lang/rust/buildlink3.mk"
-BUILDLINK_API_DEPENDS.libvpx+= libvpx>=1.3.0
-.include "../../multimedia/libvpx/buildlink3.mk"
+# webrtc option requires internal libvpx
+#BUILDLINK_API_DEPENDS.libvpx+= libvpx>=1.3.0
+#.include "../../multimedia/libvpx/buildlink3.mk"
.include "../../net/libIDL/buildlink3.mk"
# textproc/hunspell 1.3 is too old
#.include "../../textproc/hunspell/buildlink3.mk"
diff --git a/www/firefox/options.mk b/www/firefox/options.mk
index 2c7d6615f03..d1e600c101d 100644
--- a/www/firefox/options.mk
+++ b/www/firefox/options.mk
@@ -1,11 +1,10 @@
-# $NetBSD: options.mk,v 1.44 2017/12/10 00:45:09 ryoon Exp $
+# $NetBSD: options.mk,v 1.45 2019/03/15 12:52:42 ryoon Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.firefox
PKG_SUPPORTED_OPTIONS= official-mozilla-branding
PKG_SUPPORTED_OPTIONS+= debug debug-info mozilla-jemalloc webrtc
PKG_SUPPORTED_OPTIONS+= alsa oss pulseaudio dbus
-PKG_SUPPORTED_OPTIONS+= widevinecdm
PLIST_VARS+= gnome jemalloc debug
.if ${OPSYS} == "Linux"
@@ -100,8 +99,3 @@ PLIST.webrtc= yes
.else
CONFIGURE_ARGS+= --disable-webrtc
.endif
-
-# Enable Google widevine CDM. This requires external libwidevinecdm.so.
-.if !empty(PKG_OPTIONS:Mwidevinecdm)
-CONFIGURE_ARGS+= --enable-eme=widevine
-.endif