From 9b6caf1517f9cd281564c6b6a3bf34b63ddfc61a Mon Sep 17 00:00:00 2001 From: mid-kid Date: Wed, 31 Aug 2016 22:43:13 +0200 Subject: [PATCH] Add a bunch of packages --- satellites/apulse.sat | 19 +++++++++++++++++++ satellites/ffmpeg.sat | 2 +- satellites/json-glib.sat | 15 +++++++++++++++ satellites/libwebp.sat | 14 ++++++++++++++ satellites/luajit.sat | 20 ++++++++++++++++++++ satellites/mpv.sat | 2 +- satellites/purple-skypeweb.sat | 14 ++++++++++++++ satellites/purple-telegram.sat | 14 ++++++++++++++ satellites/youtube-dl.sat | 27 +++++++++++++++++++++++++++ 9 files changed, 125 insertions(+), 2 deletions(-) create mode 100644 satellites/apulse.sat create mode 100644 satellites/json-glib.sat create mode 100644 satellites/libwebp.sat create mode 100644 satellites/luajit.sat create mode 100644 satellites/purple-skypeweb.sat create mode 100644 satellites/purple-telegram.sat create mode 100644 satellites/youtube-dl.sat diff --git a/satellites/apulse.sat b/satellites/apulse.sat new file mode 100644 index 0000000..0fe052c --- /dev/null +++ b/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: diff --git a/satellites/ffmpeg.sat b/satellites/ffmpeg.sat index 0d2243e..5e51e91 100644 --- a/satellites/ffmpeg.sat +++ b/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" \ diff --git a/satellites/json-glib.sat b/satellites/json-glib.sat new file mode 100644 index 0000000..d40eec9 --- /dev/null +++ b/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: diff --git a/satellites/libwebp.sat b/satellites/libwebp.sat new file mode 100644 index 0000000..2f02a8b --- /dev/null +++ b/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: diff --git a/satellites/luajit.sat b/satellites/luajit.sat new file mode 100644 index 0000000..5cd457b --- /dev/null +++ b/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: diff --git a/satellites/mpv.sat b/satellites/mpv.sat index dc814b1..593a2e1 100644 --- a/satellites/mpv.sat +++ b/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: diff --git a/satellites/purple-skypeweb.sat b/satellites/purple-skypeweb.sat new file mode 100644 index 0000000..1e39eee --- /dev/null +++ b/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: diff --git a/satellites/purple-telegram.sat b/satellites/purple-telegram.sat new file mode 100644 index 0000000..1ea7614 --- /dev/null +++ b/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: diff --git a/satellites/youtube-dl.sat b/satellites/youtube-dl.sat new file mode 100644 index 0000000..dceef14 --- /dev/null +++ b/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: