guru/mpv-plugin/kde-night-color/kde-night-color-20240910.ebuild
Nicola Smaniotto 0ee5f6ca61
mpv-plugin/kde-night-color: add 20240910
Signed-off-by: Nicola Smaniotto <smaniotto.nicola@gmail.com>
2024-09-10 14:52:36 +02:00

29 lines
690 B
Bash

# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
MPV_REQ_USE="cplugins(+),libmpv"
inherit mpv-plugin toolchain-funcs
COMMIT="287f8cf168e1ead4706f32c92b0c06aacc25e4fa"
MY_P="${PN}-${COMMIT}"
DESCRIPTION="Disable Night Color while mpv is running"
HOMEPAGE="https://gitlab.com/smaniottonicola/kde-night-color"
SRC_URI="https://gitlab.com/smaniottonicola/${PN}/-/archive/${COMMIT}/${MY_P}.tar.bz2 -> ${P}.tar.bz2"
S="${WORKDIR}/${MY_P}"
LICENSE="Unlicense"
KEYWORDS="~amd64"
BDEPEND="
dev-qt/qtdbus:5
virtual/pkgconfig
"
MPV_PLUGIN_FILES=( ${PN}.so )
src_compile() {
emake CXX="$(tc-getCXX)" PKG_CONFIG="$(tc-getPKG_CONFIG)"
}