Browse Source

Add a bunch of packages

master
mid-kid 8 years ago
parent
commit
9b6caf1517
  1. 19
      satellites/apulse.sat
  2. 2
      satellites/ffmpeg.sat
  3. 15
      satellites/json-glib.sat
  4. 14
      satellites/libwebp.sat
  5. 20
      satellites/luajit.sat
  6. 2
      satellites/mpv.sat
  7. 14
      satellites/purple-skypeweb.sat
  8. 14
      satellites/purple-telegram.sat
  9. 27
      satellites/youtube-dl.sat

19
satellites/apulse.sat

@ -0,0 +1,19 @@
import 'compile/cmake'
name=apulse
version=0.1.7
update_url="https://github.com/i-rinat/$name/releases"
dlextract "https://github.com/i-rinat/$name/archive/v$version.tar.gz" \
'd489c93132fd201037372d3d9caf62ba'
header_end
cd "$name-$version"
compile_cmake -I
install -Dm755 -t "$dir_install/$dir_prefix/$dir_libdir" \
build/libpulse-simple.so.0 build/libpulse.so.0 build/libpulsecommon-5.0.so
ln -s libpulse-simple.so.0 "$dir_install/$dir_prefix/$dir_libdir/libpulse-simple.so"
ln -s libpulse.so.0 "$dir_install/$dir_prefix/$dir_libdir/libpulse.so"
# vim:set tabstop=4 shiftwidth=4 syntax=sh et:

2
satellites/ffmpeg.sat

@ -11,7 +11,7 @@ cd "$name-$version"
# ffmpeg uses it's own configure script with arguably differing options to the
# regular GNU autotools configure scripts.
# Not using compile_configure due to that.
./configure --disable-static --enable-shared \
./configure --disable-static --enable-shared --enable-openssl \
--prefix="/$dir_prefix" \
--bindir="/$dir_prefix/$dir_bindir" \
--libdir="/$dir_prefix/$dir_libdir" \

15
satellites/json-glib.sat

@ -0,0 +1,15 @@
import 'compile/configure'
name=json-glib
majver=1.2
version=$majver.2
update_url="https://download.gnome.org/sources/$name/cache.json"
dlextract "https://download.gnome.org/sources/$name/$majver/$name-$version.tar.xz" \
'c1daefb8d0fb59612af0c072c8aabb58'
header_end
cd "$name-$version"
compile_configure
# vim:set tabstop=4 shiftwidth=4 syntax=sh et:

14
satellites/libwebp.sat

@ -0,0 +1,14 @@
import 'compile/configure'
name=libwebp
version=0.5.1
update_url="https://developers.google.com/speed/webp/download"
dlextract "https://storage.googleapis.com/downloads.webmproject.org/releases/webp/$name-$version.tar.gz" \
'3d7db92ebba5b4f679413d25c6040881'
header_end
cd "$name-$version"
compile_configure -- --disable-static
# vim:set tabstop=4 shiftwidth=4 syntax=sh et:

20
satellites/luajit.sat

@ -0,0 +1,20 @@
name=LuaJIT
version=2.0.4
update_url='http://luajit.org/download.html'
dlextract "http://luajit.org/download/$name-$version.tar.gz" \
'dd9c38307f2223a504cbfb96e477eca0'
header_end
cd "$name-$version"
make install \
BUILDMODE=dynamic \
PREFIX="/$dir_prefix" \
DESTDIR="$dir_install" \
MULTILIB="$dir_libdir" \
INSTALL_BIN="\$(DPREFIX)/$dir_bindir" \
INSTALL_SHARE="\$(DPREFIX)/$dir_datadir" \
INSTALL_MAN="\$(DPREFIX)/$dir_mandir"
# vim:set tabstop=4 shiftwidth=4 syntax=sh et:

2
satellites/mpv.sat

@ -9,6 +9,6 @@ dlextract "https://github.com/mpv-player/$name/archive/v$version.tar.gz" \
header_end
cd "$name-$version"
compile_waf
compile_waf -- --enable-zsh-comp --confdir="/$dir_sysconfdir"
# vim:set tabstop=4 shiftwidth=4 syntax=sh et:

14
satellites/purple-skypeweb.sat

@ -0,0 +1,14 @@
name=skype4pidgin
version=1.2.1
update_url="https://github.com/EionRobb/$name/releases"
update_names="/archive/$version.tar.gz"
dlextract "https://github.com/EionRobb/$name/archive/$version.tar.gz" \
'4ee2fea853f3db33191ec1093023907c'
header_end
cd "$name-$version/skypeweb"
make
make DESTDIR="$dir_install" install
# vim:set tabstop=4 shiftwidth=4 syntax=sh et:

14
satellites/purple-telegram.sat

@ -0,0 +1,14 @@
import 'compile/configure'
name=telegram-purple
version=1.3.0
update_url="https://github.com/majn/$name/releases"
dlextract "https://github.com/majn/$name/releases/download/v$version/${name}_$version.orig.tar.gz" \
'7749f02b9b024094bf6aec38dc3969c0'
header_end
cd "$name"
compile_configure
# vim:set tabstop=4 shiftwidth=4 syntax=sh et:

27
satellites/youtube-dl.sat

@ -0,0 +1,27 @@
import 'compile/python'
name=youtube-dl
version=2016.08.31
update_url="http://rg3.github.io/$name/download.html"
dlextract "https://yt-dl.org/downloads/$version/$name-$version.tar.gz" \
'9637b75e41d4ce875d2fd3c1c362aa30'
header_end
cd "$name"
# Disable the installation of the bash completion
sed -i -e '/bash-completion/d' setup.py
# Fix paths
sed -i -e "s/etc\/fish\/completions/$(safe_sed "$dir_datadir/fish/completions")/" \
-e "s/share\/doc/$(safe_sed "$dir_docdir")/" \
-e "s/share\/man/$(safe_sed "$dir_mandir")/" setup.py
compile_python 3
# Install completions
install -Dm644 "$name.bash-completion" "$dir_install/$dir_prefix/$dir_datadir/bash-completion/completions/$name"
install -Dm644 "$name.zsh" "$dir_install/$dir_prefix/$dir_datadir/zsh/site-functions/_$name"
# vim:set tabstop=4 shiftwidth=4 syntax=sh et:
Loading…
Cancel
Save