Anybody else getting this error during makepkg even if yaml-cpp is installed?
CMake Error at CMakeLists.txt:60 (message):
USE_YAML enabled but yaml-cpp not found. Please install yaml-cpp[-devel]!
Git Clone URL: | https://aur.archlinux.org/thinkfan.git (read-only, click to copy) |
---|---|
Package Base: | thinkfan |
Description: | A minimalist fan control program. Supports the sysfs hwmon interface and thinkpad_acpi |
Upstream URL: | https://github.com/vmatare/thinkfan |
Licenses: | GPL-3.0-or-later |
Submitter: | FALKER |
Maintainer: | harmathy |
Last Packager: | harmathy |
Votes: | 189 |
Popularity: | 0.012606 |
First Submitted: | 2009-03-02 09:01 (UTC) |
Last Updated: | 2024-07-09 06:52 (UTC) |
« First ‹ Previous 1 2 3 4 5 6 7 .. 15 Next › Last »
Anybody else getting this error during makepkg even if yaml-cpp is installed?
CMake Error at CMakeLists.txt:60 (message):
USE_YAML enabled but yaml-cpp not found. Please install yaml-cpp[-devel]!
@dude ah, that makes sense. Thanks!
@HariSeldon You need to rebuild thinkfan after updating its dependencies.
I'm having the same issue as Github user zijian-x:
@dude, thanks for maintaining this!
Thanks for the patch, it is much appreciated. I will apply it and update the package in the morning.
Some improvements: http://ix.io/2LCC
Dont fail if BUILDDIR in makepkg.conf is not empty.
Installing "$pkgname".service
once is enough :)
diff --git a/.SRCINFO b/.SRCINFO
index 4417b42..6c419bc 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = thinkfan
pkgdesc = A minimalist fan control program. Supports the sysfs hwmon interface and thinkpad_acpi
pkgver = 1.2.1
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/vmatare/thinkfan
install = thinkfan.install
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 3c99a7e..17905ea 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=thinkfan
pkgver=1.2.1
-pkgrel=2
+pkgrel=3
pkgdesc="A minimalist fan control program. Supports the sysfs hwmon interface and thinkpad_acpi"
url="https://github.com/vmatare/thinkfan"
arch=('i686' 'x86_64')
@@ -37,10 +37,9 @@ package() {
install -D -m644 examples/* "$pkgdir"/usr/share/doc/"$pkgname"/examples
install -D -m644 src/"$pkgname".1 "$pkgdir"/usr/share/man/man1
install -D -m644 src/"$pkgname".conf.5 "$pkgdir"/usr/share/man/man5
- install -D -m644 ../"$pkgname".service rcscripts/systemd/thinkfan-wakeup.service "$pkgdir"/usr/lib/systemd/system
- install -D -m644 ../"$pkgname".service rcscripts/systemd/thinkfan-sleep.service "$pkgdir"/usr/lib/systemd/system
+ install -D -m644 "$srcdir/$pkgname".service rcscripts/systemd/thinkfan-{sleep,wakeup}.service "$pkgdir"/usr/lib/systemd/system
install -D -m644 rcscripts/systemd/override.conf "$pkgdir"/etc/systemd/system/thinkfan.service.d
- install -D -m644 ../thinkpad_acpi.conf "$pkgdir"/usr/lib/modprobe.d
+ install -D -m644 "$srcdir"/thinkpad_acpi.conf "$pkgdir"/usr/lib/modprobe.d
}
# vim:set ts=2 sw=2 noet:
@FirstAirBender silentnoodle has added the service file for thinkfan-sleep. Please let me know if there are any other changes you see that need to be made.
@dude all yours
@silentnoodle I can if you don't want to.
Pinned Comments