Skip to content

Instantly share code, notes, and snippets.

@JustCauseWhyNot
Created December 25, 2023 21:43
Show Gist options
  • Save JustCauseWhyNot/cc907ee79c64b3c41f9a85793f9d6b22 to your computer and use it in GitHub Desktop.
Save JustCauseWhyNot/cc907ee79c64b3c41f9a85793f9d6b22 to your computer and use it in GitHub Desktop.
libmysofa-1.3.2.ebuild
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake-multilib multilib
DESCRIPTION="Reader for AES SOFA files to get better HRTFs"
HOMEPAGE="https://github.com/hoene/libmysofa"
SRC_URI="https://github.com/hoene/libmysofa/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="static-libs"
RDEPEND="
sys-libs/zlib[${MULTILIB_USEDEP}]
"
DEPEND="${RDEPEND}"
src_configure() {
local mycmakeargs=(
-DBUILD_TESTS=OFF
-DBUILD_STATIC_LIBS=$(multilib_native_usex static-libs ON OFF)
)
cmake_src_configure
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment