build: added gtk dep

This commit is contained in:
2025-12-17 13:32:26 +03:00
parent 58eff4d97e
commit 019b0db522
9 changed files with 17 additions and 8 deletions

View File

@@ -1,6 +1,6 @@
# Maintainer: Daniel Dada <dan@binarygoose.dev>
pkgname=clrsync
pkgver=0.1.4
pkgver=0.1.5
pkgrel=1
pkgdesc="Color scheme manager"
arch=('x86_64')
@@ -14,6 +14,7 @@ depends=(
mesa
libglvnd
libxcursor
gtk3
)
makedepends=(
@@ -26,6 +27,7 @@ makedepends=(
libxcursor
wayland
wayland-protocols
gtk3
)
source=("$pkgname-$pkgver.tar.gz::https://github.com/obsqrbtz/clrsync/archive/refs/tags/v$pkgver.tar.gz")

View File

@@ -13,6 +13,7 @@ depends=(
mesa
libglvnd
libxcursor
gtk3
)
makedepends=(
@@ -26,6 +27,7 @@ makedepends=(
libxcursor
wayland
wayland-protocols
gtk3
)
provides=('clrsync')
conflicts=('clrsync')

View File

@@ -14,6 +14,7 @@ depends=(
mesa
libglvnd
libxcursor
gtk3
)
makedepends=(
@@ -26,6 +27,7 @@ makedepends=(
libxcursor
wayland
wayland-protocols
gtk3
)
source=("$pkgname-$pkgver.tar.gz::https://github.com/obsqrbtz/clrsync/archive/refs/tags/v$pkgver.tar.gz")

View File

@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.25)
project(clrsync VERSION 0.1.4 LANGUAGES CXX)
project(clrsync VERSION 0.1.5 LANGUAGES CXX)
include(GNUInstallDirs)

View File

@@ -1 +1 @@
0.1.4
0.1.5

View File

@@ -24,6 +24,11 @@ else()
pkg_check_modules(WAYLAND_EGL wayland-egl)
endif()
if (LINUX)
find_package(PkgConfig REQUIRED)
pkg_check_modules(GTK3 REQUIRED gtk+-3.0)
endif()
if(USE_SYSTEM_GLFW)
pkg_check_modules(GLFW REQUIRED glfw3)
else()

View File

@@ -67,6 +67,7 @@ stdenv.mkDerivation rec {
libxkbcommon
zlib
bzip2
gtk3
];
cmakeFlags = [

View File

@@ -6,7 +6,7 @@
namespace clrsync::core
{
const std::string GIT_SEMVER = "0.1.4+git.gb4ca5e1";
const std::string GIT_SEMVER = "0.1.4+git.g58eff4d";
const std::string version_string();
} // namespace clrsync::core

View File

@@ -43,10 +43,7 @@ elseif(APPLE)
OpenGL::GL
"-framework Cocoa"
)
else()
find_package(PkgConfig REQUIRED)
pkg_check_modules(GTK3 REQUIRED gtk+-3.0)
else()
target_link_libraries(clrsync_gui PRIVATE
clrsync_core
imgui