summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMykyta Holubakha <hilobakho@gmail.com>2017-01-12 19:43:05 +0200
committerDavid Seifert <soap@gentoo.org>2017-01-15 14:39:19 +0100
commit9373c33a76264eb88e4154d53c9ce3403d24a904 (patch)
treefcbfd9fcde631279ae2bd3e9796a8acfde2e9d5a /dev-libs/sway
parentdev-libs/sway: revbump to 0.11-r3 (diff)
downloadgentoo-9373c33a76264eb88e4154d53c9ce3403d24a904.tar.gz
gentoo-9373c33a76264eb88e4154d53c9ce3403d24a904.tar.bz2
gentoo-9373c33a76264eb88e4154d53c9ce3403d24a904.zip
dev-libs/sway: update live ebuild
reflect upstream changes in capability handling Closes: https://github.com/gentoo/gentoo/pull/3446
Diffstat (limited to 'dev-libs/sway')
-rw-r--r--dev-libs/sway/sway-9999.ebuild31
1 files changed, 17 insertions, 14 deletions
diff --git a/dev-libs/sway/sway-9999.ebuild b/dev-libs/sway/sway-9999.ebuild
index 56c4b6ee1de9..5d16ab4f5206 100644
--- a/dev-libs/sway/sway-9999.ebuild
+++ b/dev-libs/sway/sway-9999.ebuild
@@ -4,7 +4,7 @@
EAPI=6
-inherit git-r3 eutils cmake-utils fcaps
+inherit git-r3 eutils cmake-utils
DESCRIPTION="i3-compatible Wayland window manager"
HOMEPAGE="http://swaywm.org/"
@@ -17,20 +17,20 @@ KEYWORDS=""
IUSE="+swaybg +swaybar +swaymsg swaygrab swaylock +gdk-pixbuf zsh-completion wallpapers systemd"
RDEPEND="=dev-libs/wlc-9999[systemd=]
- dev-libs/json-c
- dev-libs/libpcre
- dev-libs/libinput
- x11-libs/libxkbcommon
- dev-libs/wayland
- sys-libs/libcap
- x11-libs/pango
- x11-libs/cairo
- swaylock? ( virtual/pam )
- gdk-pixbuf? ( x11-libs/gdk-pixbuf[jpeg] )"
+ dev-libs/json-c
+ dev-libs/libpcre
+ dev-libs/libinput
+ x11-libs/libxkbcommon
+ dev-libs/wayland
+ sys-libs/libcap
+ x11-libs/pango
+ x11-libs/cairo
+ swaylock? ( virtual/pam )
+ gdk-pixbuf? ( x11-libs/gdk-pixbuf[jpeg] )"
DEPEND="${RDEPEND}
virtual/pkgconfig
- app-text/asciidoc"
+ app-text/asciidoc"
src_prepare() {
cmake-utils_src_prepare
@@ -59,10 +59,13 @@ src_configure() {
cmake-utils_src_configure
}
-FILECAPS=( -M 4711 cap_sys_ptrace,cap_sys_tty_config usr/bin/sway )
+src_install() {
+ cmake-utils_src_install
+
+ use !systemd && fperms u+s /usr/bin/sway
+}
pkg_postinst() {
- fcaps_pkg_postinst
if use swaygrab
then
optfeature "swaygrab screenshot support" media-gfx/imagemagick[png]