Skip to content

Commit 734eb6a

Browse files
Conan file to install libgettext on Windows
1 parent 840d811 commit 734eb6a

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

conanfile_ex.py

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# python-exiv2 - Python interface to libexiv2
2+
# http://github.com/jim-easterbrook/python-exiv2
3+
# Copyright (C) 2024 Jim Easterbrook [email protected]
4+
#
5+
# This program is free software: you can redistribute it and/or modify
6+
# it under the terms of the GNU General Public License as published by
7+
# the Free Software Foundation, either version 3 of the License, or
8+
# (at your option) any later version.
9+
#
10+
# This program is distributed in the hope that it will be useful,
11+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
# GNU General Public License for more details.
14+
#
15+
# You should have received a copy of the GNU General Public License
16+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
17+
18+
# Copy this file to exiv2 source directory, then run Conan to install
19+
# dependencies. For example:
20+
#
21+
# cd exiv2-0.27.7-Source
22+
# copy ..\python-exiv2\conanfile_ex.py
23+
# conan install conanfile_ex.py -of build-msvc -if build-msvc
24+
# -o unitTests=False -o iconv=True -o webready=True -b missing
25+
26+
from conanfile import Exiv2Conan
27+
28+
class Exiv2ConanEx(Exiv2Conan):
29+
def requirements(self):
30+
super(Exiv2ConanEx, self).requirements()
31+
self.requires('libgettext/0.21')

0 commit comments

Comments
 (0)