mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 20:43:09 -04:00
app-admin/grub-customizer: New package v5.1.0
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Max Grinberg <codeswhite@protonmail.com>
This commit is contained in:
39
app-admin/grub-customizer/grub-customizer-5.1.0.ebuild
Normal file
39
app-admin/grub-customizer/grub-customizer-5.1.0.ebuild
Normal file
@@ -0,0 +1,39 @@
|
||||
# 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/5.1/5.1.0/+download/grub-customizer_5.1.0.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user