tiled: update to 1.10.1

This commit is contained in:
Mehdi Chinoune
2023-04-04 18:19:33 +00:00
committed by مهدي شينون (Mehdi Chinoune)
parent a9e2032197
commit cd3860ed28

View File

@@ -3,7 +3,7 @@
_realname=tiled
pkgbase=mingw-w64-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}")
pkgver=1.10.0
pkgver=1.10.1
pkgrel=1
pkgdesc='A general purpose tile map editor, built to be flexible and easy to use (mingw-w64)'
arch=('any')
@@ -11,10 +11,9 @@ mingw_arch=('mingw64' 'ucrt64')
url='https://www.mapeditor.org'
license=('spdx:GPL-2.0-or-later')
depends=("${MINGW_PACKAGE_PREFIX}-gcc-libs"
"${MINGW_PACKAGE_PREFIX}-qt5-base"
"${MINGW_PACKAGE_PREFIX}-qt5-declarative"
"${MINGW_PACKAGE_PREFIX}-qt5-quickcontrols2"
"${MINGW_PACKAGE_PREFIX}-qt5-svg"
"${MINGW_PACKAGE_PREFIX}-qt6-base"
"${MINGW_PACKAGE_PREFIX}-qt6-declarative"
"${MINGW_PACKAGE_PREFIX}-qt6-svg"
"${MINGW_PACKAGE_PREFIX}-gtk-update-icon-cache"
"${MINGW_PACKAGE_PREFIX}-shared-mime-info"
"${MINGW_PACKAGE_PREFIX}-zlib"
@@ -22,13 +21,13 @@ depends=("${MINGW_PACKAGE_PREFIX}-gcc-libs"
makedepends=("${MINGW_PACKAGE_PREFIX}-cc"
"${MINGW_PACKAGE_PREFIX}-qbs"
"${MINGW_PACKAGE_PREFIX}-pkgconf"
"${MINGW_PACKAGE_PREFIX}-qt5-tools"
"${MINGW_PACKAGE_PREFIX}-qt6-tools"
"${MINGW_PACKAGE_PREFIX}-python")
optdepends=("${MINGW_PACKAGE_PREFIX}-python: Python plugin"
"${MINGW_PACKAGE_PREFIX}-qt5-imageformats: Support for additional image formats (including WebP)"
"${MINGW_PACKAGE_PREFIX}-qt5-translations")
"${MINGW_PACKAGE_PREFIX}-qt6-imageformats: Support for additional image formats (including WebP)"
"${MINGW_PACKAGE_PREFIX}-qt6-translations")
source=("$_realname-$pkgver.tar.gz::https://github.com/mapeditor/tiled/archive/v${pkgver}.tar.gz")
sha256sums=('60436003575b475adfd490832385306740bc6e1c51ceec023986cb251b0417ff')
sha256sums=('ca1e27cefac7b601c6b9f5f201bc478332a79f0fe3e72d498d3a32e702cd4297')
build() {
rm -rf build-${MSYSTEM} | true
@@ -54,14 +53,13 @@ build() {
--type $_profile \
"${MINGW_PREFIX}"/bin/${CXX}.exe $_profile
# "${MINGW_PREFIX}"/bin/qbs.exe config profiles.${_profile}.moduleProviders.Qt.qmakeFilePaths ${MINGW_PREFIX}/bin/qmake6.exe
"${MINGW_PREFIX}"/bin/qbs.exe config profiles.${_profile}.cpp.systemIncludeFlag "-I"
"${MINGW_PREFIX}"/bin/qbs.exe config profiles.${_profile}.moduleProviders.Qt.qmakeFilePaths ${MINGW_PREFIX}/bin/qmake6.exe
"${MINGW_PREFIX}"/bin/qbs.exe resolve \
profile:$_profile \
qbs.installPrefix:"${MINGW_PREFIX}" \
qbs.buildVariant:${_build_type} \
modules.Qt.core.lreleaseName:lrelease \
modules.Qt.core.lreleaseName:lrelease-qt6 \
projects.Tiled.windowsLayout:false \
projects.Tiled.installHeaders:true