diff --git a/satellites/dolphin-emu.sat b/satellites/dolphin-emu.sat new file mode 100644 index 0000000..f5ebc1a --- /dev/null +++ b/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: diff --git a/satellites/jstest-gtk-git.sat b/satellites/jstest-gtk-git.sat new file mode 100644 index 0000000..0900f5e --- /dev/null +++ b/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: