Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / qbs


Commits:
978e9eba by Antonio Rojas at 2024-05-08T00:22:27+02:00
upgpkg: 2.3.1-1: Update to 2.3.1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,16 +1,17 @@
 pkgbase = qbs
        pkgdesc = Cross platform build tool
-       pkgver = 2.3.0
+       pkgver = 2.3.1
        pkgrel = 1
        url = https://wiki.qt.io/Qbs
        arch = x86_64
        license = LGPL-2.1-only
        makedepends = cmake
+       makedepends = git
        depends = gcc-libs
        depends = glibc
        depends = qt6-base
        depends = qt6-5compat
-       source = 
https://download.qt.io/official_releases/qbs/2.3.0/qbs-src-2.3.0.tar.gz
-       sha256sums = 
e7fa44fb36d705ab40f34c24e71bb32beef1210eab2d50bf6f2318a195780826
+       source = git+https://code.qt.io/qbs/qbs#tag=v2.3.1
+       sha256sums = 
3693f0d5b7c4a74c7856b30d514a7d67d0a66d7ce9200b77b17cb5dd4f1b69fd
 
 pkgname = qbs


=====================================
PKGBUILD
=====================================
@@ -4,7 +4,7 @@
 # Contributor: Jake Petroules <jake.petrou...@qt.io>
 
 pkgname=qbs
-pkgver=2.3.0
+pkgver=2.3.1
 pkgrel=1
 pkgdesc='Cross platform build tool'
 arch=(x86_64)
@@ -14,16 +14,13 @@ depends=(gcc-libs
          glibc
          qt6-base
          qt6-5compat)
-makedepends=(cmake)
-source=(https://download.qt.io/official_releases/qbs/$pkgver/qbs-src-$pkgver.tar.gz)
-sha256sums=('e7fa44fb36d705ab40f34c24e71bb32beef1210eab2d50bf6f2318a195780826')
+makedepends=(cmake
+             git)
+source=(git+https://code.qt.io/qbs/qbs#tag=v$pkgver)
+sha256sums=('3693f0d5b7c4a74c7856b30d514a7d67d0a66d7ce9200b77b17cb5dd4f1b69fd')
 
 build() {
-  # this uses malloc_usable_size, which is incompatible with fortification 
level 3
-  export CFLAGS="${CFLAGS/_FORTIFY_SOURCE=3/_FORTIFY_SOURCE=2}"
-  export CXXFLAGS="${CXXFLAGS/_FORTIFY_SOURCE=3/_FORTIFY_SOURCE=2}"
-
-  cmake -B build -S $pkgname-src-$pkgver \
+  cmake -B build -S $pkgname \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DWITH_TESTS=OFF \
     -DQBS_LIBEXEC_INSTALL_DIR=lib/qbs
@@ -31,9 +28,5 @@ build() {
 }
 
 package() {
-  # this uses malloc_usable_size, which is incompatible with fortification 
level 3
-  export CFLAGS="${CFLAGS/_FORTIFY_SOURCE=3/_FORTIFY_SOURCE=2}"
-  export CXXFLAGS="${CXXFLAGS/_FORTIFY_SOURCE=3/_FORTIFY_SOURCE=2}"
-
   DESTDIR="$pkgdir" cmake --install build
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/qbs/-/commit/978e9ebaadb3f68c7d52589fdb877eea26ff455a

-- 
This project does not include diff previews in email notifications.
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/qbs/-/commit/978e9ebaadb3f68c7d52589fdb877eea26ff455a
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to