Skip to content
This repository has been archived by the owner on Jan 16, 2020. It is now read-only.

Commit

Permalink
Merge pull request #4 from bincrafters/testing/0.38.0
Browse files Browse the repository at this point in the history
testing -> stable
  • Loading branch information
SSE4 committed Jul 5, 2019
2 parents 625d66f + e24e518 commit d68ce44
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Expand Up @@ -20,6 +20,8 @@ matrix:
env: CONAN_GCC_VERSIONS=7 CONAN_DOCKER_IMAGE=conanio/gcc7
- <<: *linux
env: CONAN_GCC_VERSIONS=8 CONAN_DOCKER_IMAGE=conanio/gcc8
- <<: *linux
env: CONAN_GCC_VERSIONS=9 CONAN_DOCKER_IMAGE=conanio/gcc9
- <<: *linux
env: CONAN_CLANG_VERSIONS=3.9 CONAN_DOCKER_IMAGE=conanio/clang39
- <<: *linux
Expand All @@ -30,6 +32,8 @@ matrix:
env: CONAN_CLANG_VERSIONS=6.0 CONAN_DOCKER_IMAGE=conanio/clang60
- <<: *linux
env: CONAN_CLANG_VERSIONS=7.0 CONAN_DOCKER_IMAGE=conanio/clang7
- <<: *linux
env: CONAN_CLANG_VERSIONS=8 CONAN_DOCKER_IMAGE=conanio/clang8
- <<: *osx
osx_image: xcode7.3
env: CONAN_APPLE_CLANG_VERSIONS=7.3
Expand Down
7 changes: 6 additions & 1 deletion appveyor.yml
Expand Up @@ -4,7 +4,6 @@ environment:
PYTHON_HOME: "C:\\Python37"

matrix:
#- MINGW_CONFIGURATIONS: '4.9@x86_64@seh@posix, 4.9@x86_64@sjlj@posix, 4.9@x86@sjlj@posix, 4.9@x86@dwarf2@posix, 6@x86_64@seh@posix, 7@x86_64@seh@posix'
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
CONAN_VISUAL_VERSIONS: 12
CONAN_BUILD_TYPES: Release
Expand All @@ -23,6 +22,12 @@ environment:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
CONAN_VISUAL_VERSIONS: 15
CONAN_BUILD_TYPES: Debug
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
CONAN_VISUAL_VERSIONS: 16
CONAN_BUILD_TYPES: Release
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
CONAN_VISUAL_VERSIONS: 16
CONAN_BUILD_TYPES: Debug

install:
- set PATH=%PYTHON_HOME%;%PYTHON_HOME%/Scripts/;%PATH%
Expand Down
6 changes: 5 additions & 1 deletion conanfile.py
Expand Up @@ -35,7 +35,8 @@ def build_requirements(self):
self.build_requires("msys2_installer/20161025@bincrafters/stable")

def source(self):
tools.get("https://www.cairographics.org/releases/{}.tar.gz".format(self.folder))
tools.get("https://www.cairographics.org/releases/{}.tar.gz".format(self.folder),
sha256="a7592bef0156d7c27545487a52245669b00cf7e70054505381cff2136d890ca8")

if self.settings.os == 'Macos':
# https://lists.freedesktop.org/archives/pixman/2014-November/003461.html
Expand Down Expand Up @@ -84,6 +85,9 @@ def build(self):
self.build_configure()

def package(self):
la = os.path.join(self.package_folder, "lib", "libpixman-1.la")
if os.path.isfile(la):
os.unlink(la)
if self.settings.compiler == "Visual Studio":
self.copy(pattern="*.lib", dst="lib", keep_path=False)
self.copy(pattern="*.pdb", dst="lib", keep_path=False)
Expand Down

0 comments on commit d68ce44

Please sign in to comment.