From a7e380b48df5b64922d15499166575518d66a8a3 Mon Sep 17 00:00:00 2001 From: Keeyou Date: Tue, 17 Sep 2024 14:49:33 +0800 Subject: [PATCH] net-proxy/yass: add 1.14.0-r1, drop 1.14.0 Signed-off-by: Keeyou --- net-proxy/yass/files/gtk4.patch | 39 +++++++++++++++++++ ...ss-1.14.0.ebuild => yass-1.14.0-r1.ebuild} | 4 ++ 2 files changed, 43 insertions(+) create mode 100644 net-proxy/yass/files/gtk4.patch rename net-proxy/yass/{yass-1.14.0.ebuild => yass-1.14.0-r1.ebuild} (98%) diff --git a/net-proxy/yass/files/gtk4.patch b/net-proxy/yass/files/gtk4.patch new file mode 100644 index 00000000000..83a614ce9c8 --- /dev/null +++ b/net-proxy/yass/files/gtk4.patch @@ -0,0 +1,39 @@ +From f598929fc8a1d404d0364f67f7123f62d824dbe4 Mon Sep 17 00:00:00 2001 +From: Keeyou +Date: Tue, 17 Sep 2024 09:18:21 +0800 +Subject: [PATCH] gtk4: fix typo in icon name + +--- + src/gtk4/yass.cpp | 2 +- + src/gtk4/yass_window.ui | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/gtk4/yass.cpp b/src/gtk4/yass.cpp +index 922354be..be100ebc 100644 +--- a/src/gtk4/yass.cpp ++++ b/src/gtk4/yass.cpp +@@ -32,7 +32,7 @@ ABSL_FLAG(bool, background, false, "start up background"); + + YASSApp* mApp = nullptr; + +-static const char* kAppId = "io.github.Chilledheart.yass"; ++static const char* kAppId = "io.github.chilledheart.yass"; + static const char* kAppName = YASS_APP_PRODUCT_NAME; + + extern "C" { +diff --git a/src/gtk4/yass_window.ui b/src/gtk4/yass_window.ui +index 9764307f..6aa20b55 100644 +--- a/src/gtk4/yass_window.ui ++++ b/src/gtk4/yass_window.ui +@@ -9,7 +9,7 @@ + + + none +- io.github.Chilledheart.yass ++ io.github.chilledheart.yass + + + +-- +2.46.0 + diff --git a/net-proxy/yass/yass-1.14.0.ebuild b/net-proxy/yass/yass-1.14.0-r1.ebuild similarity index 98% rename from net-proxy/yass/yass-1.14.0.ebuild rename to net-proxy/yass/yass-1.14.0-r1.ebuild index ca744faf8ac..bc0dc37e9f1 100644 --- a/net-proxy/yass/yass-1.14.0.ebuild +++ b/net-proxy/yass/yass-1.14.0-r1.ebuild @@ -82,6 +82,10 @@ BDEPEND=" test? ( net-misc/curl ) " +PATCHES=( + "${FILESDIR}"/gtk4.patch +) + src_prepare() { cmake_src_prepare # some tests require network access, comment it out if not supported