logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git

gen.lua (819B)


  1. cflags{
  2. [[-D 'VERSION="0.7"']],
  3. '-I $dir',
  4. '-isystem $builddir/pkg/fontconfig/include',
  5. '-isystem $builddir/pkg/libxkbcommon/include',
  6. '-isystem $builddir/pkg/linux-headers/include',
  7. '-isystem $builddir/pkg/pixman/include',
  8. '-isystem $builddir/pkg/wayland/include',
  9. '-isystem $builddir/pkg/wayland-protocols/include',
  10. '-isystem $builddir/pkg/wld/include',
  11. }
  12. pkg.deps = {
  13. 'pkg/fontconfig/headers',
  14. 'pkg/libxkbcommon/headers',
  15. 'pkg/linux-headers/headers',
  16. 'pkg/pixman/headers',
  17. 'pkg/wayland/headers',
  18. 'pkg/wayland-protocols/headers',
  19. 'pkg/wld/headers',
  20. }
  21. exe('st', [[st.c $builddir/pkg/(
  22. libxkbcommon/libxkbcommon.a
  23. wayland/libwayland-client.a.d
  24. wayland/libwayland-cursor.a.d
  25. wayland-protocols/xdg-shell-protocol.c.o
  26. wld/libwld.a.d
  27. )]])
  28. file('bin/st', '755', '$outdir/st')
  29. man{'st.1'}
  30. fetch 'git'