Gentoo Archives: gentoo-commits

From: Nicola Smaniotto <smaniotto.nicola@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: mpv-plugin/kde-night-color/
Date: Tue, 03 May 2022 12:14:17
Message-Id: 1651580049.8510e26602b9ab3249298dea2b02519613e28d04.smaniotto.nicola@gentoo
1 commit: 8510e26602b9ab3249298dea2b02519613e28d04
2 Author: Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
3 AuthorDate: Tue May 3 12:05:29 2022 +0000
4 Commit: Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
5 CommitDate: Tue May 3 12:14:09 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8510e266
7
8 mpv-plugin/kde-night-color: initial import
9
10 Signed-off-by: Nicola Smaniotto <smaniotto.nicola <AT> gmail.com>
11
12 mpv-plugin/kde-night-color/Manifest | 1 +
13 .../kde-night-color-20220109.ebuild | 31 ++++++++++++++++++++++
14 mpv-plugin/kde-night-color/metadata.xml | 8 ++++++
15 3 files changed, 40 insertions(+)
16
17 diff --git a/mpv-plugin/kde-night-color/Manifest b/mpv-plugin/kde-night-color/Manifest
18 new file mode 100644
19 index 000000000..e37b4c6aa
20 --- /dev/null
21 +++ b/mpv-plugin/kde-night-color/Manifest
22 @@ -0,0 +1 @@
23 +DIST kde-night-color-20220109.tar.gz 2069 BLAKE2B bb900da2d2dcdca9e11ea760cb0cbed7b60c200f2935042afa33f2bbc29d112987a6c131443a4841bef967261f4d220789bf1aa473d10555e45baf82ec1975f3 SHA512 ded5052ae43b3d3c3f949efdbb1c95d0ba47021b2b8d75552e71c3f95cbfeed9f5ae4617eaad0f9177d50020ff70e56b8bcde7e4f8daeec5a2abb76920ecc11e
24
25 diff --git a/mpv-plugin/kde-night-color/kde-night-color-20220109.ebuild b/mpv-plugin/kde-night-color/kde-night-color-20220109.ebuild
26 new file mode 100644
27 index 000000000..95008dad9
28 --- /dev/null
29 +++ b/mpv-plugin/kde-night-color/kde-night-color-20220109.ebuild
30 @@ -0,0 +1,31 @@
31 +# Copyright 2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +MPV_REQ_USE="cplugins,libmpv"
37 +inherit mpv-plugin toolchain-funcs
38 +
39 +COMMIT="92739339a26cb2ce26beb41ef0650365e3ed5248"
40 +MY_P="${PN}-${COMMIT}"
41 +
42 +DESCRIPTION="Disable Night Color while mpv is running"
43 +HOMEPAGE="https://gitlab.com/smaniottonicola/kde-night-color"
44 +
45 +SRC_URI="https://gitlab.com/smaniottonicola/${PN}/-/archive/${COMMIT}/${MY_P}.tar.gz -> ${P}.tar.gz"
46 +
47 +LICENSE="Unlicense"
48 +KEYWORDS="~amd64"
49 +
50 +BDEPEND="
51 + dev-qt/qtdbus
52 + virtual/pkgconfig
53 +"
54 +
55 +S="${WORKDIR}/${MY_P}"
56 +
57 +MPV_PLUGIN_FILES=( ${PN}.so )
58 +
59 +src_compile() {
60 + emake CXX="$(tc-getCXX)" PKG_CONFIG="$(tc-getPKG_CONFIG)"
61 +}
62
63 diff --git a/mpv-plugin/kde-night-color/metadata.xml b/mpv-plugin/kde-night-color/metadata.xml
64 new file mode 100644
65 index 000000000..be3f1030e
66 --- /dev/null
67 +++ b/mpv-plugin/kde-night-color/metadata.xml
68 @@ -0,0 +1,8 @@
69 +<?xml version="1.0" encoding="UTF-8"?>
70 +<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
71 +<pkgmetadata>
72 + <maintainer type="person">
73 + <email>smaniotto.nicola@×××××.com</email>
74 + <name>Nicola Smaniotto</name>
75 + </maintainer>
76 +</pkgmetadata>