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


Commits:
56fd1587 by Antonio Rojas at 2026-07-11T10:24:48+02:00
Use upstream opencv patch

- - - - -


2 changed files:

- PKGBUILD
- − opencv-5.patch


Changes:

=====================================
PKGBUILD
=====================================
@@ -47,17 +47,17 @@ makedepends=(eigen
              kdoctools)
 optdepends=('xplanet: XPlanet support')
 
source=(https://download.kde.org/stable/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz{,.sig}
-        opencv-5.patch)
+        https://invent.kde.org/education/kstars/-/commit/f1e617a9.patch)
 sha256sums=('c5ecfef89587710231e4c93e4d4781ae17276d0344e2da97df54fd6ed86a19d5'
             'SKIP'
-            '19e6faac8ca7a108846b414009c95bdfb5b35627ea01827524625bf69e5c948a')
+            'e4de77ff8f50441382e5c1419f7cbb9751808686e1c4f1d791fb800aab9cd0a2')
 validpgpkeys=(259D9FCEE9175351965633696D9CE2AEE028C4F3) # Jasem Mutlaq 
<[email protected]>
 
 prepare() {
 # Fix data install dir
   sed -e 's|DATA_INSTALL_DIR|CMAKE_INSTALL_DATADIR|g' -i 
$pkgname-$pkgver/kstars/data/*/CMakeLists.txt
 # support OpenCV 5
-  patch -d $pkgname-$pkgver -p1 < opencv-5.patch
+  patch -d $pkgname-$pkgver -p1 < f1e617a9.patch
 }
 
 build() {


=====================================
opencv-5.patch deleted
=====================================
@@ -1,13 +0,0 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 0b767c696..aae64f01a 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -328,7 +328,7 @@ endif()
- 
- ## OpenCV
- # Ensure we have at least version 4.6.0
--find_package(OpenCV 4.6.0 REQUIRED COMPONENTS core imgcodecs calib3d photo)
-+find_package(OpenCV 5 REQUIRED COMPONENTS core imgcodecs photo)
- set_package_properties(OpenCV PROPERTIES DESCRIPTION "OpenCV library" URL 
"https://opencv.org"; TYPE REQUIRED PURPOSE "Standard library of image 
processing functions.")
- include_directories(SYSTEM ${OpenCV_INCLUDE_DIRS})
- 



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/kstars/-/commit/56fd158759de7fec5542852e1db8654773453a4a

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