diff --git a/.SRCINFO b/.SRCINFO index c05022b..f73a492 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Fri Jan 1 21:21:31 UTC 2016 +# Sat Feb 6 23:13:22 UTC 2016 pkgbase = bino pkgdesc = 3D video player with multi-display support. - pkgver = 1.6.1 - pkgrel = 3 + pkgver = 1.6.2 + pkgrel = 1 url = http://bino3d.org/ arch = i686 arch = x86_64 @@ -15,8 +15,10 @@ pkgbase = bino depends = libass depends = qt5-base optdepends = lirc: for infrared remote control - source = http://download.savannah.gnu.org/releases-noredirect/bino/bino-1.6.1.tar.xz - md5sums = 59471d7eb3b6981a1e610f96a12ff47c + source = http://download.savannah.gnu.org/releases-noredirect/bino/bino-1.6.2.tar.xz + source = gui_common.h + md5sums = b6cbb49c82da6a1d7734e5c2b66864c3 + md5sums = c152d0a10fcf712760919a5892f87a6d pkgname = bino diff --git a/PKGBUILD b/PKGBUILD index d216667..dfae56e 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,16 +2,17 @@ # Contributor: archtux pkgname=bino -pkgver=1.6.1 -pkgrel=3 +pkgver=1.6.2 +pkgrel=1 pkgdesc="3D video player with multi-display support." arch=('i686' 'x86_64') url="http://bino3d.org/" license=('GPL3') depends=('ffmpeg' 'freealut' 'freeglut' 'glew' 'libass' 'qt5-base') optdepends=('lirc: for infrared remote control') -source=(http://download.savannah.gnu.org/releases-noredirect/$pkgname/$pkgname-$pkgver.tar.xz) -md5sums=('59471d7eb3b6981a1e610f96a12ff47c') +source=(http://download.savannah.gnu.org/releases-noredirect/$pkgname/$pkgname-$pkgver.tar.xz 'gui_common.h') +md5sums=('b6cbb49c82da6a1d7734e5c2b66864c3' + 'c152d0a10fcf712760919a5892f87a6d') prepare() { cd $srcdir/$pkgname-$pkgver @@ -22,6 +23,7 @@ prepare() { } build() { + cp $srcdir/gui_common.h $srcdir/$pkgname-$pkgver/src cd $srcdir/$pkgname-$pkgver make } diff --git a/gui_common.h b/gui_common.h new file mode 100644 index 0000000..0e6932e --- /dev/null +++ b/gui_common.h @@ -0,0 +1,10 @@ +#ifndef GUICOMMON_H +#define GUICOMMON_H + +#include "base/str.h" + +#include "base/gettext.h" +// Qt requires strings from gettext to be in UTF-8 encoding. +#define _(string) (str::convert(gettext(string), str::localcharset(), "UTF-8").c_str()) + +#endif