vokoscreen.gunc

This commit is contained in:
milisbir 2017-12-29 16:24:00 +02:00
parent 129b91adea
commit bddf6aed20
1 changed files with 10 additions and 6 deletions

View File

@ -1,24 +1,29 @@
# Tanım: Kolay ekran çekim uygulaması
# URL: http://linuxecke.volkoh.de/vokoscreen/vokoscreen.html
# Paketçi: milisarge@gmail.com
# Paketçi: milisarge
# Gerekler: xorg-libxrandr v4l-utils qt5 ffmpeg lame lsof pulseaudio xdg-utils
isim=vokoscreen
_surum=2.5.4-beta
_surum=2.5.7-beta
surum=${_surum/-/.}
devir=1
kaynak=(https://github.com/vkohaupt/${isim}/archive/${_surum}.tar.gz
kaynak=(https://github.com/vkohaupt/${isim}/archive/${_surum}.tar.gz::$isim-$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
sed -i 's/^Exec=/Name[tr]=Vokoscreen \
GenericName[tr]=Ekran Kaydedici \
Comment[tr]=Kullanımı kolay bir ekran kaydedici \
&/' $SRC/$isim-$surum/applications/$isim.desktop.in
mkdir -p "${SRC}"/build
cd "${SRC}"/build
qmake-qt5 ../${isim}-${_surum} \
@ -28,5 +33,4 @@ derle() {
CONFIG+=c++14
make
make INSTALL_ROOT="${PKG}" install
}