Browse Source

Update palemoon to 27.5.1

Removed option pulseaudio in all satellites, replaced with pkg-config
master
mid-kid 7 years ago
parent
commit
7a1b188361
  1. 14
      satellites/ffmpeg.sat
  2. 4
      satellites/i3status.sat
  3. 36
      satellites/palemoon.sat
  4. 6
      satellites/virtualbox.sat

14
satellites/ffmpeg.sat

@ -7,11 +7,6 @@ update_url='https://ffmpeg.org/download.html'
# NOTE: Not everything has been tested. # NOTE: Not everything has been tested.
optional_libraries='avisynth frei0r libcdio librubberband libvidstab libx264 libx265 libxavs libxvid gmp libopencore_amrnb libopencore_amrwb libvo_amrwbenc libsmbclient chromaprint crystalhd gcrypt gnutls jni ladspa libass libbluray libbs2b libcaca libcelt libdc1394 libflite libfontconfig libfreetype libfribidi libgme libgsm libiec61883 libilbc libkvazaar libmodplug libmp3lame libnut libopencv libopenh264 libopenjpeg libopenmpt libopus libpulse librtmp libschroedinger libshine libsmbclient libsnappy libsoxr libspeex libssh libtesseract libtheora libtwolame libv4l2 libvorbis libvpx libwavpack libwebp libzimg libzmq libzvbi mediacodec netcdf openal opencl opengl videotoolbox' optional_libraries='avisynth frei0r libcdio librubberband libvidstab libx264 libx265 libxavs libxvid gmp libopencore_amrnb libopencore_amrwb libvo_amrwbenc libsmbclient chromaprint crystalhd gcrypt gnutls jni ladspa libass libbluray libbs2b libcaca libcelt libdc1394 libflite libfontconfig libfreetype libfribidi libgme libgsm libiec61883 libilbc libkvazaar libmodplug libmp3lame libnut libopencv libopenh264 libopenjpeg libopenmpt libopus libpulse librtmp libschroedinger libshine libsmbclient libsnappy libsoxr libspeex libssh libtesseract libtheora libtwolame libv4l2 libvorbis libvpx libwavpack libwebp libzimg libzmq libzvbi mediacodec netcdf openal opencl opengl videotoolbox'
for opt in $optional_libraries; do for opt in $optional_libraries; do
# Rename some options
case "$opt" in
libpulse) opt=pulseaudio ;;
esac
define_option "!$opt: Enable support for $opt" define_option "!$opt: Enable support for $opt"
done done
@ -23,14 +18,7 @@ cd "$name-$version"
optional="" optional=""
for opt in $optional_libraries; do for opt in $optional_libraries; do
flag="$opt" option $opt && optional="$optional --enable-$opt"
# Rename some options
case "$opt" in
libpulse) opt=pulseaudio ;;
esac
option $opt && optional="$optional --enable-$flag"
done done
# ffmpeg uses it's own configure script with arguably differing options to the # ffmpeg uses it's own configure script with arguably differing options to the

4
satellites/i3status.sat

@ -2,8 +2,6 @@ name=i3status
version=2.11 version=2.11
update_url="https://i3wm.org/$name/" update_url="https://i3wm.org/$name/"
define_option 'pulseaudio: Build with support for PulseAudio'
dlextract "https://i3wm.org/$name/$name-$version.tar.bz2" \ dlextract "https://i3wm.org/$name/$name-$version.tar.bz2" \
'a5c0a364d917ffc57c42af3f6936e700' 'a5c0a364d917ffc57c42af3f6936e700'
extrafile "$name-$version-disable-pulseaudio.patch" extrafile "$name-$version-disable-pulseaudio.patch"
@ -11,7 +9,7 @@ _
cd "$name-$version" cd "$name-$version"
option !pulseaudio patch -p0 -i "../$name-$version-disable-pulseaudio.patch" pkg-config --exists libpulse || patch -p0 -i "../$name-$version-disable-pulseaudio.patch"
# Fix paths # Fix paths
sed -i -e "/install -m/s/bin/$(safe_sed "$dir_bin")/" \ sed -i -e "/install -m/s/bin/$(safe_sed "$dir_bin")/" \

36
satellites/palemoon.sat

@ -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.

6
satellites/virtualbox.sat

@ -7,9 +7,7 @@ name=VirtualBox
deb_name=virtualbox deb_name=virtualbox
version=5.1.24 version=5.1.24
define_option 'pulseaudio: Add pulseaudio support'
define_option 'pam: Use PAM for authentication' define_option 'pam: Use PAM for authentication'
define_option 'docs: Build documentation (requires texlive)'
misc_debian_download -r contrib -n "$deb_name" -O dfsg-2 \ misc_debian_download -r contrib -n "$deb_name" -O dfsg-2 \
'4784ea878d4e1b8f5bc9ce47c42c2831' '4784ea878d4e1b8f5bc9ce47c42c2831'
@ -89,8 +87,8 @@ EOF
--disable-kmods \ --disable-kmods \
--with-makeself=/bin/true \ --with-makeself=/bin/true \
--disable-java \ --disable-java \
$(option pulseaudio || echo --disable-pulse) \ --disable-docs \
$(option docs || echo --disable-docs) $(pkg-config --exists libpulse || echo --disable-pulse)
source ./env.sh source ./env.sh
kmk LOCALCFG=./LocalConfig.kmk kmk LOCALCFG=./LocalConfig.kmk

Loading…
Cancel
Save