aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicola Smaniotto <smaniotto.nicola@gmail.com>2022-05-03 14:05:29 +0200
committerNicola Smaniotto <smaniotto.nicola@gmail.com>2022-05-03 14:14:09 +0200
commit8510e26602b9ab3249298dea2b02519613e28d04 (patch)
treea2a0ef001113f5e3d0d97b94aa8afea61d477e6e /mpv-plugin
parentmpv-plugin/kde-do-not-disturb: initial import (diff)
downloadguru-8510e26602b9ab3249298dea2b02519613e28d04.tar.gz
guru-8510e26602b9ab3249298dea2b02519613e28d04.tar.bz2
guru-8510e26602b9ab3249298dea2b02519613e28d04.zip
mpv-plugin/kde-night-color: initial import
Signed-off-by: Nicola Smaniotto <smaniotto.nicola@gmail.com>
Diffstat (limited to 'mpv-plugin')
-rw-r--r--mpv-plugin/kde-night-color/Manifest1
-rw-r--r--mpv-plugin/kde-night-color/kde-night-color-20220109.ebuild31
-rw-r--r--mpv-plugin/kde-night-color/metadata.xml8
3 files changed, 40 insertions, 0 deletions
diff --git a/mpv-plugin/kde-night-color/Manifest b/mpv-plugin/kde-night-color/Manifest
new file mode 100644
index 000000000..e37b4c6aa
--- /dev/null
+++ b/mpv-plugin/kde-night-color/Manifest
@@ -0,0 +1 @@
+DIST kde-night-color-20220109.tar.gz 2069 BLAKE2B bb900da2d2dcdca9e11ea760cb0cbed7b60c200f2935042afa33f2bbc29d112987a6c131443a4841bef967261f4d220789bf1aa473d10555e45baf82ec1975f3 SHA512 ded5052ae43b3d3c3f949efdbb1c95d0ba47021b2b8d75552e71c3f95cbfeed9f5ae4617eaad0f9177d50020ff70e56b8bcde7e4f8daeec5a2abb76920ecc11e
diff --git a/mpv-plugin/kde-night-color/kde-night-color-20220109.ebuild b/mpv-plugin/kde-night-color/kde-night-color-20220109.ebuild
new file mode 100644
index 000000000..95008dad9
--- /dev/null
+++ b/mpv-plugin/kde-night-color/kde-night-color-20220109.ebuild
@@ -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)"
+}
diff --git a/mpv-plugin/kde-night-color/metadata.xml b/mpv-plugin/kde-night-color/metadata.xml
new file mode 100644
index 000000000..be3f1030e
--- /dev/null
+++ b/mpv-plugin/kde-night-color/metadata.xml
@@ -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>