summaryrefslogtreecommitdiff
path: root/media-sound/alacenc/alacenc-0.4.1.ebuild
blob: 1f55ee9bd906735afce1aeb35dd1e86071f2aa5b (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
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake

DESCRIPTION="Encodes audio into the Apple Lossless Audio Codec (ALAC) format"
HOMEPAGE="https://github.com/flacon/alacenc"
SRC_URI="https://github.com/flacon/alacenc/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 x86"

BDEPEND="virtual/pkgconfig"

PATCHES=(
	"${FILESDIR}/${P}-cmake.patch"
	"${FILESDIR}/${P}-musl.patch"
)

src_install() {
	dobin "${BUILD_DIR}/alacenc"
	einstalldocs
}