summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlfredo Ramos2016-04-21 16:29:19 -0500
committerAlfredo Ramos2016-04-21 16:29:19 -0500
commitd9d4429333ee194fef587df58ec8d16e2aa1264f (patch)
treec2005f13a8604ceb72e5cb21d63f1265027acbf6
parenta1dda9c960ca8e0c060464d5e30d462c307dacb6 (diff)
downloadaur-d9d4429333ee194fef587df58ec8d16e2aa1264f.tar.gz
Update lrelease patch
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD18
-rw-r--r--fix_lrelease.patch12
-rw-r--r--lrelease_fix.patch30
4 files changed, 30 insertions, 44 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9b2a15bc342..b1444103f33 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Wed Mar 23 02:14:23 UTC 2016
+# Thu Apr 21 21:29:19 UTC 2016
pkgbase = vokoscreen-git
pkgdesc = An easy to use screencast creator. Qt5 UI. Development version.
- pkgver = 2.4.18.beta.1.g9577fa1
+ pkgver = 2.4.21.beta.3.gd2d38f3
pkgrel = 2
url = http://linuxecke.volkoh.de/vokoscreen/vokoscreen.html
install = vokoscreen-git.install
@@ -11,18 +11,20 @@ pkgbase = vokoscreen-git
license = GPL2
makedepends = git
makedepends = qt5-tools
+ depends = qt5-x11extras
depends = ffmpeg
depends = lame
- depends = qt5-x11extras
depends = desktop-file-utils
+ depends = xdg-utils
+ depends = lsof
optdepends = pulseaudio-alsa: for PulseAudio support
- provides = vokoscreen=2.4.18.beta.1.g9577fa1
+ provides = vokoscreen=2.4.21.beta.3.gd2d38f3
conflicts = vokoscreen
source = git+https://github.com/vkohaupt/vokoscreen.git
- source = lrelease_fix.patch
+ source = fix_lrelease.patch
source = desktop_file.patch
sha512sums = SKIP
- sha512sums = c88025e797daa551d9fb74d4edefd04f0f5034dd3a67163518687eb41a0a03b6b50074179bc9b8d620277ac96a53ccd100b788ebffb40e7dd741869e4e9bbab3
+ sha512sums = 9e4b70ccca8fd3b2abb5e21a379334fcb79c41383e6362e6f6c984a7c0f52aacbf419524b062c8905bf46846d1ba8a38056e37bb7dc1b139e6a5b6982be9e296
sha512sums = 3ddc567f831b9f6e2672997a77a099cf8fdd5a6a1d79157738c1670c9106fd6c4e09d74287a770c19bac23dcb73a19ce69cc1ac893d4988f75c7ac35668f7a90
pkgname = vokoscreen-git
diff --git a/PKGBUILD b/PKGBUILD
index 25395f61cc7..63bb6fdb8af 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,14 +4,17 @@
_pkgname=vokoscreen
pkgname=${_pkgname}-git
-pkgver=2.4.18.beta.1.g9577fa1
+pkgver=2.4.21.beta.3.gd2d38f3
pkgrel=2
pkgdesc='An easy to use screencast creator. Qt5 UI. Development version.'
arch=('i686' 'x86_64')
url='http://linuxecke.volkoh.de/vokoscreen/vokoscreen.html'
license=('GPL2')
-depends=('ffmpeg' 'lame' 'qt5-x11extras' 'desktop-file-utils')
+depends=(
+ 'qt5-x11extras' 'ffmpeg' 'lame'
+ 'desktop-file-utils' 'xdg-utils' 'lsof'
+)
optdepends=(
'pulseaudio-alsa: for PulseAudio support'
)
@@ -23,12 +26,12 @@ install=${pkgname}.install
source=(
"git+https://github.com/vkohaupt/${_pkgname}.git"
- 'lrelease_fix.patch'
+ 'fix_lrelease.patch'
'desktop_file.patch'
)
sha512sums=(
'SKIP'
- 'c88025e797daa551d9fb74d4edefd04f0f5034dd3a67163518687eb41a0a03b6b50074179bc9b8d620277ac96a53ccd100b788ebffb40e7dd741869e4e9bbab3'
+ '9e4b70ccca8fd3b2abb5e21a379334fcb79c41383e6362e6f6c984a7c0f52aacbf419524b062c8905bf46846d1ba8a38056e37bb7dc1b139e6a5b6982be9e296'
'3ddc567f831b9f6e2672997a77a099cf8fdd5a6a1d79157738c1670c9106fd6c4e09d74287a770c19bac23dcb73a19ce69cc1ac893d4988f75c7ac35668f7a90'
)
@@ -41,8 +44,8 @@ pkgver() {
prepare() {
cd "${srcdir}"/${_pkgname}
- # lrelease fix
- patch -Np1 < ../lrelease_fix.patch
+ # Fix lrelease path
+ patch -Np1 < ../fix_lrelease.patch
# Desktop entry
patch -Np1 < ../desktop_file.patch
@@ -63,8 +66,7 @@ build() {
cd "${srcdir}"/build
qmake-qt5 ../${_pkgname} \
CONFIG+=release \
- CONFIG+=c++14 \
- -spec linux-g++
+ CONFIG+=c++14
make -j${njobs}
}
diff --git a/fix_lrelease.patch b/fix_lrelease.patch
new file mode 100644
index 00000000000..b64202617a4
--- /dev/null
+++ b/fix_lrelease.patch
@@ -0,0 +1,12 @@
+diff -uprNEBZ --suppress-blank-empty a/vokoscreen.pro b/vokoscreen.pro
+--- a/vokoscreen.pro 2016-04-21 16:17:46.873522000 -0500
++++ b/vokoscreen.pro 2016-04-21 16:20:15.398675740 -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}
diff --git a/lrelease_fix.patch b/lrelease_fix.patch
deleted file mode 100644
index bd9a220d831..00000000000
--- a/lrelease_fix.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-diff -uprNEBZ --suppress-blank-empty a/vokoscreen.pro b/vokoscreen.pro
---- a/vokoscreen.pro 2016-03-22 19:42:41.311844000 -0600
-+++ b/vokoscreen.pro 2016-03-22 20:00:55.593940662 -0600
-@@ -17,7 +17,7 @@ FORMS += vokoscreen.ui
- # Das Script/Macro siehe weiter unten "# language packages" muß weiter bestehen bleiben damit "make clean" die *.qm Dateien löscht.
-
- equals(QT_MAJOR_VERSION, "4") {
-- system(lrelease language/vokoscreen_*.ts)
-+ system(lrelease-qt4 language/vokoscreen_*.ts)
- message("")
- message("[vokoscreen] lrelease --> qt4")
- message("")
-@@ -40,7 +40,7 @@ equals(QT_MAJOR_VERSION, "4") {
- !isEmpty(TRANSLATIONS) {
- isEmpty(QMAKE_LRELEASE) {
- win32: QMAKE_LRELEASE = $$[QT_INSTALL_BINS]\lrelease.exe
-- else: QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease
-+ else: QMAKE_LRELEASE = $$[QT_INSTALL_PREFIX]/bin/lrelease-qt4
- }
- isEmpty(TS_DIR):TS_DIR = language
- TSQM.name = lrelease ${QMAKE_FILE_IN}
-@@ -61,7 +61,7 @@ equals(QT_MAJOR_VERSION, "5") {
- !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}