From 0b1f53c54388382ff701d00d3f5eb981ed040f2a Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 28 Jul 2022 03:03:20 +0100 Subject: gentoo auto-resync : 28:07:2022 - 03:03:20 --- app-laptop/Manifest.gz | Bin 3249 -> 3249 bytes app-laptop/tp_smapi/Manifest | 2 +- app-laptop/tp_smapi/tp_smapi-0.43-r1.ebuild | 74 ---------------------------- app-laptop/tp_smapi/tp_smapi-0.43-r2.ebuild | 74 ++++++++++++++++++++++++++++ 4 files changed, 75 insertions(+), 75 deletions(-) delete mode 100644 app-laptop/tp_smapi/tp_smapi-0.43-r1.ebuild create mode 100644 app-laptop/tp_smapi/tp_smapi-0.43-r2.ebuild (limited to 'app-laptop') diff --git a/app-laptop/Manifest.gz b/app-laptop/Manifest.gz index df83f0678a06..2ba96e578954 100644 Binary files a/app-laptop/Manifest.gz and b/app-laptop/Manifest.gz differ diff --git a/app-laptop/tp_smapi/Manifest b/app-laptop/tp_smapi/Manifest index 17d63eb242d1..791da4e1d528 100644 --- a/app-laptop/tp_smapi/Manifest +++ b/app-laptop/tp_smapi/Manifest @@ -1,5 +1,5 @@ AUX tp_smapi-0.40-confd 785 BLAKE2B da1e2a5ce6e441eebf1a3dffcce8a863688a525f6ee4c29537b1783e3283c5a0311e4317617cff4be8c35246accf69738778c6c34e4d2af77a18f23a1e84b363 SHA512 a08f0b15ea37f79e1a8b41b3a3a59421dcf26e482d2eaa269e7c3f728c142e68e8c130c8a53f4c14829436a20e1354318464de780d9fbe10777d7929d7944dca AUX tp_smapi-0.40-initd 1851 BLAKE2B 852fc13e2d74a570918c451966214ed8ca3daea9bdb66e856f48554261f4cafc8d8be7b76889a6a639f0dc1310d34036131a9982be0cdcf0e458707e7938b161 SHA512 ebf8ac628e00979f21e266fb6d187f02bfeeafc9482a0c5bed4fd4f092c7a27158747ccf629c802969ad2a8f13124276ef889927b3f1f01a7ce44fdcde103698 DIST tp_smapi-0.43.tgz 40122 BLAKE2B e14caa05d741d14b03c56c57badc5900a47735bc58966b5195ca34269a6227ecc50518ee5ce8cf47a4aacb314a0ed0332b987098f3be024b6af9024df6efdf9b SHA512 ec2e40a248e7eb5bff2ad9e57087058a8b4706d564bd340daba5a4700ad8a5389d1f9ec29984516a1167827ae55c28240dafb558df29e1f758a4f7af80caa1e7 -EBUILD tp_smapi-0.43-r1.ebuild 1970 BLAKE2B e010dfff03f66720c9d6774dcaeb456dfcca508c246bfbc4145f213d015353248d3f18903ddfd9801e11e43b55f804c02e41c6f77352ba92c92d60c498c0a161 SHA512 c227146e725fefad8fdafdd7ff9321faab17c44df523ba7d4f63e82814d6284490eb780b5160b92028324b9229bf958bafafdf0cdb82e38417597b9c439240fc +EBUILD tp_smapi-0.43-r2.ebuild 1972 BLAKE2B 7233b4d28930f40417981c4f3b68924ffa505149970dd989e2487e529eda0b24fa4ef76902fdc01587d0837cf371430a68c7551724a1d9e6123bf6e451b4ed10 SHA512 7216a203f3330a6b1c6299ddc9ac9c3f6e511453e95fc11b12bb45dba9d9613ae56fed73e61ad469e46f70460770a05512804ddb24e6aa3a6572c5d279291b8e MISC metadata.xml 474 BLAKE2B dc28834282453dbb412e11a3677d2c4fe8bf2b9f90b4c700aa4de53b87ea0b1e80a9aeb8d24254a6e4d61e3e55c8fa3bf34db8eb55015ea788c5d49363618edf SHA512 94866e40b00e2ea573ac250e8e4f715c7cefc6118eba385ebbbfbe641d8ab6ccb691def271873bb50e6454f2bb7834fc7901c7dde8fa0ed5b132afee3af20970 diff --git a/app-laptop/tp_smapi/tp_smapi-0.43-r1.ebuild b/app-laptop/tp_smapi/tp_smapi-0.43-r1.ebuild deleted file mode 100644 index ca46cf62c791..000000000000 --- a/app-laptop/tp_smapi/tp_smapi-0.43-r1.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit flag-o-matic linux-mod - -DESCRIPTION="IBM ThinkPad SMAPI BIOS driver" -HOMEPAGE="https://github.com/evgeni/tp_smapi" -SRC_URI="https://github.com/evgeni/tp_smapi/releases/download/tp-smapi/${PV}/${P}.tgz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" - -IUSE="hdaps" - -# We need dmideode if the kernel does not support -# DMI_DEV_TYPE_OEM_STRING in dmi.h. -DEPEND="sys-apps/dmidecode" -RDEPEND="${DEPEND}" - -# This code is factored out of both pkg_pretend() and pkg_setup() -# because the PMS states that ebuilds may not call phase functions -# directly (see the "List of functions" section). This was bug #596616 -# and #596622. -tp_smapi_pkg_pretend() { - linux-mod_pkg_setup - - MODULE_NAMES="thinkpad_ec(extra:) tp_smapi(extra:)" - BUILD_PARAMS="KSRC=${KV_DIR} KBUILD=${KV_OUT_DIR}" - BUILD_TARGETS="default" - - if use hdaps; then - CONFIG_CHECK="~INPUT_UINPUT" - WARNING_INPUT_UINPUT="Your kernel needs uinput for the hdaps module to perform better" - # Why call this twice? - linux-info_pkg_setup - - MODULE_NAMES="${MODULE_NAMES} hdaps(extra:)" - BUILD_PARAMS="${BUILD_PARAMS} HDAPS=1" - - CONFIG_CHECK="~!SENSORS_HDAPS" - ERROR_SENSORS_HDAPS="${P} with USE=hdaps conflicts with in-kernel HDAPS (CONFIG_SENSORS_HDAPS)" - linux-info_pkg_setup - fi -} - -pkg_pretend() { - tp_smapi_pkg_pretend -} - -pkg_setup() { - # run again as pkg_pretend is not var safe - tp_smapi_pkg_pretend -} - -src_compile() { - # Kernel Makefiles may pull in -mpreferred-stack-boundary=3 - # which requires that SSE disabled or compilation will fail. - # So we need to ensure that appended user CLAGS do not re-enable SSE - # https://bugs.gentoo.org/show_bug.cgi?id=492964 - replace-flags '-msse*' '' - replace-flags '-mssse3' '' - - linux-mod_src_compile -} - -src_install() { - linux-mod_src_install - einstalldocs - newinitd "${FILESDIR}/${PN}-0.40-initd" smapi - newconfd "${FILESDIR}/${PN}-0.40-confd" smapi -} diff --git a/app-laptop/tp_smapi/tp_smapi-0.43-r2.ebuild b/app-laptop/tp_smapi/tp_smapi-0.43-r2.ebuild new file mode 100644 index 000000000000..dab1bde4c144 --- /dev/null +++ b/app-laptop/tp_smapi/tp_smapi-0.43-r2.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +inherit flag-o-matic linux-mod + +DESCRIPTION="IBM ThinkPad SMAPI BIOS driver" +HOMEPAGE="https://github.com/evgeni/tp_smapi" +SRC_URI="https://github.com/evgeni/tp_smapi/releases/download/tp-smapi/${PV}/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" + +IUSE="hdaps" + +# We need dmideode if the kernel does not support +# DMI_DEV_TYPE_OEM_STRING in dmi.h. +DEPEND="sys-apps/dmidecode" +RDEPEND="${DEPEND}" + +# This code is factored out of both pkg_pretend() and pkg_setup() +# because the PMS states that ebuilds may not call phase functions +# directly (see the "List of functions" section). This was bug #596616 +# and #596622. +tp_smapi_pkg_pretend() { + linux-mod_pkg_setup + + MODULE_NAMES="thinkpad_ec(extra:) tp_smapi(extra:)" + BUILD_PARAMS="KSRC=${KV_DIR} KBUILD=${KV_OUT_DIR}" + BUILD_TARGETS="default" + + if use hdaps; then + CONFIG_CHECK="~INPUT_UINPUT" + WARNING_INPUT_UINPUT="Your kernel needs uinput for the hdaps module to perform better" + # Why call this twice? + linux-info_pkg_setup + + MODULE_NAMES="${MODULE_NAMES} hdaps(extra:)" + BUILD_PARAMS="${BUILD_PARAMS} HDAPS=1" + + CONFIG_CHECK="~!SENSORS_HDAPS" + ERROR_SENSORS_HDAPS="${P} with USE=hdaps conflicts with in-kernel HDAPS (CONFIG_SENSORS_HDAPS)" + linux-info_pkg_setup + fi +} + +pkg_pretend() { + tp_smapi_pkg_pretend +} + +pkg_setup() { + # run again as pkg_pretend is not var safe + tp_smapi_pkg_pretend +} + +src_compile() { + # Kernel Makefiles may pull in -mpreferred-stack-boundary=3 + # which requires that SSE disabled or compilation will fail. + # So we need to ensure that appended user CLAGS do not re-enable SSE + # https://bugs.gentoo.org/show_bug.cgi?id=492964 + replace-flags '-msse*' '' + replace-flags '-mssse3' '' + + linux-mod_src_compile +} + +src_install() { + linux-mod_src_install + einstalldocs + newinitd "${FILESDIR}/${PN}-0.40-initd" smapi + newconfd "${FILESDIR}/${PN}-0.40-confd" smapi +} -- cgit v1.2.3