Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-power/bbswitch/
Date: Fri, 27 May 2022 21:24:06
Message-Id: 1653686633.518b643fd03ffa56522bd0e1541ceb1465bc63a7.pacho@gentoo
1 commit: 518b643fd03ffa56522bd0e1541ceb1465bc63a7
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Fri May 27 21:23:06 2022 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Fri May 27 21:23:53 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=518b643f
7
8 sys-power/bbswitch: drop 0.8_p20200526
9
10 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
11
12 sys-power/bbswitch/Manifest | 1 -
13 sys-power/bbswitch/bbswitch-0.8_p20200526.ebuild | 55 ------------------------
14 2 files changed, 56 deletions(-)
15
16 diff --git a/sys-power/bbswitch/Manifest b/sys-power/bbswitch/Manifest
17 index 97f834f76331..959fb69350c2 100644
18 --- a/sys-power/bbswitch/Manifest
19 +++ b/sys-power/bbswitch/Manifest
20 @@ -1,2 +1 @@
21 -DIST bbswitch-0.8_p20200526.tar.gz 15869 BLAKE2B cdeaf539a0996f53d3add215fca1127321b7183526a248340177f4320171b92a5ce531eeedfb1da2f0d9f07c6b61e8cfb635a457406e477640f2e7090b29b655 SHA512 487bcd845d1f462e77b5b9e3f304cd28d0ddfd391ecc36de530a3d18d9d4932bc895ed29972e27006b6f3eeb50c37b523ef786a26b6ee75c19fa55288a496d4a
22 DIST bbswitch-0.8_p20211129.tar.gz 15889 BLAKE2B f81343529957603734bc29453ae9513eb5e19a87425adb8975c621357c7caa0f353e06367cc186230adb28f75ae48330a58ba904854415bc118c8573f71566a0 SHA512 e7873ae34aed13e8f4d5709fede763552c28528e853ad02ee4a4377c043f1ce2ae5f7fc3e831ea1dc65f5a1c0a5ddded93b451258b539ed72b0e1c196676a677
23
24 diff --git a/sys-power/bbswitch/bbswitch-0.8_p20200526.ebuild b/sys-power/bbswitch/bbswitch-0.8_p20200526.ebuild
25 deleted file mode 100644
26 index 62367166d15b..000000000000
27 --- a/sys-power/bbswitch/bbswitch-0.8_p20200526.ebuild
28 +++ /dev/null
29 @@ -1,55 +0,0 @@
30 -# Copyright 1999-2021 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=7
34 -
35 -inherit linux-mod toolchain-funcs
36 -
37 -if [[ ${PV} == 9999 ]]; then
38 - inherit git-r3
39 - EGIT_REPO_URI="https://github.com/Bumblebee-Project/${PN}.git"
40 - EGIT_BRANCH="develop"
41 -else
42 - COMMIT="ddbd243638c7bc2baecf43a78aff46cdc12e9b2e"
43 - SRC_URI="https://github.com/Bumblebee-Project/bbswitch/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
44 - KEYWORDS="amd64 x86"
45 - S="${WORKDIR}/bbswitch-${COMMIT}"
46 -fi
47 -
48 -DESCRIPTION="Toggle discrete NVIDIA Optimus graphics card"
49 -HOMEPAGE="https://github.com/Bumblebee-Project/bbswitch"
50 -
51 -SLOT="0"
52 -LICENSE="GPL-3+"
53 -IUSE=""
54 -
55 -DEPEND="
56 - virtual/linux-sources
57 - sys-kernel/linux-headers
58 -"
59 -RDEPEND=""
60 -
61 -MODULE_NAMES="bbswitch(acpi)"
62 -
63 -pkg_setup() {
64 - linux-mod_pkg_setup
65 -
66 - BUILD_TARGETS="default"
67 - BUILD_PARAMS="KVERSION=${KV_FULL} CC=$(tc-getCC)"
68 -}
69 -
70 -src_prepare() {
71 - # Fix build failure, bug #513542 and bug #761370
72 - sed "s%^KDIR :=.*%KDIR := ${KV_OUT_DIR:-$KERNEL_DIR}%g" -i Makefile || die
73 -
74 - default
75 -}
76 -
77 -src_install() {
78 - einstalldocs
79 -
80 - insinto /etc/modprobe.d
81 - newins "${FILESDIR}"/bbswitch.modprobe bbswitch.conf
82 -
83 - linux-mod_src_install
84 -}