2018-06-09 00:06:58 +02:00
|
|
|
|
# Tanım: Kolay ekran çekim uygulaması
|
|
|
|
|
# URL: http://linuxecke.volkoh.de/vokoscreen/vokoscreen.html
|
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: xorg-libxrandr v4l-utils qt5 ffmpeg lame lsof pulseaudio xdg-utils
|
|
|
|
|
# Grup: medya
|
|
|
|
|
|
|
|
|
|
isim=vokoscreen
|
2018-10-18 05:15:45 +02:00
|
|
|
|
surum=2.5.7.beta
|
2018-06-09 00:06:58 +02:00
|
|
|
|
devir=1
|
2018-10-18 05:15:45 +02:00
|
|
|
|
_surum=${_surum/./-}
|
2018-06-09 00:06:58 +02:00
|
|
|
|
|
|
|
|
|
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}
|
|
|
|
|
|
|
|
|
|
patch -Np1 < ../fix_lrelease.patch
|
|
|
|
|
patch -Np1 < ../desktop_file.patch
|
|
|
|
|
|
|
|
|
|
sed -i 's/^Exec=/Name[tr]=Vokoscreen \
|
|
|
|
|
GenericName[tr]=Ekran Kaydedici \
|
|
|
|
|
Comment[tr]=Kullanımı kolay bir ekran kaydedici \
|
|
|
|
|
&/' applications/$isim.desktop
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
}
|