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>
|
# Maintainer: Daniel Dada <dan@binarygoose.dev>
|
||||||
pkgname=clrsync
|
pkgname=clrsync
|
||||||
pkgver=0.1.4
|
pkgver=0.1.5
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Color scheme manager"
|
pkgdesc="Color scheme manager"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
@@ -14,6 +14,7 @@ depends=(
|
|||||||
mesa
|
mesa
|
||||||
libglvnd
|
libglvnd
|
||||||
libxcursor
|
libxcursor
|
||||||
|
gtk3
|
||||||
)
|
)
|
||||||
|
|
||||||
makedepends=(
|
makedepends=(
|
||||||
@@ -26,6 +27,7 @@ makedepends=(
|
|||||||
libxcursor
|
libxcursor
|
||||||
wayland
|
wayland
|
||||||
wayland-protocols
|
wayland-protocols
|
||||||
|
gtk3
|
||||||
)
|
)
|
||||||
|
|
||||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/obsqrbtz/clrsync/archive/refs/tags/v$pkgver.tar.gz")
|
source=("$pkgname-$pkgver.tar.gz::https://github.com/obsqrbtz/clrsync/archive/refs/tags/v$pkgver.tar.gz")
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ depends=(
|
|||||||
mesa
|
mesa
|
||||||
libglvnd
|
libglvnd
|
||||||
libxcursor
|
libxcursor
|
||||||
|
gtk3
|
||||||
)
|
)
|
||||||
|
|
||||||
makedepends=(
|
makedepends=(
|
||||||
@@ -26,6 +27,7 @@ makedepends=(
|
|||||||
libxcursor
|
libxcursor
|
||||||
wayland
|
wayland
|
||||||
wayland-protocols
|
wayland-protocols
|
||||||
|
gtk3
|
||||||
)
|
)
|
||||||
provides=('clrsync')
|
provides=('clrsync')
|
||||||
conflicts=('clrsync')
|
conflicts=('clrsync')
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ depends=(
|
|||||||
mesa
|
mesa
|
||||||
libglvnd
|
libglvnd
|
||||||
libxcursor
|
libxcursor
|
||||||
|
gtk3
|
||||||
)
|
)
|
||||||
|
|
||||||
makedepends=(
|
makedepends=(
|
||||||
@@ -26,6 +27,7 @@ makedepends=(
|
|||||||
libxcursor
|
libxcursor
|
||||||
wayland
|
wayland
|
||||||
wayland-protocols
|
wayland-protocols
|
||||||
|
gtk3
|
||||||
)
|
)
|
||||||
|
|
||||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/obsqrbtz/clrsync/archive/refs/tags/v$pkgver.tar.gz")
|
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)
|
cmake_minimum_required(VERSION 3.25)
|
||||||
project(clrsync VERSION 0.1.4 LANGUAGES CXX)
|
project(clrsync VERSION 0.1.5 LANGUAGES CXX)
|
||||||
|
|
||||||
include(GNUInstallDirs)
|
include(GNUInstallDirs)
|
||||||
|
|
||||||
|
|||||||
@@ -24,6 +24,11 @@ else()
|
|||||||
pkg_check_modules(WAYLAND_EGL wayland-egl)
|
pkg_check_modules(WAYLAND_EGL wayland-egl)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if (LINUX)
|
||||||
|
find_package(PkgConfig REQUIRED)
|
||||||
|
pkg_check_modules(GTK3 REQUIRED gtk+-3.0)
|
||||||
|
endif()
|
||||||
|
|
||||||
if(USE_SYSTEM_GLFW)
|
if(USE_SYSTEM_GLFW)
|
||||||
pkg_check_modules(GLFW REQUIRED glfw3)
|
pkg_check_modules(GLFW REQUIRED glfw3)
|
||||||
else()
|
else()
|
||||||
|
|||||||
@@ -67,6 +67,7 @@ stdenv.mkDerivation rec {
|
|||||||
libxkbcommon
|
libxkbcommon
|
||||||
zlib
|
zlib
|
||||||
bzip2
|
bzip2
|
||||||
|
gtk3
|
||||||
];
|
];
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
namespace clrsync::core
|
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();
|
const std::string version_string();
|
||||||
} // namespace clrsync::core
|
} // namespace clrsync::core
|
||||||
|
|||||||
@@ -44,9 +44,6 @@ elseif(APPLE)
|
|||||||
"-framework Cocoa"
|
"-framework Cocoa"
|
||||||
)
|
)
|
||||||
else()
|
else()
|
||||||
find_package(PkgConfig REQUIRED)
|
|
||||||
pkg_check_modules(GTK3 REQUIRED gtk+-3.0)
|
|
||||||
|
|
||||||
target_link_libraries(clrsync_gui PRIVATE
|
target_link_libraries(clrsync_gui PRIVATE
|
||||||
clrsync_core
|
clrsync_core
|
||||||
imgui
|
imgui
|
||||||
|
|||||||
Reference in New Issue
Block a user