mpv-plugin/kde-night-color: initial import

Signed-off-by: Nicola Smaniotto <smaniotto.nicola@gmail.com>
This commit is contained in:
Nicola Smaniotto
2022-05-03 14:05:29 +02:00
parent a6e23bdfc8
commit 8510e26602
3 changed files with 40 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST kde-night-color-20220109.tar.gz 2069 BLAKE2B bb900da2d2dcdca9e11ea760cb0cbed7b60c200f2935042afa33f2bbc29d112987a6c131443a4841bef967261f4d220789bf1aa473d10555e45baf82ec1975f3 SHA512 ded5052ae43b3d3c3f949efdbb1c95d0ba47021b2b8d75552e71c3f95cbfeed9f5ae4617eaad0f9177d50020ff70e56b8bcde7e4f8daeec5a2abb76920ecc11e

View File

@@ -0,0 +1,31 @@
# Copyright 2022 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="92739339a26cb2ce26beb41ef0650365e3ed5248"
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.gz -> ${P}.tar.gz"
LICENSE="Unlicense"
KEYWORDS="~amd64"
BDEPEND="
dev-qt/qtdbus
virtual/pkgconfig
"
S="${WORKDIR}/${MY_P}"
MPV_PLUGIN_FILES=( ${PN}.so )
src_compile() {
emake CXX="$(tc-getCXX)" PKG_CONFIG="$(tc-getPKG_CONFIG)"
}

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
<pkgmetadata>
<maintainer type="person">
<email>smaniotto.nicola@gmail.com</email>
<name>Nicola Smaniotto</name>
</maintainer>
</pkgmetadata>