Browse Source

Added and updated a bunch of stuff

master
mid-kid 8 years ago
parent
commit
137595c8fe
  1. 2
      satellites/armips-git.sat
  2. 14
      satellites/cabextract.sat
  3. 3
      satellites/extrafiles/jstest-gtk/jstest-gtk.desktop
  4. 3
      satellites/extrafiles/nxengine/nxengine.desktop
  5. 2
      satellites/extrafiles/nxengine/nxengine.sh
  6. 7
      satellites/extrafiles/syncthing/syncthing-browser.desktop
  7. 3
      satellites/extrafiles/teeworlds/teeworlds.desktop
  8. 7
      satellites/extrafiles/template.desktop
  9. 15
      satellites/fluidsynth.sat
  10. 15
      satellites/functions/download/git.sh
  11. 3
      satellites/functions/vcs/git.sh
  12. 52
      satellites/go.sat
  13. 7
      satellites/mpv.sat
  14. 2
      satellites/nxengine.sat
  15. 2
      satellites/palemoon-ublock.sat
  16. 14
      satellites/python3-docutils.sat
  17. 6
      satellites/python3-setuptools.sat
  18. 4
      satellites/qbittorrent.sat
  19. 4
      satellites/qemu.sat
  20. 13
      satellites/qt5-styleplugins-git.sat
  21. 31
      satellites/syncthing.sat
  22. 8
      satellites/waf.sat
  23. 3
      satellites/webfs.sat
  24. 24
      satellites/wine.sat
  25. 4
      satellites/youtube-dl.sat

2
satellites/armips-git.sat

@ -8,6 +8,6 @@ header_end
cd "$name"
compile_cmake -I
install -Dm755 -t "$dir_install/$dir_prefix/$dir_bindir" "$name"
install -Dm755 -t "$dir_install/$dir_prefix/$dir_bindir" "build/$name"
# vim:set tabstop=4 shiftwidth=4 syntax=sh et:

14
satellites/cabextract.sat

@ -0,0 +1,14 @@
import 'compile/configure'
name=cabextract
version=1.6
update_url='http://cabextract.org.uk/'
dlextract "http://cabextract.org.uk/$name-$version.tar.gz" \
'ee3ded0b1f84e5c6e3309bb36d701916'
header_end
cd "$name-$version"
compile_configure
# vim:set tabstop=4 shiftwidth=4 syntax=sh et:

3
satellites/extrafiles/jstest-gtk/jstest-gtk.desktop

@ -1,8 +1,7 @@
[Desktop Entry]
Type=Application
Name=Jstest
Comment=Joystick Configuration
Exec=jstest-gtk
Icon=jstest-gtk
Terminal=false
Type=Application
Categories=GTK;System;

3
satellites/extrafiles/nxengine/nxengine.desktop

@ -1,8 +1,7 @@
[Desktop Entry]
Type=Application
Name=NXEngine (Cave Story)
Comment=A clone/engine-rewrite of the classic jump-and-run platformer Cave Story/Doukutsu Monogatari
Exec=nxengine
Icon=nxengine
Terminal=false
Type=Application
Categories=Game;AdventureGame;

2
satellites/extrafiles/nxengine/nxengine.sh

@ -18,7 +18,7 @@ files="
mkdir -p "$dir_runtime"
for file in $files; do
[ ! -L "$dir_runtime/$(basename "$file")" ] && ln -sf -t "$dir_runtime" "/$dir_prefix/$file"
[ ! -L "$dir_runtime/$(basename "$file")" ] && ln -sf -t "$dir_runtime" "$dir_prefix/$file"
done
cd "$dir_runtime" && ./nx

7
satellites/extrafiles/syncthing/syncthing-browser.desktop

@ -0,0 +1,7 @@
[Desktop Entry]
Name=Syncthing (Browser)
Comment=A free, open-source peer-to-peer file synchronization application.
Exec=syncthing -browser-only
Icon=syncthing
Type=Application
Categories=Network;FileTransfer;P2P;

3
satellites/extrafiles/teeworlds/teeworlds.desktop

@ -1,8 +1,7 @@
[Desktop Entry]
Type=Application
Name=Teeworlds
Comment=A retro multiplayer shooter
Exec=teeworlds
Icon=teeworlds
Terminal=false
Type=Application
Categories=Game;ArcadeGame;

7
satellites/extrafiles/template.desktop

@ -0,0 +1,7 @@
[Desktop Entry]
Name=
Comment=
Exec=
Icon=
Type=Application
Categories= # https://specifications.freedesktop.org/menu-spec/menu-spec-1.0.html#category-registry

15
satellites/fluidsynth.sat

@ -0,0 +1,15 @@
import 'compile/configure'
name=fluidsynth
version=1.1.6
update_url="https://sourceforge.net/projects/$name/files/"
update_names="/files/$name-$version/"
dlextract "https://sourceforge.net/projects/$name/files/$name-$version/$name-$version.tar.bz2" \
'f6e696690e989098f70641364fdffad7'
header_end
cd "$name-$version"
compile_configure -- --disable-static
# vim:set tabstop=4 shiftwidth=4 syntax=sh et:

15
satellites/functions/download/git.sh

@ -1,15 +0,0 @@
download_git() {
local reponame="$(basename "$1")"
local dir="$dir_source/$name/$reponame-$2"
if [ ! -d "$dir" ]; then
rm -rf "$dir"
git clone --recursive --depth=1 -b "v$2" "$1" "$dir"
else
cd "$dir"
git checkout "tags/v$2"
cd "$OLDPWD"
fi
getfile "$reponame-$2"
}

3
satellites/functions/vcs/git.sh

@ -11,7 +11,8 @@ vcs_git() {
else
cd "$dir"
git pull > /dev/null
git fetch > /dev/null
git reset --hard FETCH_HEAD > /dev/null
local rev="$(git rev-parse @)"
if [ "$rev" != "$(cat "${dir}_rev_$_satname" 2> /dev/null || true)" ]; then
echo "$rev" > "${dir}_rev_$_satname"

52
satellites/go.sat

@ -0,0 +1,52 @@
name=go
version=1.7.1
bootstrap_version=1.4.3
update_url='https://golang.org/dl/'
define_option '!bootstrap: Build for the first time'
dlextract "https://storage.googleapis.com/golang/$name$version.src.tar.gz" \
'433e2158e5c28fe24b11622df393cc46'
if option bootstrap; then
download "https://storage.googleapis.com/golang/$name$bootstrap_version.src.tar.gz" \
'dfb604511115dd402a77a553a5923a04'
fi
header_end
if option bootstrap; then
mkdir bootstrap; cd bootstrap
extract "$name$bootstrap_version.src.tar.gz"
cd "$name/src"
CGO_ENABLED=0 ./make.bash
cd ..
GOROOT_BOOTSTRAP="$PWD"
cd ../..
else
GOROOT_BOOTSTRAP="$dir_sysroot/$dir_prefix/$dir_libdir/$name"
fi
cd "$name/src"
GOROOT_BOOTSTRAP="$GOROOT_BOOTSTRAP" \
GOROOT_FINAL="$dir_sysroot/$dir_prefix/$dir_libdir/$name" \
./make.bash
cd ..
rm -rf pkg/bootstrap pkg/obj
mkdir -p "$dir_install/$dir_prefix/$dir_libdir/$name"
cp -at "$dir_install/$dir_prefix/$dir_libdir/$name" bin pkg src
# Create symlinks
mkdir -p "$dir_install/$dir_prefix/$dir_bindir"
for x in bin/*; do
ln -s "$dir_sysroot/$dir_prefix/$dir_libdir/$name/$x" "$dir_install/$dir_prefix/$dir_bindir/$(basename "$x")"
done
# Set global GOPATH for external libraries
echo "export GOPATH=\"$dir_sysroot/$dir_prefix/$dir_libdir/$name/site\"" > go.sh
install -Dm755 -t "$dir_install/$dir_sysconfdir/profile.d" go.sh
# vim:set tabstop=4 shiftwidth=4 syntax=sh et:

7
satellites/mpv.sat

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

2
satellites/nxengine.sat

@ -38,7 +38,7 @@ cp -a CaveStory/data "$dir_install/$dir_prefix/$dir_datadir/$name/data"
# Install the run script
# Where the files will be copied to on runtime.
dir_runtime="$(option =dir_runtime)"
sed -i -e "s/%PREFIX%/$(safe_sed "$dir_prefix")/" \
sed -i -e "s/%PREFIX%/$(safe_sed "$dir_sysroot/$dir_prefix")/" \
-e "s/%RUNTIME%/$(safe_sed "$dir_runtime")/" \
-e "s/%LIBDIR%/$(safe_sed "$dir_libdir")/" \
-e "s/%DATADIR%/$(safe_sed "$dir_datadir")/" \

2
satellites/palemoon-ublock.sat

@ -1,5 +1,5 @@
name=uBlock
version=1.9.4
version=1.9.6 # TODO: Untested
update_url="https://github.com/gorhill/$name/releases"
update_names="/download/$version/"

14
satellites/python3-docutils.sat

@ -0,0 +1,14 @@
import 'compile/python'
name=docutils
version=0.12
update_url="https://pypi.python.org/pypi/$name"
dlextract "https://pypi.python.org/packages/37/38/ceda70135b9144d84884ae2fc5886c6baac4edea39550f28bcd144c1234d/$name-$version.tar.gz" \
'4622263b62c5c771c03502afa3157768'
header_end
cd "$name-$version"
compile_python 3
# vim:set tabstop=4 shiftwidth=4 syntax=sh et:

6
satellites/python3-setuptools.sat

@ -1,12 +1,12 @@
import 'compile/python'
name=setuptools
version=26.1.1
version=27.2.0
update_url="https://pypi.python.org/pypi/$name"
update_names="$name-$version.tar.gz#md5="
dlextract "https://pypi.python.org/packages/32/3c/e853a68b703f347f5ed86585c2dd2828a83252e1216c1201fa6f81270578/$name-$version.tar.gz" \
'0744ee90ad266fb117d59f94334185d0'
dlextract "https://pypi.python.org/packages/87/ba/54197971d107bc06f5f3fbdc0d728a7ae0b10cafca46acfddba65a0899d8/$name-$version.tar.gz" \
'b39715612fdc0372dbfd7b3fcf5d4fe5'
header_end
cd "$name-$version"

4
satellites/qbittorrent.sat

@ -1,13 +1,13 @@
import 'compile/configure'
name=qbittorrent
version=3.3.6
version=3.3.7
update_url='http://www.qbittorrent.org/download.php'
define_option '!qt4: Build for Qt4 instead of Qt5'
dlextract "http://sourceforge.net/projects/$name/files/$name/$name-$version/$name-$version.tar.xz" \
'246195ff8a5e44be8ecfcc8a7c01b5a9'
'646cc40b551700ec4988c36da8638183'
header_end
cd "$name-$version"

4
satellites/qemu.sat

@ -1,13 +1,13 @@
import 'compile/configure'
name=qemu
version=2.6.1
version=2.7.0
update_url='http://wiki.qemu.org/Download'
define_option 'targets=all: Define what targets to build (space-separated list)'
dlextract "http://wiki.qemu-project.org/download/$name-$version.tar.bz2" \
'6a183b192018192943b6781e1bb9b72f'
'08d4d06d1cb598efecd796137f4844ab'
header_end
cd "$name-$version"

13
satellites/qt5-styleplugins-git.sat

@ -0,0 +1,13 @@
import 'vcs/git'
import 'compile/qt'
name=qt5
submodule=styleplugins
vcs_git "https://code.qt.io/qt/qt$submodule"
header_end
cd "qt$submodule"
compile_qt 5
# vim:set tabstop=4 shiftwidth=4 syntax=sh et:

31
satellites/syncthing.sat

@ -0,0 +1,31 @@
name=syncthing
version=0.14.6
update_url='https://syncthing.net/'
dlextract "https://github.com/$name/$name/releases/download/v$version/$name-source-v$version.tar.gz" \
'ddff17f926e333e615d08c8d31050730'
extrafile 'syncthing-browser.desktop'
header_end
mkdir -p "src/github.com/$name/"
mv "$name" "src/github.com/$name"
cd "src/github.com/$name/$name"
GOPATH="$PWD/../../../../:$GOPATH" go run build.go -no-upgrade
rm -f bin/testutil
# Install program
install -Dm755 -t "$dir_install/$dir_prefix/$dir_bindir" bin/*
# Install manpages
for num in 1 5 7; do
for file in man/*.$num; do
install -Dm644 -t "$dir_install/$dir_prefix/$dir_mandir/man$num" "$file"
done
done
# Install desktop
install -Dm644 -t "$dir_install/$dir_prefix/$dir_datadir/applications" ../../../../syncthing-browser.desktop
# vim:set tabstop=4 shiftwidth=4 syntax=sh et:

8
satellites/waf.sat

@ -1,11 +1,11 @@
import 'compile/waf'
name=waf
version=1.9.3
version=1.9.4
update_url='https://waf.io/'
dlextract "https://waf.io/$name-$version.tar.bz2" \
'038f5661d423a45ccce9169b186b3518'
'a6b1a3e10411732e7af7f91eab6e0985'
header_end
cd "$name-$version"
@ -19,14 +19,16 @@ sed -i -e '/dirname =/s/%s-%s-%s/%s-%s/' \
-e '/dirname =/s/, REVISION//' "$name"
# Change the logic of checking dirs to find waflib to only check one dir, the dir where we installed it.
sed -i -e "s/INSTALL,'\/usr','\/usr\/local','\/opt'/'$(safe_sed "/$dir_prefix")',/" \
sed -i -e "s/INSTALL,'\/usr','\/usr\/local','\/opt'/'$(safe_sed "$dir_sysroot/$dir_prefix")',/" \
-e "s/'\/lib\/'/'$(safe_sed "/$dir_libdir/")'/" "$name"
# Fix the shebang to point to python3
sed -i -e '1s/python/python3/' "$name"
# Install program
install -Dm755 -t "$dir_install/$dir_prefix/$dir_bindir" "$name"
# Install library
wafdir="$dir_install/$dir_prefix/$dir_libdir/${name}3-$version"
install -d "$wafdir"
unzip -od "$wafdir" zip/waflib.zip

3
satellites/webfs.sat

@ -14,6 +14,7 @@ sed -i -e "s/echo -e/echo/g" mk/Autoconf.mk
sed -i -e "s@/etc/mime.types@/dev/null@g" GNUmakefile
make
install -Dm755 -t "$dir_install/$dir_prefix/$dir_bindir/" "${name}d"
install -Dm755 -t "$dir_install/$dir_prefix/$dir_bindir" "${name}d"
install -Dm644 "${name}d.man" "$dir_install/$dir_prefix/$dir_mandir/man1/${name}d.1"
# vim:set tabstop=4 shiftwidth=4 syntax=sh et:

24
satellites/wine.sat

@ -0,0 +1,24 @@
import 'compile/configure'
name=wine
majver=1.9
version=$majver.19
update_url='https://www.winehq.org/'
update_names="/announce/$version\""
define_option 'wine32=: On x86_64, enable 32bit wine support. Specify the 32bit libdir here.'
dlextract "http://dl.winehq.org/$name/source/$majver/$name-$version.tar.bz2" \
'd9d3794d7394b9a22f7514d63f3a95f1'
header_end
cd "$name-$version"
compile_configure -b ../build -- $([ "$(uname -m)" = 'x86_64' ] && echo --enable-win64)
wine32="$(option =wine32)"
if [ "$wine32" ]; then
PKG_CONFIG_PATH="$dir_sysroot/$dir_prefix/$wine32/pkgconfig" compile_configure -b ../build-wine32 -- --with-wine64=../build --libdir="/$dir_prefix/$wine32"
fi
# vim:set tabstop=4 shiftwidth=4 syntax=sh et:

4
satellites/youtube-dl.sat

@ -1,11 +1,11 @@
import 'compile/python'
name=youtube-dl
version=2016.09.03
version=2016.09.19
update_url="http://rg3.github.io/$name/download.html"
dlextract "https://yt-dl.org/downloads/$version/$name-$version.tar.gz" \
'f6c44e76efe3b2e6ea5962f46ade91d4'
'c760476f7950fb579c430e2db069fc8c'
header_end
cd "$name"

Loading…
Cancel
Save