mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 12:03:02 -04:00
gui-apps/gtklock-extras: fix playerctl useflag
Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
This commit is contained in:
@@ -16,7 +16,7 @@ RDEPEND="gui-apps/gtklock"
|
||||
BDEPEND="x11-libs/gtk+
|
||||
virtual/pkgconfig
|
||||
playerctl? ( dev-go/act )
|
||||
playerctl? ( net-libs/libsoup )
|
||||
playerctl? ( net-libs/libsoup:2.4 )
|
||||
playerctl? ( media-sound/playerctl )
|
||||
userinfo? ( sys-apps/accountsservice )
|
||||
"
|
||||
@@ -33,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
|
||||
@@ -54,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,11 +66,3 @@ src_install() {
|
||||
popd || die
|
||||
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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user