summaryrefslogtreecommitdiffstats
path: root/packages/media-libs/libmysofa/libmysofa-1.3.5.exheres-0
blob: dc31d820d8a2912292e15aea7cd7526475c26fc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Copyright 2026 Gurov <thuggerthugger1@duck.com>
# Distributed under the terms of the GNU General Public License v2

require cmake

SUMMARY="Library for reading AES SOFA files"
HOMEPAGE="https://github.com/hoene/libmysofa"
DOWNLOADS="https://github.com/hoene/libmysofa/archive/refs/tags/v${PV}.tar.gz -> ${PNV}.tar.gz"

LICENCES="BSD-3"
SLOT="0"
PLATFORMS="~amd64"

DEPENDENCIES="
    build+run:
        sys-libs/zlib

    test:
        app-arch/bzip2
        dev-lang/node
        dev-util/cunit
"

CMAKE_SRC_CONFIGURE_PARAMS=(
    -DBUILD_SHARED_LIBS=ON
    -DBUILD_STATIC_LIBS=OFF
)

CMAKE_SRC_CONFIGURE_TESTS=(
    '-DBUILD_TESTS=ON -DBUILD_TESTS=OFF'
)

src_install() {
    cmake_src_install
    edo rm -r "${IMAGE}/usr/share/libmysofa"
}