Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nirbheek Chauhan
cerbero
Commits
bd3d57ea
Commit
bd3d57ea
authored
Jan 17, 2013
by
Andoni Morales Alastruey
Browse files
build-tools: add gettext tools on OS X
parent
5982670d
Changes
2
Hide whitespace changes
Inline
Side-by-side
cerbero/bootstrap/build_tools.py
View file @
bd3d57ea
...
...
@@ -29,7 +29,7 @@ class BuildTools (BootstraperBase):
BUILD_TOOLS
=
[
'automake'
,
'autoconf'
,
'm4'
,
'libtool'
,
'pkg-config'
,
'orc-tool'
,
'gettext-m4'
]
PLAT_BUILD_TOOLS
=
{
Platform
.
DARWIN
:
[
'intltool'
,
'yasm'
],
Platform
.
DARWIN
:
[
'intltool'
,
'yasm'
,
'gettext-tools'
],
Platform
.
WINDOWS
:
[
'intltool'
,
'yasm'
],
}
...
...
recipes/build-tools/gettext-tools.recipe
0 → 100644
View file @
bd3d57ea
# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python
from cerbero.utils import shell
class Recipe(recipe.Recipe):
name = 'gettext-tools'
version = '0.18.1.1+2012-01-26'
licenses = [License.GPLv3]
srcdir = 'gettext-tools'
platform_deps = {Platform.DARWIN: ['libiconv']}
configure_options = ' --disable-java --disable-csharp --disable-native-java'
def prepare(self):
self.remotes['origin'] = ('%s/%s.git' %
(self.config.git_root, 'gettext'))
if self.config.target_platform == Platform.WINDOWS:
self.configure_options += '--enable-threads=win32'
def configure(self):
super(Recipe, self).configure()
shell.touch(os.path.join(self.build_dir, 'gettext-tools', 'misc',
'archive.dir.tar'), True)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment