qtutilities

This commit is contained in:
4fury-c3440d8
2023-03-08 21:03:15 +03:00
parent 434c090e0b
commit d11e57b408
2 changed files with 16 additions and 15 deletions
+6 -13
View File
@@ -4,28 +4,21 @@
# Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import shelltools
from pisi.actionsapi import cmaketools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
from pisi.actionsapi import mesontools, cmaketools
j = ''.join([
' -DCMAKE_BUILD_TYPE=Release',
' -DBUILD_SHARED_LIBS=ON',
' -DQT_PACKAGE_PREFIX=Qt6',
' -DDISABLE_DEPRECATED_QT_FEATURES=ON -L '
' -DDISABLE_DEPRECATED_QT_FEATURES=ON',
' -B_build -G Ninja -L '
])
def setup():
cmaketools.configure("-B_build %s" % j)
cmaketools.configure(j)
def build():
shelltools.cd("_build")
cmaketools.make()
mesontools.build("-C _build")
def install():
shelltools.cd("_build")
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("../LICENSE", "../README.md")
mesontools.install("-C _build")
+10 -2
View File
@@ -13,11 +13,12 @@
<PartOf>programming.library</PartOf>
<Summary> Common Qt related C++ classes and routines used by my applications such as dialogs, widgets and models.</Summary>
<Description> Common Qt related C++ classes and routines used by my applications such as dialogs, widgets and models.</Description>
<Archive sha1sum="b12a5787de3d7abc595e332de731f44ccbc37041" type="targz">
https://github.com/Martchus/qtutilities/archive/refs/tags/v6.10.0.tar.gz
<Archive sha1sum="8c39e50c1de5fb2efef4d0bb1044427309a4267d" type="targz">
https://github.com/Martchus/qtutilities/archive/refs/tags/v6.11.0.tar.gz
</Archive>
<BuildDependencies>
<Dependency>cmake</Dependency>
<Dependency>ninja</Dependency>
<Dependency>doxygen</Dependency>
<Dependency>qt6-linguist</Dependency>
<Dependency>qt6-base-devel</Dependency>
@@ -53,6 +54,13 @@
</Package>
<History>
<Update release="8">
<Date>2023-03-08</Date>
<Version>6.11.0</Version>
<Comment>Version bump</Comment>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Update>
<Update release="7">
<Date>2023-02-02</Date>
<Version>6.10.0</Version>