guru/app-admin/grub-customizer/grub-customizer-5.1.0.ebuild
Andrew Ammerlaan 20d26ec408
app-admin/grub-customizer: fix StaticSrcUri
also drop RedundantLongDescription

Package-Manager: Portage-3.0.23, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
2021-09-20 11:25:34 +02:00

39 lines
941 B
Bash

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake flag-o-matic
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="dev-cpp/gtkmm:3.0
dev-libs/openssl
x11-themes/hicolor-icon-theme
sys-boot/grub:2
sys-apps/hwinfo
app-arch/libarchive"
RDEPEND="${DEPEND}"
src_configure() {
CMAKE_BUILD_TYPE="release"
glib_path="/usr/include/"$(ls /usr/include/ | sed -n "/^glib-/p")
local mycmakeargs=(-DCMAKE_INSTALL_PREFIX=/usr -DEO_SOURCE_DIR:PATH=$glib_path)
append-cxxflags -I$glib_path -std=c++11
append-cflags -I$glib_path
#append-cppflags -I$glib_path -std=c++11
cmake_src_configure
}
src_install() {
cmake_src_install
insinto /etc/grub-customizer
}