Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JustCauseWhyNot/8069d0ae1b0978cee28c02cace09b4e8 to your computer and use it in GitHub Desktop.
Save JustCauseWhyNot/8069d0ae1b0978cee28c02cace09b4e8 to your computer and use it in GitHub Desktop.
/var/db/repos/local/media-libs/libmysofa/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-multilib_src_configure
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment