milis/talimatname/genel/v/vokoscreen/talimat

38 lines
913 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-12-29 15:24:00 +01:00
# Paketçi: milisarge
2017-10-27 20:46:27 +02:00
# Gerekler: xorg-libxrandr v4l-utils qt5 ffmpeg lame lsof pulseaudio xdg-utils
2017-12-29 15:59:48 +01:00
# Grup: medya
2017-03-29 17:02:23 +02:00
2017-10-28 14:10:23 +02:00
isim=vokoscreen
2017-12-29 15:24:00 +01:00
_surum=2.5.7-beta
2017-10-29 18:40:26 +01:00
surum=${_surum/-/.}
2017-10-28 14:10:23 +02:00
devir=1
2017-03-29 17:02:23 +02:00
2017-12-29 15:24:00 +01:00
kaynak=(https://github.com/vkohaupt/${isim}/archive/${_surum}.tar.gz::$isim-$surum.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-29 18:40:26 +01:00
cd "${SRC}"/${isim}-${_surum}
2017-12-29 15:24:00 +01:00
2017-03-29 17:02:23 +02:00
patch -Np1 < ../fix_lrelease.patch
patch -Np1 < ../desktop_file.patch
2017-12-29 15:24:00 +01:00
sed -i 's/^Exec=/Name[tr]=Vokoscreen \
GenericName[tr]=Ekran Kaydedici \
Comment[tr]=Kullanımı kolay bir ekran kaydedici \
2017-12-29 15:43:44 +01:00
&/' applications/$isim.desktop
2017-12-29 15:24:00 +01:00
2017-03-29 17:02:23 +02:00
mkdir -p "${SRC}"/build
cd "${SRC}"/build
2017-10-29 18:40:26 +01:00
qmake-qt5 ../${isim}-${_surum} \
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
}