Skip to content

Commit

Permalink
gui-wm/sway: swaybg was split out
Browse files Browse the repository at this point in the history
Fixes: https://bugs.gentoo.org/684622
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Matthew Thode <[email protected]>
  • Loading branch information
prometheanfire committed Apr 30, 2019
1 parent e3cc52f commit 7169c50
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions gui-wm/sway/sway-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ DEPEND="
x11-libs/pixman
elogind? ( >=sys-auth/elogind-239 )
swaybar? ( x11-libs/gdk-pixbuf:2 )
swaybg? ( x11-libs/gdk-pixbuf:2 )
swaybg? ( gui-apps/swaybg )
swayidle? ( gui-apps/swayidle )
swaylock? ( gui-apps/swaylock )
systemd? ( >=sys-apps/systemd-239 )
Expand Down Expand Up @@ -65,7 +65,6 @@ src_prepare() {

use swaybar || sed -e "s/subdir('swaybar')//g" -e "/sway-bar.[0-9].scd/d" \
-e "/completions\/[a-z]\+\/_\?swaybar/d" -i meson.build || die
use swaybg || sed -e "s/subdir('swaybg')//g" -i meson.build || die
use swaymsg || sed -e "s/subdir('swaymsg')//g" -e "/swaymsg.[0-9].scd/d" \
-e "/completions\/[a-z]\+\/_\?swaymsg/d" -i meson.build || die
use swaynag || sed -e "s/subdir('swaynag')//g" -e "/swaynag.[0-9].scd/d" \
Expand All @@ -84,7 +83,7 @@ src_configure() {
"-Dwerror=false"
)

if use swaybar || use swaybg; then
if use swaybar; then
emesonargs+=("-Dgdk-pixbuf=enabled")
else
emesonargs+=("-Dgdk-pixbuf=disabled")
Expand Down

0 comments on commit 7169c50

Please sign in to comment.