diff options
Diffstat (limited to 'sys-power/bbswitch')
-rw-r--r-- | sys-power/bbswitch/Manifest | 3 | ||||
-rw-r--r-- | sys-power/bbswitch/bbswitch-0.8_p20211129-r1.ebuild | 4 | ||||
-rw-r--r-- | sys-power/bbswitch/bbswitch-0.8_p20211129.ebuild | 57 |
3 files changed, 2 insertions, 62 deletions
diff --git a/sys-power/bbswitch/Manifest b/sys-power/bbswitch/Manifest index 9ec6a513507f..d8c1c928b41c 100644 --- a/sys-power/bbswitch/Manifest +++ b/sys-power/bbswitch/Manifest @@ -1,6 +1,5 @@ AUX bbswitch-kernel-5.18.patch 627 BLAKE2B 2b7673a82e5d90192667aba1d741353cdc8d9566636a28045b44e5fc130dc0c413a182a2c9b57e07337433fb447efec7b756b68fa94cc0e11eed02f42cf88706 SHA512 c658e0e8de95c678d1a3ea5659344fff9fce14a93e0f8da3f21f79dc9c820feb3c540e1892ffc10a444c96a768d6d3fecd684315988da5f401f5c6ef6f37be79 AUX bbswitch.modprobe 46 BLAKE2B e76506e79adc57bedd68f038293257e7c70f1f3bc924776741e152b7c95c691f5241066b742583af063a4bdde90134005949ce28715d0b8f0c51f59c582223c8 SHA512 a4fa992d66b401e039c995b64ac5f3b2491c3ccf4412e211d50d1e514253f9341dc77a6d8da808f03988735e44a97bb973f3303ed3c0eeed6f4e21794d3545b6 DIST bbswitch-0.8_p20211129.tar.gz 15889 BLAKE2B f81343529957603734bc29453ae9513eb5e19a87425adb8975c621357c7caa0f353e06367cc186230adb28f75ae48330a58ba904854415bc118c8573f71566a0 SHA512 e7873ae34aed13e8f4d5709fede763552c28528e853ad02ee4a4377c043f1ce2ae5f7fc3e831ea1dc65f5a1c0a5ddded93b451258b539ed72b0e1c196676a677 -EBUILD bbswitch-0.8_p20211129-r1.ebuild 1210 BLAKE2B ae6d9f87ac97ced032af66587d3951685cd07c530dbaed86a7f6d777bb9ec1ec41e7ae16ad83008db7ce41b6b6edd2c9a328a7d1ff446d1cac8e00181ce064ca SHA512 3d6320389646af1a30a51b95cb1484cd66bdfc35bf4e7dd1e578688c6bf32c897889c5c1e5a6d3f7461cb126a95614a5754ab38428820b6a0ec3c9e082b5e0f1 -EBUILD bbswitch-0.8_p20211129.ebuild 1206 BLAKE2B d6c99e136626d00018743ad9a9e23e4eab3a24d7a9f088e8f8877fc76837dadc381b8b4a2537ca3bd64c00a6c6e76c6138d59780471480313dd47077153699d1 SHA512 2f20f9c0009c3d5fa1c578f83f9223e7d33cb7cf60295dd19e8ad69f0ddb74854195f5668377f088303dae73e52bbdf87a2b0b8e7152718cb231166752c46a7b +EBUILD bbswitch-0.8_p20211129-r1.ebuild 1191 BLAKE2B 8265845a4b8e120a5857f02dda194556e55fe3487a8c40bdc1656e82c4ca4318feaa604b0374e689ce2a67301baf1d84ee179b87407d9fa2f8cfaa0f215bb394 SHA512 fc50a9de5f267259c53c84cb4df87ed2bceb9a90b0c4dae6a306e2cc287e570810179c015f646a546d06b890c462578f91aaa739a58c89adf2e132f12324ce15 MISC metadata.xml 890 BLAKE2B a4d4e03d2afbc306764bd5ddf12565bb0f4a9030c90bd97b71c49e7e2517f3659c7b7b3906d1f6b24c66e4805afa58019a011f5c11a9bff9c39110dd0ba4fbc3 SHA512 92b38efd2fa3312d20b155829590c309e33f2b8c65dbae7b6527c5a15c4647997e9936c4b12b64f4c064fe36256f73b1511f70b33f3d6ef8ea9d259e60008268 diff --git a/sys-power/bbswitch/bbswitch-0.8_p20211129-r1.ebuild b/sys-power/bbswitch/bbswitch-0.8_p20211129-r1.ebuild index 9fe6d62a889b..cbcafe0ac39e 100644 --- a/sys-power/bbswitch/bbswitch-0.8_p20211129-r1.ebuild +++ b/sys-power/bbswitch/bbswitch-0.8_p20211129-r1.ebuild @@ -19,15 +19,13 @@ fi DESCRIPTION="Toggle discrete NVIDIA Optimus graphics card" HOMEPAGE="https://github.com/Bumblebee-Project/bbswitch" -SLOT="0" LICENSE="GPL-3+" -IUSE="" +SLOT="0" DEPEND=" virtual/linux-sources sys-kernel/linux-headers " -RDEPEND="" PATCHES=( "${FILESDIR}/${PN}-kernel-5.18.patch" ) diff --git a/sys-power/bbswitch/bbswitch-0.8_p20211129.ebuild b/sys-power/bbswitch/bbswitch-0.8_p20211129.ebuild deleted file mode 100644 index 2aa21af88733..000000000000 --- a/sys-power/bbswitch/bbswitch-0.8_p20211129.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit linux-mod toolchain-funcs - -if [[ ${PV} == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/Bumblebee-Project/${PN}.git" - EGIT_BRANCH="develop" -else - COMMIT="23891174a80ea79c7720bcc7048a5c2bfcde5cd9" - SRC_URI="https://github.com/Bumblebee-Project/bbswitch/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 x86" - S="${WORKDIR}/bbswitch-${COMMIT}" -fi - -DESCRIPTION="Toggle discrete NVIDIA Optimus graphics card" -HOMEPAGE="https://github.com/Bumblebee-Project/bbswitch" - -SLOT="0" -LICENSE="GPL-3+" -IUSE="" - -DEPEND=" - virtual/linux-sources - sys-kernel/linux-headers -" -RDEPEND="" - -MODULE_NAMES="bbswitch(acpi)" - -PATCHES=( "${FILESDIR}/${PN}-kernel-5.18.patch" ) - -pkg_setup() { - linux-mod_pkg_setup - - BUILD_TARGETS="default" - BUILD_PARAMS="KVERSION=${KV_FULL} CC=$(tc-getCC)" -} - -src_prepare() { - # Fix build failure, bug #513542 and bug #761370 - sed "s%^KDIR :=.*%KDIR := ${KV_OUT_DIR:-$KERNEL_DIR}%g" -i Makefile || die - - default -} - -src_install() { - einstalldocs - - insinto /etc/modprobe.d - newins "${FILESDIR}"/bbswitch.modprobe bbswitch.conf - - linux-mod_src_install -} |