QMPlay2: Add lang files

This commit is contained in:
Gerasim Troeglazov
2018-07-10 22:52:18 +10:00
parent d6223f9583
commit 18e974ad49

View File

@@ -6,7 +6,7 @@ r browser."
HOMEPAGE="http://zaps166.sourceforge.net"
COPYRIGHT="2010-2018 Błażej Szczygieł"
LICENSE="GNU GPL v3"
REVISION="1"
REVISION="2"
SOURCE_URI="https://github.com/zaps166/QMPlay2/releases/download/$portVersion/QMPlay2-src-$portVersion.tar.xz"
CHECKSUM_SHA256="78cdadea21728f7a902ae240aae15481bcad2b9f34598c20ee7711feeff79122"
SOURCE_DIR="QMPlay2-src-$portVersion"
@@ -70,6 +70,9 @@ BUILD()
cp $portDir/additional-files/MediaKit.png src/modules/MediaKit
qmake .
make $jobArgs
cd lang
lrelease *.ts
}
INSTALL()
@@ -89,7 +92,9 @@ INSTALL()
addResourcesToBinaries qmplay2.rdef app/bin/QMPlay2
mkdir -p $appsDir/QMPlay2
mkdir -p $appsDir/QMPlay2/lang
cp lang/*.qm $appsDir/QMPlay2/lang
cp app/bin/QMPlay2 $appsDir/QMPlay2
cp -R app/lib $appsDir/QMPlay2