minitube update to 2.1.5

This commit is contained in:
Francesco 2014-01-09 18:32:52 +00:00
parent 2acb8a71e1
commit 3bc67be73f
2 changed files with 23 additions and 3 deletions

View File

@ -4,7 +4,7 @@
# maintainer franzmari[at]chakra-project[dog]it>
pkgname=minitube
pkgver=2.1.3
pkgver=2.1.5
pkgrel=1
pkgdesc="A native YouTube client in QT. Watch YouTube videos without Flash Player"
arch=('x86_64')
@ -17,8 +17,16 @@ optdepends=('phonon-xine: for xine backend'
categories=('multimedia')
install=minitube.install
screenshot="http://flavio.tordini.org/files/minitube/minitube-01.jpg"
source=("http://flavio.tordini.org/files/${pkgname}/${pkgname}-${pkgver}.tar.gz")
md5sums=('b43df4358de2e170d7e22370b39bd1ec')
source=("http://flavio.tordini.org/files/${pkgname}/${pkgname}-${pkgver}.tar.gz"
"$pkgname-missing-locale.patch")
md5sums=('e52933f3ae5200f83aa39ac71ac13bfb'
'70cdaa1d3df700cf90243be5a0d55443')
prepare() {
cd $pkgname
# remove missing translations
patch -p1 -i ../${source[1]}
}
build() {
cd "${srcdir}/${pkgname}"

View File

@ -0,0 +1,12 @@
diff -aur minitube/locale/locale.pri minitube.patched/locale/locale.pri
--- minitube/locale/locale.pri 2013-12-19 00:37:27.000000000 +0100
+++ minitube.patched/locale/locale.pri 2013-12-25 00:03:56.783943888 +0100
@@ -4,7 +4,7 @@
DEPENDPATH += $$PWD
# ls -1 *.ts | tr '\n' ' '
-TRANSLATIONS += ar.ts ast.ts be.ts bg_BG.ts ca.ts ca_ES.ts cs_CZ.ts da.ts de_DE.ts el.ts en.ts es.ts es_AR.ts es_ES.ts es_MX.ts fi.ts fi_FI.ts fr.ts gl.ts he_IL.ts hr.ts hu.ts ia.ts it.ts ja_JP.ts ky.ts ms_MY.ts nb.ts nl.ts pl.ts pl_PL.ts pt.ts pt_BR.ts ro.ts ru.ts sk.ts sl.ts sq.ts sv_SE.ts tr.ts uk.ts uk_UA.ts vi.ts zh_CN.ts zh_TW.ts
+TRANSLATIONS += ar.ts ast.ts bg_BG.ts ca.ts cs_CZ.ts da.ts de_DE.ts el.ts en.ts es.ts es_AR.ts es_ES.ts fi.ts fi_FI.ts fr.ts gl.ts he_IL.ts hu.ts ia.ts it.ts ja_JP.ts ky.ts ms_MY.ts nb.ts nl.ts pl.ts pl_PL.ts pt_BR.ts ro.ts ru.ts sk.ts sl.ts sq.ts sv_SE.ts tr.ts uk.ts uk_UA.ts zh_CN.ts zh_TW.ts
isEmpty(QMAKE_LRELEASE) {
win32:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]\lrelease.exe
else:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease