gui-apps/gtklock-extras: add warning to package

* playerctl makefile is broken will be fix later

Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
This commit is contained in:
Gonçalo Negrier Duarte
2023-07-12 11:54:31 +01:00
parent d5573c48a9
commit 1caff25240
2 changed files with 21 additions and 13 deletions

View File

@@ -17,6 +17,7 @@ BDEPEND="x11-libs/gtk+
virtual/pkgconfig
playerctl? ( dev-go/act )
playerctl? ( net-libs/libsoup )
playerctl? ( media-sound/playerctl )
userinfo? ( sys-apps/accountsservice )
"
@@ -32,11 +33,11 @@ src_compile() {
popd || die
fi
if use playerctl; then
pushd gtklock-playerctl-module || die
emake
popd || die
fi
#if use playerctl; then
# pushd gtklock-playerctl-module || die
# emake
# popd || die
#fi
if use userinfo; then
pushd gtklock-userinfo-module || die
@@ -53,11 +54,11 @@ src_install() {
popd || die
fi
if use playerctl; then
pushd gtklock-playerctl-module || die
insinto /usr/local/lib/gtklock && doins playerctl-module.so
popd || die
fi
#if use playerctl; then
# pushd gtklock-playerctl-module || die
# insinto /usr/local/lib/gtklock && doins playerctl-module.so
# popd || die
#fi
if use userinfo; then
pushd gtklock-userinfo-module || die
@@ -66,3 +67,10 @@ src_install() {
fi
}
pkg_postinst() {
if use playerctl; then
ewarn "The MAKEFILE for playerctl gtklock module is broken i will try to fixit later"
ewarn "For now the useflag will be disable on guru overlay to prevent the package failing to build"
ewarn "If you have a idea on how to fix open a issue here:https://github.com/MrDuartePT/mrduarte-ebuilds"
fi
}

View File

@@ -6,7 +6,7 @@
<flag name="playerctl">gtklock module adding media player controls to the lockscreen</flag>
<flag name="userinfo">gtklock module adding user info to the lockscreen</flag>
</use>
<upstream>
<remote-id type="github">MrDuartePT/gtklock-modules-gentoo</remote-id>
</upstream>
<upstream>
<remote-id type="github">MrDuartePT/gtklock-modules-gentoo</remote-id>
</upstream>
</pkgmetadata>