Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / 
xdg-utils-cxx


Commits:
966e27ee by Antonio Rojas at 2026-09-18T18:26:48+02:00
upgpkg: 1.0.1-4: Build shared libraries

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,12 +1,15 @@
 pkgbase = xdg-utils-cxx
        pkgdesc = Implementation of the FreeDesktop specifications to be used 
in C++ projects
        pkgver = 1.0.1
-       pkgrel = 3
+       pkgrel = 4
        url = https://github.com/azubieta/xdg-utils-cxx
        arch = x86_64
        license = MIT
        makedepends = cmake
        makedepends = git
+       depends = glibc
+       depends = libgcc
+       depends = libstdc++
        source = git+https://github.com/azubieta/xdg-utils-cxx#tag=v1.0.1
        sha256sums = 
a2bdc431c6962ff4e8c5be06c8355ce0b212e3f3e79c8ef1ebff5ef280e2ab5c
 


=====================================
PKGBUILD
=====================================
@@ -2,12 +2,14 @@
 
 pkgname=xdg-utils-cxx
 pkgver=1.0.1
-pkgrel=3
+pkgrel=4
 pkgdesc='Implementation of the FreeDesktop specifications to be used in C++ 
projects'
 arch=(x86_64)
 url='https://github.com/azubieta/xdg-utils-cxx'
 license=(MIT)
-depends=()
+depends=(glibc
+         libgcc
+         libstdc++)
 makedepends=(cmake
              git)
 source=(git+https://github.com/azubieta/xdg-utils-cxx#tag=v$pkgver)
@@ -16,8 +18,8 @@ 
sha256sums=('a2bdc431c6962ff4e8c5be06c8355ce0b212e3f3e79c8ef1ebff5ef280e2ab5c')
 build() {
   cmake -B build -S $pkgname \
     -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_INSTALL_LIBDIR=lib \
-    -DCMAKE_CXX_FLAGS="${CXXFLAGS} -fPIC -ffat-lto-objects"
+    -DXDG_UTILS_SHARED=ON \
+    -DCMAKE_POLICY_VERSION_MINIMUM=3.5
   cmake --build build
 }
 



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/xdg-utils-cxx/-/commit/966e27ee5218c64e419b34a4593c9a9791e09b73

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/xdg-utils-cxx/-/commit/966e27ee5218c64e419b34a4593c9a9791e09b73
You're receiving this email because of your account on gitlab.archlinux.org. 
Manage all notifications: https://gitlab.archlinux.org/-/profile/notifications 
| Help: https://gitlab.archlinux.org/help


Reply via email to