milis/talimatname/genel/v/vokoscreen/talimat

33 lines
759 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: Kolay ekran çekim uygulaması
# URL: http://linuxecke.volkoh.de/vokoscreen/vokoscreen.html
# Paketçi: milisarge@gmail.com
# Gerekler: xorg-libxrandr v4l-utils qt5 ffmpeg lame lsof pulseaudio xdg-utils
isim=vokoscreen
_surum=2.5.4-beta
surum=${_surum/-/.}
devir=1
kaynak=(https://github.com/vkohaupt/${isim}/archive/${_surum}.tar.gz
desktop_file.patch
fix_lrelease.patch)
derle() {
cd "${SRC}"/${isim}-${_surum}
# sürüm yama
patch -Np1 < ../fix_lrelease.patch
# masaustu yama
patch -Np1 < ../desktop_file.patch
mkdir -p "${SRC}"/build
cd "${SRC}"/build
qmake-qt5 ../${isim}-${_surum} \
QMAKE_CFLAGS="${CFLAGS}" \
QMAKE_CXXFLAGS="${CXXFLAGS}" \
CONFIG+=release \
CONFIG+=c++14
make
make INSTALL_ROOT="${PKG}" install
}