mirror of
https://github.com/obsqrbtz/clrsync.git
synced 2026-04-08 20:19:04 +03:00
build: added gtk dep
This commit is contained in:
@@ -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")
|
||||
|
||||
@@ -13,6 +13,7 @@ depends=(
|
||||
mesa
|
||||
libglvnd
|
||||
libxcursor
|
||||
gtk3
|
||||
)
|
||||
|
||||
makedepends=(
|
||||
@@ -26,6 +27,7 @@ makedepends=(
|
||||
libxcursor
|
||||
wayland
|
||||
wayland-protocols
|
||||
gtk3
|
||||
)
|
||||
provides=('clrsync')
|
||||
conflicts=('clrsync')
|
||||
|
||||
@@ -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")
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -67,6 +67,7 @@ stdenv.mkDerivation rec {
|
||||
libxkbcommon
|
||||
zlib
|
||||
bzip2
|
||||
gtk3
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -44,9 +44,6 @@ elseif(APPLE)
|
||||
"-framework Cocoa"
|
||||
)
|
||||
else()
|
||||
find_package(PkgConfig REQUIRED)
|
||||
pkg_check_modules(GTK3 REQUIRED gtk+-3.0)
|
||||
|
||||
target_link_libraries(clrsync_gui PRIVATE
|
||||
clrsync_core
|
||||
imgui
|
||||
|
||||
Reference in New Issue
Block a user