summaryrefslogtreecommitdiff
path: root/app-laptop
diff options
context:
space:
mode:
Diffstat (limited to 'app-laptop')
-rw-r--r--app-laptop/Manifest.gzbin3249 -> 3246 bytes
-rw-r--r--app-laptop/mbpfan/Manifest6
-rw-r--r--app-laptop/mbpfan/mbpfan-2.1.1.ebuild43
-rw-r--r--app-laptop/mbpfan/mbpfan-2.2.1-r1.ebuild (renamed from app-laptop/mbpfan/mbpfan-2.2.1.ebuild)17
-rw-r--r--app-laptop/mbpfan/mbpfan-9999.ebuild17
-rw-r--r--app-laptop/tpacpi-bat/Manifest6
-rw-r--r--app-laptop/tpacpi-bat/tpacpi-bat-3.0-r1.ebuild32
-rw-r--r--app-laptop/tpacpi-bat/tpacpi-bat-3.1-r1.ebuild (renamed from app-laptop/tpacpi-bat/tpacpi-bat-3.1.ebuild)19
-rw-r--r--app-laptop/tpacpi-bat/tpacpi-bat-9999.ebuild19
9 files changed, 42 insertions, 117 deletions
diff --git a/app-laptop/Manifest.gz b/app-laptop/Manifest.gz
index 2ba96e578954..f73e2ae231cf 100644
--- a/app-laptop/Manifest.gz
+++ b/app-laptop/Manifest.gz
Binary files differ
diff --git a/app-laptop/mbpfan/Manifest b/app-laptop/mbpfan/Manifest
index 6151ba2b3229..f6c7542890eb 100644
--- a/app-laptop/mbpfan/Manifest
+++ b/app-laptop/mbpfan/Manifest
@@ -1,6 +1,4 @@
-DIST mbpfan-2.1.1.tar.gz 40637 BLAKE2B bdd17a9a883cc9af3cb7d55a2c8594c435fb367f0c6b5dec2b3da85747e2c2af591ed1dabf082cbbc31ac92ce5b2dc5194d8a50836c87cd784f238322ab09d9f SHA512 c1bf81c5e2f2f4f710a8455c65f10dc2dc2255319a7dbf4367c31884eece8d9909d28f3a00e5fc4d964d65254b36202a2a2b666d0ef04ea04153baded6039449
DIST mbpfan-2.2.1.tar.gz 40455 BLAKE2B 0932919b4808fa41d64c326f0d202650be25798ca692b4c17cc94a88f3287ccdd10d74c27f95ac8ef7d900f0067b3c40dc8798d99210b89c01b8cb0d63187b98 SHA512 ce358047910bd6996e1d47fe08e1825863e043fc9a33b3c4922ea537e58dd7508fc45c651816125e7b32472cbb3d06afa4a487daba5b910a8580623def938a71
-EBUILD mbpfan-2.1.1.ebuild 1159 BLAKE2B b732fd2d324cd270af00564df237896b6651074c4aa4b499f62ee789288be470be9d14581ca4e44bb25aaa92ea48f3e50a68fce24b4bf83d6dbcfc22b3cd330f SHA512 16fac95a2daf9ae4a6dd5d342c0a396a7152b9b2be861636ee57fe3699d18abb143c635287103276668696e91d5ce390d706f4657ee7c89130316602c3c9b388
-EBUILD mbpfan-2.2.1.ebuild 1272 BLAKE2B 1ee6390cd18d42b15408b825403a531da829eb71ed914a93a2c476c9b44be7de66cdeb545dafb55d072cef77779c0229c26e19808533ac6fc421c2484c12ac55 SHA512 0a12fd5703c1eee437efd224068a362eccdf036a9f3496b0b94e36be1e4b09bcaab8aceb4ce36f5dc33a1ee542d19fe4ae5dff23043fc460776c5842f8fc7eb5
-EBUILD mbpfan-9999.ebuild 1272 BLAKE2B 1ee6390cd18d42b15408b825403a531da829eb71ed914a93a2c476c9b44be7de66cdeb545dafb55d072cef77779c0229c26e19808533ac6fc421c2484c12ac55 SHA512 0a12fd5703c1eee437efd224068a362eccdf036a9f3496b0b94e36be1e4b09bcaab8aceb4ce36f5dc33a1ee542d19fe4ae5dff23043fc460776c5842f8fc7eb5
+EBUILD mbpfan-2.2.1-r1.ebuild 1268 BLAKE2B d06dc087c6c857239069624770bdf8214847d44bc4f0156654e812666dd87fc2bcc2e3d04af0de513f655c58dbfcb6b3d57e919ef0adbf448aeede8352285780 SHA512 ced6de88ebfda6389f250234ed474373e64b759f970384f0866667e104e3760a14e911ca680ee286682e32deb6a3dbe78fee9cd6ac3210fbe60f91656a71a2ca
+EBUILD mbpfan-9999.ebuild 1268 BLAKE2B d06dc087c6c857239069624770bdf8214847d44bc4f0156654e812666dd87fc2bcc2e3d04af0de513f655c58dbfcb6b3d57e919ef0adbf448aeede8352285780 SHA512 ced6de88ebfda6389f250234ed474373e64b759f970384f0866667e104e3760a14e911ca680ee286682e32deb6a3dbe78fee9cd6ac3210fbe60f91656a71a2ca
MISC metadata.xml 690 BLAKE2B bde3ec1fac36fe5dd4f3fa628f16a7fb6fe64179ae8f9e8ee8edb651abec9da089d1e875db956931d4182d8975bd1de04c43104260e1bba04f01433f0741fe7e SHA512 bbec74e4ae64483001c35aa3963e9e681d63c4e6205b838b0dc0d952b461497c0ff3ad5d52e8714d1804f2935d4db8f69da6aa79b01964f0a6da99ed6eb5f89c
diff --git a/app-laptop/mbpfan/mbpfan-2.1.1.ebuild b/app-laptop/mbpfan/mbpfan-2.1.1.ebuild
deleted file mode 100644
index 565655fb2b27..000000000000
--- a/app-laptop/mbpfan/mbpfan-2.1.1.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit linux-info systemd toolchain-funcs
-
-DESCRIPTION="A simple daemon to control fan speed on all Macbook/Macbook Pros"
-HOMEPAGE="https://github.com/dgraziotin/mbpfan"
-LICENSE="GPL-3+"
-SLOT="0"
-RESTRICT="test" # will fail if the hardware is unavailable, not useful
-
-if [[ "${PV}" = 9999 ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/dgraziotin/${PN}.git"
-else
- SRC_URI="https://github.com/dgraziotin/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64"
-fi
-
-CONFIG_CHECK="~SENSORS_APPLESMC ~SENSORS_CORETEMP"
-
-src_compile() {
- emake CC="$(tc-getCC)"
-}
-
-src_install() {
- emake DESTDIR="${ED}" install
-
- # Remove the empty systemd unit directory
- # It doesn't actually install the unit file
- rmdir --ignore-fail-on-non-empty -p "${ED%/}/lib/systemd/system" || die
- # Actually install the sytstemd unit file
- systemd_dounit ${PN}.service
- # Install openrc init file
- newinitd ${PN}.init.gentoo ${PN}
-
- # make install doesn't install the docs in the right place
- rm -rf "${ED%/}/usr/share/doc/${PN}" || die
-
- einstalldocs
-}
diff --git a/app-laptop/mbpfan/mbpfan-2.2.1.ebuild b/app-laptop/mbpfan/mbpfan-2.2.1-r1.ebuild
index e1a4cb35e935..1bbd3102e15e 100644
--- a/app-laptop/mbpfan/mbpfan-2.2.1.ebuild
+++ b/app-laptop/mbpfan/mbpfan-2.2.1-r1.ebuild
@@ -1,17 +1,14 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
inherit linux-info systemd toolchain-funcs
DESCRIPTION="A simple daemon to control fan speed on all Macbook/Macbook Pros"
HOMEPAGE="https://github.com/dgraziotin/mbpfan"
-LICENSE="GPL-3+"
-SLOT="0"
-RESTRICT="test" # will fail if the hardware is unavailable, not useful
-if [[ "${PV}" = 9999 ]]; then
+if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/dgraziotin/${PN}.git"
else
@@ -19,6 +16,10 @@ else
KEYWORDS="~amd64"
fi
+LICENSE="GPL-3+"
+SLOT="0"
+RESTRICT="test" # will fail if the hardware is unavailable, not useful
+
CONFIG_CHECK="~SENSORS_APPLESMC ~SENSORS_CORETEMP"
src_compile() {
@@ -33,14 +34,14 @@ src_install() {
# Remove the empty systemd unit directory
# It doesn't actually install the unit file
- rmdir --ignore-fail-on-non-empty -p "${ED%/}/lib/systemd/system" || die
+ rmdir --ignore-fail-on-non-empty -p "${ED}"/lib/systemd/system || die
# Actually install the sytstemd unit file
systemd_dounit ${PN}.service
# Install openrc init file
newinitd ${PN}.init.gentoo ${PN}
# make install doesn't install the docs in the right place
- rm -rf "${ED%/}/usr/share/doc/${PN}" || die
+ rm -r "${ED}"/usr/share/doc/${PN} || die
einstalldocs
}
diff --git a/app-laptop/mbpfan/mbpfan-9999.ebuild b/app-laptop/mbpfan/mbpfan-9999.ebuild
index e1a4cb35e935..1bbd3102e15e 100644
--- a/app-laptop/mbpfan/mbpfan-9999.ebuild
+++ b/app-laptop/mbpfan/mbpfan-9999.ebuild
@@ -1,17 +1,14 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
inherit linux-info systemd toolchain-funcs
DESCRIPTION="A simple daemon to control fan speed on all Macbook/Macbook Pros"
HOMEPAGE="https://github.com/dgraziotin/mbpfan"
-LICENSE="GPL-3+"
-SLOT="0"
-RESTRICT="test" # will fail if the hardware is unavailable, not useful
-if [[ "${PV}" = 9999 ]]; then
+if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/dgraziotin/${PN}.git"
else
@@ -19,6 +16,10 @@ else
KEYWORDS="~amd64"
fi
+LICENSE="GPL-3+"
+SLOT="0"
+RESTRICT="test" # will fail if the hardware is unavailable, not useful
+
CONFIG_CHECK="~SENSORS_APPLESMC ~SENSORS_CORETEMP"
src_compile() {
@@ -33,14 +34,14 @@ src_install() {
# Remove the empty systemd unit directory
# It doesn't actually install the unit file
- rmdir --ignore-fail-on-non-empty -p "${ED%/}/lib/systemd/system" || die
+ rmdir --ignore-fail-on-non-empty -p "${ED}"/lib/systemd/system || die
# Actually install the sytstemd unit file
systemd_dounit ${PN}.service
# Install openrc init file
newinitd ${PN}.init.gentoo ${PN}
# make install doesn't install the docs in the right place
- rm -rf "${ED%/}/usr/share/doc/${PN}" || die
+ rm -r "${ED}"/usr/share/doc/${PN} || die
einstalldocs
}
diff --git a/app-laptop/tpacpi-bat/Manifest b/app-laptop/tpacpi-bat/Manifest
index 6c01f26d4980..89530e0e1d3a 100644
--- a/app-laptop/tpacpi-bat/Manifest
+++ b/app-laptop/tpacpi-bat/Manifest
@@ -1,8 +1,6 @@
AUX tpacpi-bat.confd.1 668 BLAKE2B 88ebd00838e2ed0febbd1321e2ab13dfc4bea292f3f7f665b045370b960d5c462e1d4c139dfbf1061d1692d7acf79b8b794f3c51d4c3e626c9ca7ef515fc6c78 SHA512 570824184f85e9f4b687e67131165671389b836d94f15edbd4bd14c77b0c6546c2991da25bc0172ccdee03cc8c0ad82c378e982e147334e9cb83334d0382038b
AUX tpacpi-bat.initd.2 1488 BLAKE2B 43e196ae490ba367edc15b1b9a0ef81cc7f56fec33b7ee8e91251f66705d1c5e38caa65a803e8872344149e384ae0b162c6b30e540c38aeceb12958fa0386b86 SHA512 ccd84bc4cd44ed8a3b2c101501ae220d8add3b189f172e4ba5fe9532ba5a64a188b90054696cc60b7bc1b3d72f636649e4678c020c789933d0b4d25f6ffd386d
-DIST tpacpi-bat-3.0.tar.gz 18137 BLAKE2B db0db2c06d5bc78eb028cb0db2532e5500cce2370c23ab3bf1e49433b83ed2be7cfffe080e46c3699838ff00025d516dd37e071081f79c7d5d6293f4f49730d4 SHA512 2beab3e5495f028b53d673a4243a2128f4ff85e19e18ac7d53663a1d62e20b271442d6c2c8f19cb41d618ddf7ebb4d9b8390f7f185f77bdca33c69bb19463128
DIST tpacpi-bat-3.1.tar.gz 18584 BLAKE2B 5f1e890f33be4e0d176bda486d9e4363d56a7a933677eb69bedca9ec42e8af5a0e5494f8447702d33ffecda3d1d4a447a56f7aeb9480a3b855a24bce45028d38 SHA512 cdc9e0c0ded96281678199783b4c48ff85a497c90b244a7ce2276b54d7ae4bfa7eb430214bcdb6fabd7478796507b0fbe7fed4b1ab4bc4cdd7bd5ae25f943a77
-EBUILD tpacpi-bat-3.0-r1.ebuild 773 BLAKE2B da68abf31c6568a011261d1e8b70672483eb5fa8470a1d203588f282c725c884fe123e98ef8a906cff1894caaf07b92466b6e249fe098ddd2d1ae9d59a5b8775 SHA512 17a7917cb3e96d98be9143072e8a50016b5d6794c51c2e59784403e24d64ea75c2ba11c3386e63f375c92659c456a49907e34a47c0f146f3eb2fc7b0d206eb51
-EBUILD tpacpi-bat-3.1.ebuild 813 BLAKE2B e4072b3ec336ff4616e2c877b26db2af2861ab4af951b2efc2ca9c482aee90a62939497902b7fb315ea447ffa27d8ac11f568e6fb138e0e22de0a0ae992507af SHA512 15fcb6a1c24dc78173d4279e86df9112b3363b1857c2924aafe19307f6159c8057446b20ca3f3083005fc0dd2b571f65dc72d8a8a23775a4262180e4ffcb858c
-EBUILD tpacpi-bat-9999.ebuild 813 BLAKE2B e4072b3ec336ff4616e2c877b26db2af2861ab4af951b2efc2ca9c482aee90a62939497902b7fb315ea447ffa27d8ac11f568e6fb138e0e22de0a0ae992507af SHA512 15fcb6a1c24dc78173d4279e86df9112b3363b1857c2924aafe19307f6159c8057446b20ca3f3083005fc0dd2b571f65dc72d8a8a23775a4262180e4ffcb858c
+EBUILD tpacpi-bat-3.1-r1.ebuild 799 BLAKE2B 207ea4cf6217813ffee525eea23e3feb69d44be9c213ff346b6e94093338f61c2a1ce7bb9b6861258db41ceba1fcdea6a6814e598aad3d21d990f0b3e5e2648a SHA512 7e0b987d48d54633a7f0cbe667a1a3d08cde0814fe87e346dd531acc19ecfe8ac85ea9fbdddeeb75ae046161c18e08595188dd687ceec7b437e11b3de5431a60
+EBUILD tpacpi-bat-9999.ebuild 799 BLAKE2B 207ea4cf6217813ffee525eea23e3feb69d44be9c213ff346b6e94093338f61c2a1ce7bb9b6861258db41ceba1fcdea6a6814e598aad3d21d990f0b3e5e2648a SHA512 7e0b987d48d54633a7f0cbe667a1a3d08cde0814fe87e346dd531acc19ecfe8ac85ea9fbdddeeb75ae046161c18e08595188dd687ceec7b437e11b3de5431a60
MISC metadata.xml 339 BLAKE2B 6e26cad21d95bacf45fcf3ae51c05726a4c65549662929593054843831051a232a92d746b830816a195c12e41947d83440d610d28c570649b8881eed2f18ef24 SHA512 0703897b1761de25d6a9735e69029e99693027a5556822174266d09211efc925175c3f96e888be33e9d19733367aaa80beb13f2932ec46812b8488a2cc2ac9c2
diff --git a/app-laptop/tpacpi-bat/tpacpi-bat-3.0-r1.ebuild b/app-laptop/tpacpi-bat/tpacpi-bat-3.0-r1.ebuild
deleted file mode 100644
index 0751d72324c5..000000000000
--- a/app-laptop/tpacpi-bat/tpacpi-bat-3.0-r1.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit systemd
-
-if [ "${PV}" = "9999" ]; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/teleshoes/tpacpi-bat.git"
-else
- SRC_URI="https://github.com/teleshoes/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64"
-fi
-DESCRIPTION="Control battery thresholds of recent ThinkPads, not supported by tp_smapi"
-HOMEPAGE="https://github.com/teleshoes/tpacpi-bat"
-
-LICENSE="GPL-3"
-SLOT="0"
-IUSE=""
-
-DEPEND=""
-RDEPEND="sys-power/acpi_call
- dev-lang/perl"
-
-src_install() {
- dodoc README battery_asl
- dobin tpacpi-bat
- newinitd "${FILESDIR}"/${PN}.initd.2 ${PN}
- newconfd "${FILESDIR}"/${PN}.confd.1 ${PN}
- systemd_newunit tpacpi.service ${PN}.service
-}
diff --git a/app-laptop/tpacpi-bat/tpacpi-bat-3.1.ebuild b/app-laptop/tpacpi-bat/tpacpi-bat-3.1-r1.ebuild
index 39f5df050623..74b72ce18688 100644
--- a/app-laptop/tpacpi-bat/tpacpi-bat-3.1.ebuild
+++ b/app-laptop/tpacpi-bat/tpacpi-bat-3.1-r1.ebuild
@@ -1,31 +1,32 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
inherit systemd
-if [ "${PV}" = "9999" ]; then
+DESCRIPTION="Control battery thresholds of recent ThinkPads, not supported by tp_smapi"
+HOMEPAGE="https://github.com/teleshoes/tpacpi-bat"
+
+if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/teleshoes/tpacpi-bat.git"
else
SRC_URI="https://github.com/teleshoes/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
-DESCRIPTION="Control battery thresholds of recent ThinkPads, not supported by tp_smapi"
-HOMEPAGE="https://github.com/teleshoes/tpacpi-bat"
LICENSE="GPL-3"
SLOT="0"
-IUSE=""
-DEPEND=""
-RDEPEND="sys-power/acpi_call
+RDEPEND="
+ sys-power/acpi_call
dev-lang/perl"
src_install() {
- dodoc README.md battery_asl
dobin tpacpi-bat
+ dodoc README.md battery_asl
+
newinitd "${FILESDIR}"/${PN}.initd.2 ${PN}
newconfd "${FILESDIR}"/${PN}.confd.1 ${PN}
systemd_newunit examples/systemd_fixed_threshold/tpacpi.service \
diff --git a/app-laptop/tpacpi-bat/tpacpi-bat-9999.ebuild b/app-laptop/tpacpi-bat/tpacpi-bat-9999.ebuild
index 39f5df050623..74b72ce18688 100644
--- a/app-laptop/tpacpi-bat/tpacpi-bat-9999.ebuild
+++ b/app-laptop/tpacpi-bat/tpacpi-bat-9999.ebuild
@@ -1,31 +1,32 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
inherit systemd
-if [ "${PV}" = "9999" ]; then
+DESCRIPTION="Control battery thresholds of recent ThinkPads, not supported by tp_smapi"
+HOMEPAGE="https://github.com/teleshoes/tpacpi-bat"
+
+if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/teleshoes/tpacpi-bat.git"
else
SRC_URI="https://github.com/teleshoes/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
-DESCRIPTION="Control battery thresholds of recent ThinkPads, not supported by tp_smapi"
-HOMEPAGE="https://github.com/teleshoes/tpacpi-bat"
LICENSE="GPL-3"
SLOT="0"
-IUSE=""
-DEPEND=""
-RDEPEND="sys-power/acpi_call
+RDEPEND="
+ sys-power/acpi_call
dev-lang/perl"
src_install() {
- dodoc README.md battery_asl
dobin tpacpi-bat
+ dodoc README.md battery_asl
+
newinitd "${FILESDIR}"/${PN}.initd.2 ${PN}
newconfd "${FILESDIR}"/${PN}.confd.1 ${PN}
systemd_newunit examples/systemd_fixed_threshold/tpacpi.service \