milis/talimatname/genel/v/vokoscreen/talimat

33 lines
773 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
name=vokoscreen
_version=2.5.4-beta
version=${_version/-/.}
release=1
source=(https://github.com/vkohaupt/${name}/archive/${_version}.tar.gz
desktop_file.patch
fix_lrelease.patch)
2017-10-27 23:59:41 +02:00
derle() {
2017-03-29 17:02:23 +02:00
cd "${SRC}"/${name}-${_version}
# 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 ../${name}-${_version} \
QMAKE_CFLAGS="${CFLAGS}" \
QMAKE_CXXFLAGS="${CXXFLAGS}" \
CONFIG+=release \
CONFIG+=c++14
make
make INSTALL_ROOT="${PKG}" install
}