app-admin/grub-customizer: add 5.2.5

Closes: https://bugs.gentoo.org/932107
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
Takuya Wakazono
2025-01-22 23:32:19 +09:00
parent 1f74596ffe
commit cbdaaf6134
2 changed files with 44 additions and 0 deletions

View File

@@ -0,0 +1,43 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake xdg
DESCRIPTION="A graphical grub2 settings manager"
HOMEPAGE="https://launchpad.net/grub-customizer"
SRC_URI="https://launchpad.net/grub-customizer/$(ver_cut 1-2)/${PV}/+download/grub-customizer_${PV}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="
app-arch/libarchive:=
dev-cpp/atkmm
dev-cpp/cairomm
dev-cpp/glibmm:2
dev-cpp/gtkmm:3.0
dev-cpp/pangomm:1.4
dev-libs/glib:2
dev-libs/libsigc++:2
dev-libs/openssl:=
x11-libs/gtk+:3
"
RDEPEND="
${DEPEND}
sys-apps/hwinfo
"
BDEPEND="virtual/pkgconfig"
PATCHES=(
# prevent -fPIE being added
"${FILESDIR}/${PN}-5.2.4-fix-flags.patch"
)
src_prepare() {
cmake_src_prepare
gunzip misc/manpage.gz || die
sed -i -e 's/manpage.gz/manpage/' -e 's/\(grub-customizer.1\).gz/\1/' CMakeLists.txt || die
}