Skip to content

Commit

Permalink
update to 2.3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
dankamongmen committed Aug 8, 2021
1 parent 4592615 commit bddcaea
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
6 changes: 3 additions & 3 deletions recipes/notcurses/all/conandata.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
sources:
"2.1.7":
url: "https://github.com/dankamongmen/notcurses/archive/v2.1.7.tar.gz"
sha256: "f6be3cf9654f2a9ccb30ed89aacf248f4edcf5a3c61d2353560e161166fc2d35"
"2.3.7":
url: "https://github.com/dankamongmen/notcurses/archive/v2.3.7.tar.gz"
sha256: "2bddee98346495fea4572650999c51cce7bc0551e696f62aee0eef2ae371005a"
6 changes: 2 additions & 4 deletions recipes/notcurses/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,14 @@ class NotcursesConan(ConanFile):
exports_sources = ["CMakeLists.txt"]
settings = "os", "compiler", "build_type", "arch"
options = {"shared": [True, False]}
default_options = {"shared": False,
"readline:with_library":"curses"
}
default_options = {"shared": False}
generators = "cmake", "pkg_config"

_cmake = None

def requirements(self):
self.requires("openimageio/2.2.7.0")
self.requires("libunistring/0.9.10")
self.requires("readline/8.0")
self.requires("ncurses/6.2")

def build_requirements(self):
Expand Down Expand Up @@ -50,6 +47,7 @@ def _configure_cmake(self):
self._cmake.definitions["USE_PANDOC"] = "OFF"
self._cmake.definitions["USE_POC"] = "OFF"
self._cmake.definitions["USE_QRCODEGEN"] = "OFF"
self._cmake.definitions["USE_READLINE"] = "OFF"
self._cmake.definitions["USE_STATIC"] = not self.options.shared
self._cmake.configure(source_folder="notcurses-" + self.version)
return self._cmake
Expand Down
2 changes: 1 addition & 1 deletion recipes/notcurses/config.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
versions:
"2.1.7":
"2.3.7":
folder: all

0 comments on commit bddcaea

Please sign in to comment.