diff --git a/.github/workflows/overlay.toml b/.github/workflows/overlay.toml index e37713a1665..37bdcd60fc4 100644 --- a/.github/workflows/overlay.toml +++ b/.github/workflows/overlay.toml @@ -725,6 +725,13 @@ source = "regex" url = "https://winegame.net/downloads/" regex = "net.winegame.client_([\\d.]+)_amd64.deb" +["gui-apps/crystal-dock"] +source = "github" +github = "dangvd/crystal-dock" +prefix = "v" +use_latest_release = true +github_account = "liuyujielol" + ["gui-libs/libdecor"] source = "gitlab" host = "gitlab.freedesktop.org" diff --git a/gui-apps/crystal-dock/Manifest b/gui-apps/crystal-dock/Manifest new file mode 100644 index 00000000000..0f6f82c92b0 --- /dev/null +++ b/gui-apps/crystal-dock/Manifest @@ -0,0 +1 @@ +DIST crystal-dock-2.7.tar.gz 1937925 BLAKE2B d9a1a56077558807805933bd94ddaced9c7653719bbe5b7a8fcbff1e15363c4e3c6d0455fe1750e85da2417a2b593d4d3692e5cd4caab35caf53e99c014718f0 SHA512 2f3903f183d4df3b920f1bcd5fe5fc7eef7007847e9ee759e7e8565fe8cf8de27070ad6c43e17877e521be6a30b56f8bfc1010c0719ec1f605046a52b1d67738 diff --git a/gui-apps/crystal-dock/crystal-dock-2.7.ebuild b/gui-apps/crystal-dock/crystal-dock-2.7.ebuild new file mode 100644 index 00000000000..2e29175d010 --- /dev/null +++ b/gui-apps/crystal-dock/crystal-dock-2.7.ebuild @@ -0,0 +1,30 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit cmake xdg + +DESCRIPTION="Cool dock (desktop panel) for Linux desktop" +HOMEPAGE="https://github.com/dangvd/crystal-dock" +SRC_URI=" + https://github.com/dangvd/crystal-dock/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz +" +S="${WORKDIR}/${P}/src" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=" + >=dev-libs/wayland-1.22 + dev-qt/qtbase:6[dbus,gui,widgets] + dev-util/vulkan-headers + kde-plasma/layer-shell-qt:6 + x11-libs/libxkbcommon +" +RDEPEND="${DEPEND}" + +# From upstream, remove on next bump +PATCHES=( + "${FILESDIR}/${P}-static_lib.patch" +) diff --git a/gui-apps/crystal-dock/files/crystal-dock-2.7-static_lib.patch b/gui-apps/crystal-dock/files/crystal-dock-2.7-static_lib.patch new file mode 100644 index 00000000000..aae9bc788be --- /dev/null +++ b/gui-apps/crystal-dock/files/crystal-dock-2.7-static_lib.patch @@ -0,0 +1,20 @@ +From upstream +Sets crystal-dock_lib to STATIC explicitly to avoid unresolved soname. + +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 0c1e5ae..33d3c3f 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -91,7 +91,7 @@ set(SRCS + view/edit_launchers_dialog.ui + view/task_manager_settings_dialog.ui + view/wallpaper_settings_dialog.ui) +-add_library(crystal-dock_lib ${SRCS}) ++add_library(crystal-dock_lib STATIC ${SRCS}) + + set(LIBS Qt6::DBus Qt6::GuiPrivate Qt6::Widgets Wayland::Client LayerShellQt::Interface stdc++fs) + target_link_libraries(crystal-dock_lib ${LIBS}) diff --git a/gui-apps/crystal-dock/metadata.xml b/gui-apps/crystal-dock/metadata.xml new file mode 100644 index 00000000000..d4a8793fcd9 --- /dev/null +++ b/gui-apps/crystal-dock/metadata.xml @@ -0,0 +1,11 @@ + + + + + 2073201758GD@gmail.com + liuyujielol + + + dangvd/crystal-dock + +