summaryrefslogtreecommitdiff
path: root/app-laptop/mbpfan
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-05-04 12:02:00 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-05-04 12:02:00 +0100
commiteab5731cdf11d4ae8cdf111461d46fd96c5bdd37 (patch)
treece35c6d01b5ff5de95c3a20fef853b9a6518ad2e /app-laptop/mbpfan
parentb7ebc951da8800f711142f69d9d958bde67a112d (diff)
gentoo resync : 04.05.2019
Diffstat (limited to 'app-laptop/mbpfan')
-rw-r--r--app-laptop/mbpfan/Manifest2
-rw-r--r--app-laptop/mbpfan/mbpfan-2.1.1.ebuild44
2 files changed, 46 insertions, 0 deletions
diff --git a/app-laptop/mbpfan/Manifest b/app-laptop/mbpfan/Manifest
index ca4aaa636e0d..3118c6e60e75 100644
--- a/app-laptop/mbpfan/Manifest
+++ b/app-laptop/mbpfan/Manifest
@@ -2,9 +2,11 @@ DIST mbpfan-1.9.1.tar.gz 24393 BLAKE2B 9fd96f6903aa360a86e2813d9bf3e57fe28dacc7b
DIST mbpfan-2.0.0.tar.gz 37912 BLAKE2B 8d2ce41d8f6a724e28ace0c23047dde4a0a60ae10beeec3e3d7194bbd6b87ae0c340cf025deca896208e225083e0bb67043c6b00135544f2d78e39fbf55b3fcd SHA512 9a7f930afe0a151fe50bf3ef1a06a5cecaced0c47f7088a83b91e25dff85d4b0d53494eac5eb1b624bde6ff1d3307a0d9fe6ba392fdacbe58e241d93d11cda6d
DIST mbpfan-2.0.1.tar.gz 37805 BLAKE2B 0988a9b5cd359b4e64fdb1e63322dea7582fdc9a9dda0760550945282ef6142dbcab8aeb78ec1a725b5f9aebcda72386e3fa4b8b5f7ecdf078106d229fb7e2af SHA512 8fd2e37b9b81720ff7efa490d285da5980ef5dcc858fef4b0c24166a8f0df46aa230ea18fca5775b222271918e5ca6df1bfbbdced068182c20eeb86192ed2019
DIST mbpfan-2.1.0.tar.gz 39303 BLAKE2B b51b7df8c24cc49561f45614a655c698b85f149367f888aceb90b90e27e2da03ede7beed58e552e163e9f625d950290198f6d56a545c10989a8d0e27909556a7 SHA512 8750ac47419e84f8692a478e3977b56b98be9e255d5be9876094eef0f86bc587510959cc4cff0d681fb9e1ecaf98f90d9d0b63a1a6ddd25e8de4ccfda747b54a
+DIST mbpfan-2.1.1.tar.gz 40637 BLAKE2B bdd17a9a883cc9af3cb7d55a2c8594c435fb367f0c6b5dec2b3da85747e2c2af591ed1dabf082cbbc31ac92ce5b2dc5194d8a50836c87cd784f238322ab09d9f SHA512 c1bf81c5e2f2f4f710a8455c65f10dc2dc2255319a7dbf4367c31884eece8d9909d28f3a00e5fc4d964d65254b36202a2a2b666d0ef04ea04153baded6039449
EBUILD mbpfan-1.9.1.ebuild 766 BLAKE2B c8bcc93a3b0a26f6b17b320f0eba11cbe01995314f78e6feef34f3a35c6e089fb71300efe88badc975b4cf747a9103cd27d7144e0a0f16e977b5e990b587bd82 SHA512 e805289f5db3b918a975028a2d16e3eef35f48ccb3db18c9f3cc12b51b4871e5420f8d90c2729e90b6b607a12aac95e88b45ed7ebf3de2e6c2818e7383d2c18b
EBUILD mbpfan-2.0.0.ebuild 1239 BLAKE2B 58302c6ffab70950fbfeda28331b702749d12908ab65e6637ec16e550f79cdd31502dc9d59e98b63e46c042ccd158d46cfce3916d584faff6fa7ca59bdbaf3c5 SHA512 84a5ff0e5f7bd141a13177760baf22d6e5c0f156aff187600b9b1c803d6616d6d9528c61303b40792d59b9a8f905c2d214b2e568b62c7da120b8e3b86cd298bb
EBUILD mbpfan-2.0.1.ebuild 1175 BLAKE2B a3a1263571fe29d67bee6ef96e8a4ba92d7259cdeb2f294e254823885b9d898f80ed97d6b8149f4630ee9ecf2145ac0f86a24371b17cbc517d37703d5b209e51 SHA512 82368d46789134ec2b7c86d671096c9a5e64db7956075dd599b858400d069a2ca07db94b41c89152493b577409aa5f458abd5caf502df472ac4c82a6fc6514a9
EBUILD mbpfan-2.1.0.ebuild 1175 BLAKE2B 6dc2729d8e09e19b0ae6d7636e4169f87a53528d0cc30fc608ef9c182c3646633fdc571f27b8e20033153583a5b7eac915b98b24a9a95138a0a38712ad37aef2 SHA512 06c2c8b07e0bd2beaf90b37e211e4c61517abc741942e1f4f9257d8a4e28283ddd2e27b9a5b49bde0191ef31a48e24f71bda67ef2b35e3714c949709afe1c820
+EBUILD mbpfan-2.1.1.ebuild 1172 BLAKE2B 08745fc73fc8840ad822add77d481cf3c21f56f438c942153ec90e103384cc0f0d478e2f0c60d27a38304b26f21eb3e16379b3971fbc833b7cdbf9459878e25c SHA512 edaaa734d39d913aa534814d47936858f3ca67a9bf0dae17a9869c1a8c0ff9dba641f4abfa2567cd5c914a325278c38292e467e4999ef2873a5e381a9906b479
EBUILD mbpfan-9999.ebuild 1175 BLAKE2B a3a1263571fe29d67bee6ef96e8a4ba92d7259cdeb2f294e254823885b9d898f80ed97d6b8149f4630ee9ecf2145ac0f86a24371b17cbc517d37703d5b209e51 SHA512 82368d46789134ec2b7c86d671096c9a5e64db7956075dd599b858400d069a2ca07db94b41c89152493b577409aa5f458abd5caf502df472ac4c82a6fc6514a9
MISC metadata.xml 689 BLAKE2B 27fd22350963186cbee04938bcd8e14e7662ea0d0d432c45ae1a6d352588e13d33cee3f461ffcef5b0c7fd0dccee8b63eb806ca05c8887d4f8c98940d93521b3 SHA512 8edd05f68f3781e684706e61cc28a1d8d5877746c7022ed5a247bb5e686de7f75cbcca2253962b51ccfc06d47445d553399e90b465a9ae466d45cd47d7d05c36
diff --git a/app-laptop/mbpfan/mbpfan-2.1.1.ebuild b/app-laptop/mbpfan/mbpfan-2.1.1.ebuild
new file mode 100644
index 000000000000..9a83fb13fa83
--- /dev/null
+++ b/app-laptop/mbpfan/mbpfan-2.1.1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2019 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"
+ KEYWORDS=""
+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
+}