community/aquamarine: move from testing and upgrade to 0.3.2

This commit is contained in:
Zach DeCook 2024-08-16 21:37:17 -04:00 committed by Patrycja Rosa
parent a6fccbc7a1
commit 6b27b199ba
2 changed files with 28 additions and 3 deletions

View File

@ -1,13 +1,16 @@
# Contributor: Zach DeCook <zachdecook@librem.one>
# Maintainer: Zach DeCook <zachdecook@librem.one>
pkgname=aquamarine
pkgver=0.3.0
pkgver=0.3.2
pkgrel=0
pkgdesc="Aquamarine is a very light linux rendering backend library"
url="https://github.com/hyprwm/aquamarine"
arch="all"
license="BSD-3-Clause"
source="https://github.com/hyprwm/aquamarine/archive/v$pkgver/aquamarine-v$pkgver.tar.gz"
source="
https://github.com/hyprwm/aquamarine/archive/v$pkgver/aquamarine-v$pkgver.tar.gz
use-legacy-libgl.patch
"
makedepends="
cmake
eudev-dev
@ -45,5 +48,6 @@ package() {
sha512sums="
3d33d9fbc2a98265f101f5660146d789f224e12605d306c2ad238a1bdb3fda3f0b177a64cc023217aa92d5b36c8024487ad703133cbc354ff87b009e5a04d77f aquamarine-v0.3.0.tar.gz
ed5e17cbbf6bff579db657366e7035b765979821fc2be95c420b290f1f25625d29c25ac30ab49183b58654ae442f18382f8bb0931aae57a796a24a14f4baacea aquamarine-v0.3.2.tar.gz
ed439fbece3a5843a644487e349bcd27dc1ed3494e1237bb716774e94d16a9e20850f2eaeec930e4cd5a5280545932b68b18da1c801d08cf13abd62418cc09b5 use-legacy-libgl.patch
"

View File

@ -0,0 +1,21 @@
commit f821ee5f61bac956cbdd76e777b860acba6546cc
Author: Zach DeCook <zachdecook@librem.one>
Date: Sun Aug 18 20:47:07 2024 -0400
Revert "cmake: link libOpenGL instead of legacy libGL (#44)"
This reverts commit 9b33a38f86135db1b26f21d8581d512dbe106549.
diff --git a/CMakeLists.txt b/CMakeLists.txt
index fc4db31..752e1cf 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -60,7 +60,7 @@ target_include_directories(
PRIVATE "./src" "./src/include" "./protocols" "${CMAKE_BINARY_DIR}")
set_target_properties(aquamarine PROPERTIES VERSION ${AQUAMARINE_VERSION}
SOVERSION 2)
-target_link_libraries(aquamarine OpenGL::EGL OpenGL::OpenGL PkgConfig::deps)
+target_link_libraries(aquamarine OpenGL::EGL OpenGL::GL PkgConfig::deps)
check_include_file("sys/timerfd.h" HAS_TIMERFD)
pkg_check_modules(epoll IMPORTED_TARGET epoll-shim)