Files
guru/media-sound/kew/kew-3.7.3.ebuild
Nausill_on ccf5496dac media-sound/kew: add 3.7.3
Signed-off-by: Nausill_on <Nausill_on@proton.me>
2026-03-20 13:33:11 +01:00

43 lines
949 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
DESCRIPTION="kew (/kjuː/) is a command-line music player for Linux."
HOMEPAGE="https://github.com/ravachol/kew"
SRC_URI="https://github.com/ravachol/kew/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
# Bundled programs
LICENSE+=" MIT || ( Unlicense MIT-0 )"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND="dev-libs/glib:2
media-gfx/chafa
media-libs/freeimage
media-libs/libvorbis
media-libs/opus media-libs/opusfile
media-video/ffmpeg:=
sci-libs/fftw:3.0="
RDEPEND="${DEPEND}"
BDEPEND="virtual/pkgconfig"
src_prepare() {
default
sed -e "/^CFLAGS += -Wall/s/$/ ${CFLAGS}/" \
-e "/^LDFLAGS/s/$/ ${LDFLAGS}/" \
-e "/^LIBS/s/$/ ${LDFLAGS}/" \
-i Makefile || die
}
src_compile() {
emake CC="$(tc-getCC)" PKG_CONFIG="$(tc-getPKG_CONFIG)"
}
src_install()
{
emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install
}