blob: 3bb13f1e8d557b6fd6d97c90ee6601b8ca6b28b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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)"
}
|