firefox.guncellendi
This commit is contained in:
parent
6e85820ad7
commit
37df76a52e
|
@ -0,0 +1,12 @@
|
|||
diff -up firefox-29.0/mozilla-release/config/baseconfig.mk.orig firefox-29.0/mozilla-release/config/baseconfig.mk
|
||||
--- mozilla-release/config/baseconfig.mk.orig 2014-04-22 15:38:52.948165295 +0200
|
||||
+++ mozilla-release/config/baseconfig.mk 2014-04-22 15:42:20.387481673 +0200
|
||||
@@ -4,7 +4,7 @@
|
||||
# whether a normal build is happening or whether the check is running.
|
||||
includedir := $(includedir)/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
|
||||
idldir = $(datadir)/idl/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
|
||||
-installdir = $(libdir)/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
|
||||
+installdir = $(libdir)/$(MOZ_APP_NAME)
|
||||
sdkdir = $(libdir)/$(MOZ_APP_NAME)-devel-$(MOZ_APP_VERSION)
|
||||
ifndef TOP_DIST
|
||||
TOP_DIST = dist
|
|
@ -1,16 +1,16 @@
|
|||
# Description: Standalone web browser from mozilla.org
|
||||
# URL: http://www.mozilla.com/firefox/
|
||||
# Packager: alihan-ozturk28@hotmail.com
|
||||
# Depends on: pulseaudio gconf yasm sqlite libvpx libevent nss alsa-lib gtk2 gtk3 xorg-app zip unzip gstreamer1 gstreamer1-plugins-base gstreamer1-plugins-good gstreamer1-plugins-libav
|
||||
# Depends on: autoconf2 pulseaudio gconf yasm sqlite libvpx libevent nss alsa-lib gtk2 gtk3 xorg-app zip unzip gstreamer1 gstreamer1-plugins-base gstreamer1-plugins-good gstreamer1-plugins-libav
|
||||
|
||||
name=firefox
|
||||
version=47.0.1
|
||||
release=1
|
||||
|
||||
source=(https://ftp.mozilla.org/pub/mozilla.org/firefox/releases/$version/source/firefox-$version.source.tar.xz)
|
||||
source=(https://ftp.mozilla.org/pub/mozilla.org/firefox/releases/$version/source/firefox-$version.source.tar.xz
|
||||
firefox-install-dir.patch)
|
||||
|
||||
build() {
|
||||
|
||||
cd $SRC
|
||||
ARCH=`uname -m`
|
||||
|
||||
|
@ -20,6 +20,13 @@ wget http://download.cdn.mozilla.net/pub/mozilla.org/firefox/releases/$version/
|
|||
done
|
||||
|
||||
cd $name-$version
|
||||
patch -Np1 -i ../firefox-install-dir.patch
|
||||
|
||||
CPPFLAGS+=" -O2"
|
||||
LDFLAGS+=" -Wl,-z,now"
|
||||
CFLAGS+=" -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2"
|
||||
CXXFLAGS+=" -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2"
|
||||
|
||||
cat > mozconfig << "EOF"
|
||||
ac_add_options --enable-default-toolkit=cairo-gtk3
|
||||
ac_add_options --enable-system-sqlite
|
||||
|
@ -54,7 +61,7 @@ SHELL=/bin/sh make -f client.mk
|
|||
|
||||
mkdir -pv $PKG/usr/{bin,lib{,/mozilla/plugins}}
|
||||
|
||||
SHELL=/bin/sh make -f client.mk DESTDIR=$PKG install INSTALL_SDK=
|
||||
SHELL=/bin/sh make -f client.mk DESTDIR=$PKG INSTALL_SDK= install
|
||||
|
||||
chown -R 0:0 $PKG/usr/lib/firefox-$version
|
||||
ln -sf ../lib/firefox-$version/firefox $PKG/usr/bin
|
||||
|
|
Loading…
Reference in New Issue