1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# pylint: disable=missing-docstring
from conans import ConanFile, CMake
class Wanda(ConanFile):
name = "wanda"
version = "1.0.0"
url = "https://github.com/fmorgner/wanda"
license = "BSD 3-clause"
description = "A wallpaper changer for the GNOME"
generators = "cmake"
default_user = "fmorgner"
default_channel = "stable"
build_policy = "missing"
settings = (
"os",
"arch",
"compiler",
"build_type",
)
exports_sources = (
"CMakeLists.txt",
"cmake/*",
"src/*",
)
requires = (
"asio/1.18.1",
"lyra/1.5.1",
"CUTE/2.2.6@fmorgner/stable",
"spdlog/1.4.2",
"boost/1.75.0",
"libpng/1.6.37",
"libjpeg/9d",
)
def configure_cmake(self):
cmake = CMake(self)
cmake.configure()
return cmake
def build(self):
cmake = self.configure_cmake()
cmake.build()
def package(self):
cmake = self.configure_cmake()
cmake.install()
def package_info(self):
self.cpp_info.libs = ["wanda"]
|