|
|
@ -1,26 +1,34 @@ |
|
|
|
# TODO: Slap the devs for relying on gcc 4.9 (It segfaults often when building with newer versions, probably due to new optimizations) |
|
|
|
|
|
|
|
name=Pale-Moon |
|
|
|
version=27.1.0 |
|
|
|
version=27.1.1 |
|
|
|
update_url="https://github.com/MoonchildProductions/$name/releases" |
|
|
|
update_names="/archive/${version}_Release.tar.gz" |
|
|
|
|
|
|
|
define_option 'pulseaudio: Build with support for PulseAudio' |
|
|
|
|
|
|
|
dlextract "https://github.com/MoonchildProductions/$name/archive/${version}_Release/$name-${version}_Release.tar.gz" \ |
|
|
|
'a1dc6f6ad97acf544504d60cfae25d4e' |
|
|
|
'a4148016d84345b081a3c5350acaa9f6' |
|
|
|
dlextract 'http://ftp.gnu.org/gnu/autoconf/autoconf-2.13.tar.gz' \ |
|
|
|
'9de56d4a161a723228220b0f425dc711' |
|
|
|
dlextract 'http://ftp.gnu.org/gnu/gcc/gcc-4.9.4/gcc-4.9.4.tar.bz2' \ |
|
|
|
'87c24a4090c1577ba817ec6882602491' |
|
|
|
extrafile 'palemoon.desktop' |
|
|
|
header_end |
|
|
|
|
|
|
|
unset CFLAGS |
|
|
|
unset CXXFLAGS |
|
|
|
|
|
|
|
( cd 'autoconf-2.13' |
|
|
|
./configure --prefix="$PWD/install" --program-suffix=-2.13 |
|
|
|
make |
|
|
|
make install |
|
|
|
) |
|
|
|
|
|
|
|
( cd 'gcc-4.9.4' |
|
|
|
mkdir build; cd build |
|
|
|
../configure --prefix="$PWD/../install" --disable-bootstrap --enable-languages=c++ |
|
|
|
make |
|
|
|
make install |
|
|
|
) |
|
|
|
|
|
|
|
cd "$name-${version}_Release" |
|
|
|
|
|
|
|
cat > .mozconfig << EOF |
|
|
@ -79,7 +87,8 @@ ac_add_options --with-system-icu |
|
|
|
$(option pulseaudio && echo ac_add_options --enable-pulseaudio || echo ac_add_options --disable-pulseaudio) |
|
|
|
EOF |
|
|
|
|
|
|
|
PATH="../autoconf-2.13/install/bin:$PATH" make -f client.mk build |
|
|
|
PATH="$PWD/../autoconf-2.13/install/bin:$PWD/../gcc-4.9.4/install/bin:$PATH" \ |
|
|
|
make -f client.mk build |
|
|
|
|
|
|
|
cd pmbuild |
|
|
|
make DESTDIR="$dir_install" install |
|
|
|