summaryrefslogtreecommitdiff
path: root/recipes/proxy-libintl.recipe
blob: 04e2f219d2b6e8f8599ec5c66be38316645bac88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python
from cerbero.tools.libtool import LibtoolLibrary

class Recipe(recipe.Recipe):
    name = 'proxy-libintl'
    version = '0.4'
    licenses = [License.LGPLv2Plus]
    stype = SourceType.TARBALL
    btype = BuildType.MESON
    url = 'https://github.com/frida/proxy-libintl/archive/refs/tags/%(version)s.tar.gz'
    tarball_name = 'proxy-libintl-%(version)s.tar.gz'
    tarball_checksum = '13ef3eea0a3bc0df55293be368dfbcff5a8dd5f4759280f28e030d1494a5dffb'

    patches = ['proxy-libintl/0001-Rename-symbols-for-compatibility-with-gettext.patch']

    files_libs = ['libintl']
    files_devel = ['include/libintl.h']

    def post_install(self):
        libtool_la = LibtoolLibrary('intl', 8, None, None, self.config.libdir,
                self.config.target_platform)
        libtool_la.save()
        super().post_install()