repo/proj/guru:master commit in: gui-apps/dankmaterialshell/, gui-apps/dankmaterialshell/files/
"David Roman" <[email protected]>
| Newsgroups | gmane.linux.gentoo.cvs |
|---|---|
| Message-ID | <1785956120.a1d726801a247f3ec0439b350933f08e93030bbc.davidroman@gentoo> |
commit: a1d726801a247f3ec0439b350933f08e93030bbc
Author: Emi <reedy.sailors.8t <AT> icloud <DOT> com>
AuthorDate: Wed Aug 5 18:55:20 2026 +0000
Commit: David Roman <stkw0 <AT> disroot <DOT> org>
CommitDate: Wed Aug 5 18:55:20 2026 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a1d72680
gui-apps/dankmaterialshell: add no-strip patch
Signed-off-by: Emi <reedy.sailors.8t <AT> icloud.com>
.../dankmaterialshell-1.4.6-r1.ebuild | 3 ++-
.../dankmaterialshell-1.5.3.ebuild | 3 ++-
.../files/dankmaterialshell-1.5.3-no-strip.patch | 21 +++++++++++++++++++++
3 files changed, 25 insertions(+), 2 deletions(-)
diff --git a/gui-apps/dankmaterialshell/dankmaterialshell-1.4.6-r1.ebuild b/gui-apps/dankmaterialshell/dankmaterialshell-1.4.6-r1.ebuild
index 49847e9db2..ecdc86cd96 100644
--- a/gui-apps/dankmaterialshell/dankmaterialshell-1.4.6-r1.ebuild
+++ b/gui-apps/dankmaterialshell/dankmaterialshell-1.4.6-r1.ebuild
@@ -17,7 +17,6 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="cups greeter"
-RESTRICT="strip"
DEPEND="
app-misc/jq
@@ -43,6 +42,8 @@ BDEPEND="
dev-util/pkgconf
"
+PATCHES=("${FILESDIR}"/"${PN}-1.5.3-no-strip.patch")
+
# set variables
QML_DIR="${WORKDIR}"/dms # qml assets location
GRT_DIR="${QML_DIR}"/Modules/Greetd # greeter location
diff --git a/gui-apps/dankmaterialshell/dankmaterialshell-1.5.3.ebuild b/gui-apps/dankmaterialshell/dankmaterialshell-1.5.3.ebuild
index 49847e9db2..ecdc86cd96 100644
--- a/gui-apps/dankmaterialshell/dankmaterialshell-1.5.3.ebuild
+++ b/gui-apps/dankmaterialshell/dankmaterialshell-1.5.3.ebuild
@@ -17,7 +17,6 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="cups greeter"
-RESTRICT="strip"
DEPEND="
app-misc/jq
@@ -43,6 +42,8 @@ BDEPEND="
dev-util/pkgconf
"
+PATCHES=("${FILESDIR}"/"${PN}-1.5.3-no-strip.patch")
+
# set variables
QML_DIR="${WORKDIR}"/dms # qml assets location
GRT_DIR="${QML_DIR}"/Modules/Greetd # greeter location
diff --git a/gui-apps/dankmaterialshell/files/dankmaterialshell-1.5.3-no-strip.patch b/gui-apps/dankmaterialshell/files/dankmaterialshell-1.5.3-no-strip.patch
new file mode 100644
index 0000000000..e3c51b9be1
--- /dev/null
+++ b/gui-apps/dankmaterialshell/files/dankmaterialshell-1.5.3-no-strip.patch
@@ -0,0 +1,21 @@
+diff --git a/Makefile b/Makefile
+index cad9b95..f8175a0 100644
+--- a/Makefile
++++ b/Makefile
+@@ -7,7 +7,6 @@ PREFIX ?= /usr/local
+ INSTALL_DIR=$(PREFIX)/bin
+
+ GO=go
+-GOFLAGS=-ldflags="-s -w"
+
+ # Version and build info
+ BASE_VERSION=$(shell git describe --tags --abbrev=0 2>/dev/null | sed 's/^v//' || echo "0.0.0")
+@@ -17,7 +16,7 @@ VERSION?=$(BASE_VERSION)+git$(COMMIT_COUNT).$(COMMIT_HASH)
+ BUILD_TIME?=$(shell date -u '+%Y-%m-%d_%H:%M:%S')
+ COMMIT?=$(COMMIT_HASH)
+
+-BUILD_LDFLAGS=-ldflags='-s -w -X main.Version=$(VERSION) -X main.buildTime=$(BUILD_TIME) -X main.commit=$(COMMIT)'
++BUILD_LDFLAGS=-ldflags='-X main.Version=$(VERSION) -X main.buildTime=$(BUILD_TIME) -X main.commit=$(COMMIT)'
+
+ # Architecture to build for dist target (amd64, arm64, or all)
+ ARCH ?= all