qmc2: update to 0.186

This commit is contained in:
Jürgen Buchmüller 2017-06-15 14:23:44 +02:00
parent d31fa4e1af
commit 9b3517910a
2 changed files with 11 additions and 8 deletions

View file

@ -56,19 +56,22 @@
if ( !ignore ) {
sectionTitle = readDescription(&xmlReader, lang, &readNext);
templateMap[sectionTitle].clear();
@@ -1272,14 +1279,14 @@
bool wip = false;
int decimals = QMC2_EMUOPT_DFLT_DECIMALS;
@@ -1274,17 +1274,17 @@
if ( optionEntity.compare(elementType) == 0 ) {
bool ignore = false;
if ( xmlReader.attributes().hasAttribute("ignore") )
- ignore = xmlReader.attributes().value("ignore").compare("true") == 0;
+ ignore = xmlReader.attributes().value("ignore").compare(s_true) == 0;
if ( xmlReader.attributes().hasAttribute(ignoreOS) )
- ignore |= xmlReader.attributes().value(ignoreOS).compare("true") == 0;
+ ignore |= xmlReader.attributes().value(ignoreOS).compare(s_true) == 0;
if ( xmlReader.attributes().hasAttribute("wip") )
- wip = xmlReader.attributes().value("wip").compare("true") == 0;
+ wip = xmlReader.attributes().value("wip").compare(s_true) == 0;
if ( !ignore ) {
bool visible = true;
bool wip = false;
int decimals = QMC2_EMUOPT_DFLT_DECIMALS;
if ( xmlReader.attributes().hasAttribute("wip") )
- wip = xmlReader.attributes().value("wip").compare("true") == 0;
+ wip = xmlReader.attributes().value("wip").compare(s_true) == 0;
if ( xmlReader.attributes().hasAttribute("visible") )
- visible = xmlReader.attributes().value("visible").compare("true") == 0;
+ visible = xmlReader.attributes().value("visible").compare(s_true) == 0;

View file

@ -1,6 +1,6 @@
# Template file for 'qmc2'
pkgname=qmc2
version=0.183
version=0.186
revision=1
wrksrc=${pkgname}
build_style=gnu-makefile
@ -16,7 +16,7 @@ maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="GPL-2"
homepage="http://qmc2.arcadehits.net/wordpress/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${version}/${pkgname}-${version}.tar.bz2"
checksum=ff3226172c9aaf2078eb8c1bef6208062d4d739c204f1b6d93f009cf6731d5fc
checksum=4ae7645be79e4ff65ef0133502a86ccc631a9608b7d7c5cd35beeef4fe2605a8
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-multimedia-devel qt5-script-devel qt5-svg-devel"