talimat 780 B

123456789101112131415161718192021222324252627282930313233
  1. # Description: Kolay ekran çekim uygulaması
  2. # URL: http://linuxecke.volkoh.de/vokoscreen/vokoscreen.html
  3. # Packager: milisarge@gmail.com
  4. # Depends on: xorg-libxrandr v4l-utils qt5 ffmpeg lame lsof pulseaudio xdg-utils
  5. name=vokoscreen
  6. _version=2.5.4-beta
  7. version=${_version/-/.}
  8. release=1
  9. source=(https://github.com/vkohaupt/${name}/archive/${_version}.tar.gz
  10. desktop_file.patch
  11. fix_lrelease.patch)
  12. build() {
  13. cd "${SRC}"/${name}-${_version}
  14. # sürüm yama
  15. patch -Np1 < ../fix_lrelease.patch
  16. # masaustu yama
  17. patch -Np1 < ../desktop_file.patch
  18. mkdir -p "${SRC}"/build
  19. cd "${SRC}"/build
  20. qmake-qt5 ../${name}-${_version} \
  21. QMAKE_CFLAGS="${CFLAGS}" \
  22. QMAKE_CXXFLAGS="${CXXFLAGS}" \
  23. CONFIG+=release \
  24. CONFIG+=c++14
  25. make
  26. make INSTALL_ROOT="${PKG}" install
  27. }