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

Search

Install

Install this version:

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

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.14

Or alternatively:

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

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.14 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

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://dev.gentoo.org/~mgorny/dist/linux/${PATCHSET}.tar.xz
	https://raw.githubusercontent.com/evlaV/jupiter/refs/heads/main/linux-neptune-${CONFIG_VER}/config -> linux-neptune-${CONFIG_VER}.config
"
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}/linux-neptune-${CONFIG_VER}.config" .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 )