Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / 
oculante


Commits:
a1fd5a78 by Robin Candau at 2026-09-18T15:24:01+02:00
upgpkg: 0.9.2-2: Rebuild packages with CMake 4 and drop the unused aom 
dependency

https://archlinux.org/todo/packages-that-fails-to-build-with-cmake-4/

Closes 
https://gitlab.archlinux.org/archlinux/packaging/packages/oculante/-/work_items/3

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,15 +1,14 @@
 pkgbase = oculante
        pkgdesc = A minimalistic image viewer with analysis and editing tools
        pkgver = 0.9.2
-       pkgrel = 1
+       pkgrel = 2
        url = https://github.com/woelper/oculante
        arch = x86_64
        license = MIT
        makedepends = cmake
        makedepends = git
-       makedepends = nasm
+       makedepends = yasm
        makedepends = rust
-       depends = aom
        depends = cairo
        depends = expat
        depends = freetype2


=====================================
PKGBUILD
=====================================
@@ -4,13 +4,12 @@
 
 pkgname=oculante
 pkgver=0.9.2
-pkgrel=1
+pkgrel=2
 pkgdesc="A minimalistic image viewer with analysis and editing tools"
 arch=('x86_64')
 url="https://github.com/woelper/oculante";
 license=('MIT')
 depends=(
-  'aom'    
   'cairo'
   'expat'
   'freetype2'
@@ -22,7 +21,7 @@ depends=(
 makedepends=(
   'cmake'
   'git'
-  'nasm'
+  'yasm'
   'rust'
 )
 options=(!lto)
@@ -38,13 +37,13 @@ prepare() {
 build() {
   cd $pkgname
   export TURBOJPEG_SOURCE=pkg-config
-  cargo build --release --locked --features 'heif'
+  CMAKE_POLICY_VERSION_MINIMUM=3.5 cargo build --release --locked --features 
'heif'
 }
 
 check() {
   cd $pkgname
   export TURBOJPEG_SOURCE=pkg-config
-  cargo test --frozen -- --skip=tests::net --skip=tests::flathub --skip=bench 
--skip=thumbnails::test_thumbs
+  CMAKE_POLICY_VERSION_MINIMUM=3.5 cargo test --frozen -- --skip=tests::net 
--skip=tests::flathub --skip=bench --skip=thumbnails::test_thumbs
 }
 
 package() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/oculante/-/commit/a1fd5a78a62d64d3798dc72889826ff032a70fec

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/oculante/-/commit/a1fd5a78a62d64d3798dc72889826ff032a70fec
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