develop.sh 906 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #!/bin/sh
  2. # Install dependencies in as dependency of the virtual "megapixels-development" package
  3. # to allow quick uninstalling of all things added by this development env
  4. apk add -t megapixels-development git meson gcc musl-dev libconfig-dev linux-headers tiff-dev feedbackd-dev glib-dev gtk4.0-dev libxrandr-dev zbar-dev pulseaudio-dev
  5. # Get sources
  6. git clone https://gitlab.com/megapixels-org/libmegapixels.git
  7. git clone https://gitlab.com/megapixels-org/libdng.git
  8. git clone https://gitlab.com/megapixels-org/megapixels.git
  9. # Build libmegapixels
  10. cd libmegapixels
  11. meson setup build
  12. cd build
  13. meson compile
  14. meson install
  15. cd ..
  16. cd ..
  17. # Build libdng
  18. cd libdng
  19. meson setup build
  20. cd build
  21. meson compile
  22. meson install
  23. cd ..
  24. cd ..
  25. # Build Megapixels
  26. cd megapixels
  27. meson setup build
  28. cd build
  29. meson compile
  30. meson install
  31. cd ..
  32. cd ..
  33. # Install gschema
  34. glib-compile-schemas /usr/local/share/glib-2.0/schemas/