dev-vcs/gitahead: fix broken install

Closes: https://bugs.gentoo.org/966190
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
Takuya Wakazono
2026-01-30 00:01:42 +09:00
parent 78d5b692ff
commit 87b58f858c

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2025 Gentoo Authors
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -31,9 +31,11 @@ RDEPEND="
dev-libs/openssl:=
dev-qt/qt5compat:6
dev-qt/qtbase:6[concurrent,gui,network,widgets]
media-libs/libjpeg-turbo:=
net-libs/http-parser:=
net-libs/libssh2
virtual/zlib:=
x11-libs/libxkbcommon
gnome-keyring? (
app-crypt/libsecret
)
@@ -89,10 +91,8 @@ src_install() {
cd "${BUILD_DIR}" || die
eninja package
cd ./_CPack_Packages/Linux/STGZ || die
mkdir -p "${D}"/usr/share || die
bash ./GitAhead-2.7.1.sh --prefix="${D}"/usr/share --include-subdir || die
rm -fr "${D}"/usr/share/GitAhead/*.so.* || die
rm "${D}"/usr/share/GitAhead/*.so.* || die
cd "${D}"/usr/share/GitAhead/Resources/GitAhead.iconset || die
local res