From 8a4557f3d22050bb596bc6e8c105b5c44af69023 Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Tue, 23 Oct 2018 05:20:01 +0530 Subject: libpng.recipe: Update to 1.6.35 --- recipes/libpng.recipe | 23 +++++++++++++++++++++++ recipes/libpng/libpng.recipe | 23 ----------------------- 2 files changed, 23 insertions(+), 23 deletions(-) create mode 100644 recipes/libpng.recipe delete mode 100644 recipes/libpng/libpng.recipe diff --git a/recipes/libpng.recipe b/recipes/libpng.recipe new file mode 100644 index 00000000..8dd0e63b --- /dev/null +++ b/recipes/libpng.recipe @@ -0,0 +1,23 @@ +# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python + + +class Recipe(recipe.Recipe): + name = 'libpng' + version = '1.6.35' + stype = SourceType.TARBALL + url = 'https://download.sourceforge.net/libpng/libpng-%(version)s.tar.xz' + tarball_checksum = '23912ec8c9584917ed9b09c5023465d71709dce089be503c7867fec68a93bcd7' + licenses = [License.LibPNG] + deps = ['zlib'] + patches = [name + '/0001-neon-fix-function-export-names-for-iOS-armv7.patch'] + + files_libs = ['libpng16'] + files_devel = ['include/libpng16', 'bin/libpng16-config', + 'lib/pkgconfig/libpng16.pc', 'lib/pkgconfig/libpng.pc'] + + def prepare(self): + if self.config.target_platform == Platform.IOS: + if 'GAS' in os.environ: + self.set_env('CCAS', os.environ['GAS'], '-no-integrated-as') + if self.config.target_arch == Architecture.ARM64: + self.configure_options += ' --disable-arm-neon ' diff --git a/recipes/libpng/libpng.recipe b/recipes/libpng/libpng.recipe deleted file mode 100644 index 78ce3cbb..00000000 --- a/recipes/libpng/libpng.recipe +++ /dev/null @@ -1,23 +0,0 @@ -# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python - - -class Recipe(recipe.Recipe): - name = 'libpng' - version = '1.6.34' - stype = SourceType.TARBALL - url = 'https://download.sourceforge.net/libpng/libpng-%(version)s.tar.xz' - tarball_checksum = '2f1e960d92ce3b3abd03d06dfec9637dfbd22febf107a536b44f7a47c60659f6' - licenses = [License.LibPNG] - deps = ['zlib'] - patches = ['0001-neon-fix-function-export-names-for-iOS-armv7.patch'] - - files_libs = ['libpng16'] - files_devel = ['include/libpng16', 'bin/libpng16-config', - 'lib/pkgconfig/libpng16.pc', 'lib/pkgconfig/libpng.pc'] - - def prepare(self): - if self.config.target_platform == Platform.IOS: - if 'GAS' in os.environ: - self.set_env('CCAS', os.environ['GAS'], '-no-integrated-as') - if self.config.target_arch == Architecture.ARM64: - self.configure_options += ' --disable-arm-neon ' -- cgit v1.2.3