blob: 26b6e472489a0945aab0954498ff8d73bc085a0d (
plain)
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
|
# 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"
settings = (
"os",
"arch",
"compiler",
"build_type",
)
exports_sources = (
"CMakeLists.txt",
"cmake/*",
"src/*",
)
requires = (
"boost_program_options/1.67.0@bincrafters/stable",
"boost_iterator/1.67.0@bincrafters/stable",
"boost_asio/1.67.0@bincrafters/stable",
)
def build(self):
cmake = CMake(self)
cmake.configure(source_folder=".")
cmake.build()
def package(self):
self.copy("wanda", src="bin", dst="bin")
|