aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicola Smaniotto <smaniotto.nicola@gmail.com>2022-05-03 14:05:21 +0200
committerNicola Smaniotto <smaniotto.nicola@gmail.com>2022-05-03 14:14:09 +0200
commita6e23bdfc826bdc3f16f67be0b6ae70936ccf0c0 (patch)
treeb772d98cf822cbd6c3fe4920d26528232ba395c0 /mpv-plugin
parentmpv-plugin/autosubsync-mpv: initial import (diff)
downloadguru-a6e23bdfc826bdc3f16f67be0b6ae70936ccf0c0.tar.gz
guru-a6e23bdfc826bdc3f16f67be0b6ae70936ccf0c0.tar.bz2
guru-a6e23bdfc826bdc3f16f67be0b6ae70936ccf0c0.zip
mpv-plugin/kde-do-not-disturb: initial import
Signed-off-by: Nicola Smaniotto <smaniotto.nicola@gmail.com>
Diffstat (limited to 'mpv-plugin')
-rw-r--r--mpv-plugin/kde-do-not-disturb/Manifest1
-rw-r--r--mpv-plugin/kde-do-not-disturb/kde-do-not-disturb-20220109.ebuild31
-rw-r--r--mpv-plugin/kde-do-not-disturb/metadata.xml8
3 files changed, 40 insertions, 0 deletions
diff --git a/mpv-plugin/kde-do-not-disturb/Manifest b/mpv-plugin/kde-do-not-disturb/Manifest
new file mode 100644
index 000000000..e88b36086
--- /dev/null
+++ b/mpv-plugin/kde-do-not-disturb/Manifest
@@ -0,0 +1 @@
+DIST kde-do-not-disturb-20220109.tar.gz 2091 BLAKE2B d4d49b4ce52a1594ea9a71eb6b12bd31e85c54951506b6c658cab5e9239a345f526c8fd246b445eaa4a4b65b8331b47db549a309d08e2abe6e122b1c3eabffb3 SHA512 6aec494b316d5d840bdc80d52c211d6d8c6c03e216c0cfe89915b036f58875cdc38fe5d02effdb70c97db45009aec367f1573dc37c40d0873a96da7f9dc093ca
diff --git a/mpv-plugin/kde-do-not-disturb/kde-do-not-disturb-20220109.ebuild b/mpv-plugin/kde-do-not-disturb/kde-do-not-disturb-20220109.ebuild
new file mode 100644
index 000000000..3bb13f1e8
--- /dev/null
+++ b/mpv-plugin/kde-do-not-disturb/kde-do-not-disturb-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="769b83b82c3bb749dd7878ca23e919cb5329ea64"
+MY_P="${PN}-${COMMIT}"
+
+DESCRIPTION="Disable the notifications while mpv is running"
+HOMEPAGE="https://gitlab.com/smaniottonicola/kde-do-not-disturb"
+
+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-do-not-disturb/metadata.xml b/mpv-plugin/kde-do-not-disturb/metadata.xml
new file mode 100644
index 000000000..be3f1030e
--- /dev/null
+++ b/mpv-plugin/kde-do-not-disturb/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>