# 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.12.0@bincrafters/stable", "clara/1.1.5@bincrafters/stable", "spdlog/1.2.1@bincrafters/stable", "range-v3/0.4.0@ericniebler/stable", ) default_options = { "asio:standalone": True, } 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"]