Browse Source

Add dolphin-emu

master
mid-kid 8 years ago
parent
commit
17086c7971
  1. 21
      satellites/dolphin-emu.sat
  2. 20
      satellites/jstest-gtk-git.sat

21
satellites/dolphin-emu.sat

@ -0,0 +1,21 @@
# TODO: Remove static versions of libraries.
import 'compile/cmake'
name=dolphin-emu
version=5.0
update_url="https://github.com/$name/dolphin/releases"
update_names="/archive/$version.tar.gz"
dlextract "https://github.com/$name/dolphin/archive/$version.tar.gz" \
'ed94272956adbec690808f6e4d8ff065'
header_end
cd "dolphin-$version"
# Fix paths
sed -i -e "/DESTINATION \${CMAKE_INSTALL_PREFIX}/s/share/$(safe_sed "$dir_datadir")/" CMakeLists.txt
compile_cmake -- -Dbindir="/$dir_prefix/$dir_bindir" -Ddatadir="/$dir_prefix/$dir_datadir/$name" -Dmandir="/$dir_prefix/$dir_mandir"
# vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab:

20
satellites/jstest-gtk-git.sat

@ -0,0 +1,20 @@
import 'vcs/git'
import 'compile/cmake'
name=jstest-gtk
vcs_git "https://github.com/Grumbel/$name/"
header_end
cd "$name"
# Fix paths
sed -i -e "/^std::string find_datadir/!b;n;a\return \"$(safe_sed "/$dir_prefix/$dir_datadir/$name/")\";" src/main.cpp
compile_cmake -b build -I
install -Dm755 -t "$dir_install/$dir_prefix/$dir_bindir" "build/$name"
install -Dm644 -t "$dir_install/$dir_prefix/$dir_mandir/man1" "data/$name.1"
install -Dm644 -t "$dir_install/$dir_prefix/$dir_datadir/$name" data/*.png
# vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab:
Loading…
Cancel
Save