|
@ -1,38 +1,36 @@ |
|
|
# The Pale Moon team recommends building with GCC 4.9. While other versions like 5.x are known to work, they're unsupported. |
|
|
# The Pale Moon team recommends building with GCC 4.9. While other versions like 5.x are known to work, they're unsupported. |
|
|
|
|
|
|
|
|
name=Pale-Moon |
|
|
name=Pale-Moon |
|
|
version=27.5.0 |
|
|
version=27.5.1 |
|
|
version_gcc=4.9.4 |
|
|
version_gcc=4.9.4 |
|
|
version_autoconf=2.13 |
|
|
version_autoconf=2.13 |
|
|
update_url="https://github.com/MoonchildProductions/$name/releases" |
|
|
update_url="https://github.com/MoonchildProductions/$name/releases" |
|
|
update_names="/archive/${version}_Release.tar.gz" |
|
|
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" \ |
|
|
dlextract "https://github.com/MoonchildProductions/$name/archive/${version}_Release/$name-${version}_Release.tar.gz" \ |
|
|
'f786d177566a88d650a003afdf41e281' |
|
|
'5c18e5f60fcc94580571f0db5c00a8a5' |
|
|
extrafile 'palemoon.desktop' |
|
|
extrafile 'palemoon.desktop' |
|
|
|
|
|
|
|
|
( name=gcc version="$version_gcc" |
|
|
#( name=gcc version="$version_gcc" |
|
|
dlextract "https://ftp.gnu.org/gnu/$name/$name-$version/$name-$version.tar.bz2" \ |
|
|
# dlextract "https://ftp.gnu.org/gnu/$name/$name-$version/$name-$version.tar.bz2" \ |
|
|
'87c24a4090c1577ba817ec6882602491' |
|
|
# '87c24a4090c1577ba817ec6882602491' |
|
|
) |
|
|
#) |
|
|
( name=autoconf version="$version_autoconf" |
|
|
( name=autoconf version="$version_autoconf" |
|
|
dlextract "https://ftp.gnu.org/gnu/$name/$name-$version.tar.gz" \ |
|
|
dlextract "https://ftp.gnu.org/gnu/$name/$name-$version.tar.gz" \ |
|
|
'9de56d4a161a723228220b0f425dc711' |
|
|
'9de56d4a161a723228220b0f425dc711' |
|
|
) |
|
|
) |
|
|
_ |
|
|
_ |
|
|
|
|
|
|
|
|
( cd "gcc-$version_gcc" |
|
|
#( cd "gcc-$version_gcc" |
|
|
sed -i -e 's/\.\/fixinc\.sh/-c true/' gcc/Makefile.in |
|
|
# sed -i -e 's/\.\/fixinc\.sh/-c true/' gcc/Makefile.in |
|
|
mkdir build; cd build |
|
|
# mkdir build; cd build |
|
|
../configure \ |
|
|
# ../configure \ |
|
|
--prefix="$PWD/../install" \ |
|
|
# --prefix="$PWD/../install" \ |
|
|
--disable-bootstrap \ |
|
|
# --disable-bootstrap \ |
|
|
--enable-languages=c++ |
|
|
# --enable-languages=c++ |
|
|
make |
|
|
# make |
|
|
make install |
|
|
# make install |
|
|
) |
|
|
#) |
|
|
|
|
|
|
|
|
( cd "autoconf-$version_autoconf" |
|
|
( cd "autoconf-$version_autoconf" |
|
|
./configure --prefix="$PWD/install" --program-suffix=-$version_autoconf |
|
|
./configure --prefix="$PWD/install" --program-suffix=-$version_autoconf |
|
@ -88,7 +86,7 @@ ac_add_options --enable-system-pixman |
|
|
ac_add_options --with-system-icu |
|
|
ac_add_options --with-system-icu |
|
|
|
|
|
|
|
|
# Make pulseaudio support optional |
|
|
# Make pulseaudio support optional |
|
|
$(option pulseaudio && echo ac_add_options --enable-pulseaudio || echo ac_add_options --disable-pulseaudio) |
|
|
$(pkg-config --exists libpulse || echo ac_add_options --disable-pulseaudio) |
|
|
EOF |
|
|
EOF |
|
|
|
|
|
|
|
|
# This program is about as picky about compiler flags as it is about the compiler version. |
|
|
# This program is about as picky about compiler flags as it is about the compiler version. |
|
|