milis/talimatname/genel/v/vokoscreen/talimat

33 lines
767 B
Plaintext
Raw Normal View History

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