Skip to content

Commit

Permalink
sys-kernel/liquorix-sources: Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
HougeLangley committed Feb 8, 2022
1 parent d3dd03a commit c5b3e7d
Show file tree
Hide file tree
Showing 2 changed files with 87 additions and 0 deletions.
1 change: 1 addition & 0 deletions sys-kernel/liquorix-sources/Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ DIST v1-cjktty-5.16.patch 12410138 BLAKE2B f6d944b55223340d9b3919100c8995e95169e
DIST v5.16.4-lqx2.patch 2456117 BLAKE2B 657f78599aa61c21bbd736a856070919e876303304552d65487c5456b2ed97a07439836a5ac2574beb157a491ad4cb7febeaacfdc888c23148b548cd87fece0e SHA512 797d3d1541a95921050ac3a8a7d856f7a9585f16c273cec00e7e18a666afafbb5c39938ba6eae60c1f667bb2b5a0dd821d3f36e8bd3e026b201968513895f985
DIST v5.16.5-lqx1.patch 2458843 BLAKE2B c4e938f7a610d1ae3718f238ae29678bc8467f3a9d9bf969d7345029cc8ece0c2a9b1477200e422cbf24bd8e79aba70d4a84326461f3d87f17253b22af589aa8 SHA512 6c8d6528c6c1591b435412598f4887522a693050f68ec0808c640cb535f68f39f299f73fc5199ac74f89576fff4e8ced52c8173836522e8857c1bb7461db294f
DIST v5.16.7-lqx1.patch 2504709 BLAKE2B 60a5f349c6baa8fc0222e2687cd11f6818e78195492dce8333e95d988a916cbc1c583a30c6ea49402523bcc53980fb16d2a57664743b6ca91eeb0b0d61707c91 SHA512 ee86bfbd525e20e01937cac44ec42fa55096a6b0bf34bcfea0f93b5f2b12959251c0c6cdbcb002b7de6c43dbb21486d50d770a537c7395a7a43c110c5374caf3
DIST v5.16.7-lqx2.patch 2507768 BLAKE2B 6d9c3d5db407a95afe4e38bad37b18e156cb94e1cc889d35085423dbb247b4009e0a87c3f83ff6b80353793c8606b1fb75e0ca220d94d674602446aab005d73f SHA512 5cbab8ddb3075204caa95fd8a141a22bf771040966a02bf27e9ada9902e2fb272f47c94e845a7a1867a087522a854c071da12adaf35004073e0a2d075891fc0c
86 changes: 86 additions & 0 deletions sys-kernel/liquorix-sources/liquorix-sources-5.16_p4.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

# Define what default functions to run
ETYPE="sources"

# No 'experimental' USE flag provided, but we still want to use genpatches
K_EXP_GENPATCHES_NOUSE="1"

# Just get basic genpatches, -xanmod patch set already includes main updates
K_GENPATCHES_VER="1"

# -xanmod-hybrid already sets EXTRAVERSION to kernel Makefile
K_NOSETEXTRAVERSION="1"

# Not supported by the Gentoo security team
K_SECURITY_UNSUPPORTED="1"

# We want the very basic patches from gentoo-sources, experimental patch is
# already included in xanmod-hybrid
K_WANT_GENPATCHES="base extras"

# Default enable Xanmod, You have to choose one of them.
# Both of them will make some errors
IUSE="+cjk"

# If you have been enable src_prepare-overlay
# please unmerge sys-kernel/xanmod-sources
RDEPEND=""
DEPEND="
app-arch/cpio
sys-devel/bc
sys-apps/kmod
dev-libs/elfutils
dev-util/pahole
"

inherit kernel-2
detect_version

DESCRIPTION="Liquorix kernel is best one for desktop, multimedia and gaming workloads"
HOMEPAGE="https://liquorix.net/"

SRC_URI="
${KERNEL_BASE_URI}/linux-5.16.tar.xz
${GENPATCHES_URI}
https://github.com/HougeLangley/customkernel/releases/download/v5.16-patch/v5.16.7-lqx2.patch
https://github.com/HougeLangley/customkernel/releases/download/v5.16-patch/v1-cjktty-5.16.patch
"
KEYWORDS="~amd64"

S="${WORKDIR}/linux-${PVR}-liquorix"

K_EXTRAEINFO="For more info on liquorix-kernel and details on how to report problems, see: ${HOMEPAGE}."

UNIPATCH_LIST="${DISTDIR}/v5.16.7-lqx2.patch"

PATCHES="${DISTDIR}/v1-cjktty-5.16.patch"

src_prepare() {
# Default enable CJKTTY
if use cjk ; then
eapply "${DISTDIR}/v1-cjktty-5.16.patch" || die
fi

kernel-2_src_prepare
}

pkg_setup() {
ewarn ""
ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way."
ewarn "If you need support, please contact the ${HOMEPAGE} directly."
ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with"
ewarn "the ebuilds. Thank you."
ewarn ""

kernel-2_pkg_setup
}

pkg_postinst() {
elog "MICROCODES"
elog "Use Liquorix-Kernel with microcodes"
elog "Read https://wiki.gentoo.org/wiki/Intel_microcode"
}

0 comments on commit c5b3e7d

Please sign in to comment.