Imported Upstream version 5.0.0.42

Former-commit-id: fd56571888259555122d8a0f58c68838229cea2b
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2017-04-10 11:41:01 +00:00
parent 1190d13a04
commit 6bdd276d05
19939 changed files with 3099680 additions and 93811 deletions

26
external/bockbuild/packages/libtiff.py vendored Normal file
View File

@@ -0,0 +1,26 @@
class LibTiffPackage (Package):
def __init__(self):
Package.__init__(self, 'tiff', '4.0.3',
configure_flags=[
],
sources=[
'http://download.osgeo.org/libtiff/tiff-%{version}.tar.gz',
])
self.needs_lipo = True
if Package.profile.name == 'darwin':
self.sources.extend([
# Fix Snow Leopard build
# http://jira.freeswitch.org/secure/attachment/17487/tiff-4.0.2-macosx-2.patch
'patches/tiff-4.0.2-macosx-2.patch'
])
def prep(self):
Package.prep(self)
if Package.profile.name == 'darwin':
for p in range(1, len(self.local_sources)):
self.sh('patch -p1 < "%{local_sources[' + str(p) + ']}"')
LibTiffPackage()