summaryrefslogtreecommitdiff
path: root/recipes/directxmath.recipe
blob: b843af349e6ebe8d14566233fc6ab6bb4d5b4b82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python

class Recipe(recipe.Recipe):
    version = '3.1.8'
    name = 'directxmath'
    licenses = [{License.MIT: ['LICENSE']}]
    stype = SourceType.TARBALL
    btype = BuildType.MESON
    url = 'https://github.com/microsoft/DirectXMath/archive/refs/tags/dec2022.tar.gz'
    tarball_checksum = '70a18f35343ff07084d31afa7a7978b3b59160f0533424365451c72475ff480f'
    tarball_name = 'dec2022.tar.gz'
    tarball_dirname = 'DirectXMath-dec2022'

    files_devel = []

    patches = [
        # https://wrapdb.mesonbuild.com/v2/directxmath_3.1.8-1/get_patch
        'directxmath/0001-Add-DirectXMath-wrap.patch',
        # https://github.com/microsoft/DirectXMath/pull/172
        'directxmath/0001-Inc-Use-two-argument-cpuid-when-using-recent-MinGW.patch',
    ]