sys-kernel/neptune-kernel - 6.16.12.17 (bell07)

Search

Notice: This package is in a virtual group: virtual/linux-sources
Equivalents: sys-kernel/asahi-sources, sys-kernel/gentoo-kernel, sys-kernel/gentoo-kernel-bin, sys-kernel/gentoo-sources, sys-kernel/git-sources, sys-kernel/linux-firmware, sys-kernel/linux-next, sys-kernel/mips-sources, sys-kernel/neptune-sources, sys-kernel/pf-sources, sys-kernel/raspberrypi-kernel, sys-kernel/raspberrypi-sources, sys-kernel/rt-sources, sys-kernel/vanilla-kernel, sys-kernel/vanilla-sources, sys-kernel/zen-sources

Install

Install this version:

emerge -a =sys-kernel/neptune-kernel-6.16.12.17

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =sys-kernel/neptune-kernel-6.16.12.17

Or alternatively:

emerge --autounmask-write -a =sys-kernel/neptune-kernel-6.16.12.17

Package Information

Description:
The Kernel for Valve SteamDeck built with Gentoo patches
Homepage:
https://github.com/evlaV/linux-integration

Ebuild Details

Version EAPI Keywords Slot
6.16.12.17 8 -* amd64
View Raw Ebuild
# Copyright 2020-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

KERNEL_IUSE_GENERIC_UKI=1

inherit kernel-build toolchain-funcs

PATCHSET=linux-gentoo-patches-6.16.12
CONFIG_COMMIT="a2f829961e63edd08964d8473fb2e88774a5778a"

DESCRIPTION="The Kernel for Valve SteamDeck built with Gentoo patches"
HOMEPAGE="https://github.com/evlaV/linux-integration"

KERNELVERSION="${PV%.*}"
VALVEVERSION="${PV##*.}"
CONFIGVERSION="${KERNELVERSION%.*}"
CONFIG_VER="${CONFIGVERSION//./}"

SRC_URI+="
	https://github.com/evlaV/linux-integration/archive/refs/tags/${KERNELVERSION}-valve${VALVEVERSION}.zip -> linux-neptune-${PV}.zip
	https://distfiles.gentoo.org/pub/proj/dist-kernel/patchsets/${CONFIGVERSION}/${PATCHSET}.tar.xz
	https://raw.githubusercontent.com/evlaV/jupiter/${CONFIG_COMMIT}/linux-neptune-${CONFIG_VER}/config-neptune -> config-neptune-${CONFIG_VER}-${CONFIG_COMMIT}
	https://raw.githubusercontent.com/evlaV/jupiter/${CONFIG_COMMIT}/linux-neptune-${CONFIG_VER}/config -> config-${CONFIG_VER}-${CONFIG_COMMIT}
"
RESTRICT="nomirror"
S="${WORKDIR}"/linux-integration-"${KERNELVERSION}"-valve"${VALVEVERSION}"

KEYWORDS="-* amd64"
IUSE="debug"

BDEPEND="
	debug? ( dev-util/pahole )
"

QA_FLAGS_IGNORED="
	usr/src/linux-.*/certs/*.so
	usr/src/linux-.*/scripts/gcc-plugins/.*.so
	usr/src/linux-.*/vmlinux
"

src_prepare() {
	eapply "${WORKDIR}/${PATCHSET}"

	default

	# add Extraversion
	local extraversion=."${VALVEVERSION}"-neptune-gentoo-dist
	sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${extraversion/_/-}:" Makefile || die

	# Enable default config
	cp "${DISTDIR}/config-${CONFIG_VER}-${CONFIG_COMMIT}" .config  || die
	cat "${DISTDIR}/config-neptune-${CONFIG_VER}-${CONFIG_COMMIT}" >> .config || die

	echo "CONFIG_LOCALVERSION=\"-gentoo-dist\"" > "${T}"/version.config || die

	kernel-build_merge_configs
}

USE Flags

Manage flags for this package: euse -i <flag> -p sys-kernel/neptune-kernel | euse -E <flag> -p sys-kernel/neptune-kernel | euse -D <flag> -p sys-kernel/neptune-kernel

Global/Standard Flags

Inherited Eclasses

Dependencies

BDEPEND

	debug? ( dev-util/pahole )