vokoscreen.paketlendi

This commit is contained in:
milisarge 2017-03-29 18:02:23 +03:00
parent a44a40822b
commit 6c7cf48394
3 changed files with 59 additions and 0 deletions

View File

@ -0,0 +1,15 @@
--- a/applications/vokoscreen.desktop 2015-05-27 12:13:34.206233690 -0500
+++ b/applications/vokoscreen.desktop 2015-05-27 12:16:02.223851764 -0500
@@ -1,10 +1,10 @@
[Desktop Entry]
-Comment=screencast
+Comment=An easy to use screencast creator
Exec=vokoscreen
Icon=vokoscreen
Name=vokoscreen
StartupNotify=false
Terminal=false
Type=Application
-Categories=AudioVideo;Recorder;
+Categories=AudioVideo;Recorder;Qt;
Keywords=Audio;Video;Recorder;Screencast;

View File

@ -0,0 +1,12 @@
diff -uprNEBZ --suppress-blank-empty a/vokoscreen.pro b/vokoscreen.pro
--- a/vokoscreen.pro 2016-04-19 04:48:55.000000000 -0500
+++ b/vokoscreen.pro 2016-04-21 15:56:08.404677703 -0500
@@ -27,7 +27,7 @@ TRANSLATIONS = $$files(language/vokoscre
!isEmpty(TRANSLATIONS) {
isEmpty(QMAKE_LRELEASE) {
win32: QMAKE_LRELEASE = $$[QT_INSTALL_BINS]\lrelease.exe
- else: QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease-qt5
+ else: QMAKE_LRELEASE = $$[QT_INSTALL_PREFIX]/bin/lrelease-qt5
}
isEmpty(TS_DIR):TS_DIR = language
TSQM.name = lrelease-qt5 ${QMAKE_FILE_IN}

View File

@ -0,0 +1,32 @@
# Description: Kolay ekran çekim uygulaması
# URL: http://linuxecke.volkoh.de/vokoscreen/vokoscreen.html
# Packager: milisarge@gmail.com
# Depends on: xorg-libxrandr v4l-utils qt5 ffmpeg lame lsof pulseaudio xdg-utils
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)
build() {
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
}