1 |
commit: 18949cf72422488bef41e9556e6536bcbf3f7cb8 |
2 |
Author: Mykyta Holubakha <hilobakho <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu Nov 9 23:35:58 2017 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 12 18:01:31 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18949cf7 |
7 |
|
8 |
dev-libs/sway: version bump to 0.15.0. |
9 |
|
10 |
dev-libs/sway/Manifest | 1 + |
11 |
dev-libs/sway/sway-0.15.0.ebuild | 84 ++++++++++++++++++++++++++++++++++++++++ |
12 |
2 files changed, 85 insertions(+) |
13 |
|
14 |
diff --git a/dev-libs/sway/Manifest b/dev-libs/sway/Manifest |
15 |
index b523680e942..1690bfc167b 100644 |
16 |
--- a/dev-libs/sway/Manifest |
17 |
+++ b/dev-libs/sway/Manifest |
18 |
@@ -1,2 +1,3 @@ |
19 |
DIST sway-0.13.0.tar.gz 5355130 SHA256 56a20c9d28d92777bf99381edd09078f72bf39b8ac586242950d514456a77f7d SHA512 7f137e103bb278777ee3e36b40446156ee02bfbba3ce099b23b093751832a67155cd9519f7583364608d584d2d7c9206a8945f2114ae58220b47bd0f1ff362e8 WHIRLPOOL bff2fd4550334625533984c3bfaa1b479609b7b62cd62935fc5e96eae4a518242d69f553775f44368b76c87ed64fcd6011df785339bd71fb62e09eb426948b1f |
20 |
DIST sway-0.14.0.tar.gz 5376243 SHA256 e63efee81cd3952ee00c7bd379cf90b065530b03423f593895584aa51e9c7f1b SHA512 2c2e45ddc935504bd240288386662d05f284eb0d540e05b6e56ca577e9b1f2303929b9659eaa3cb99b8cdadb60bd1bfa4104624bf2574e41365e1b3df5361410 WHIRLPOOL d9a5ce41e3063d041cf1f22ebbb48ffc966b34b7d2e23caa77528035176dd9b5d74a8e6cdb238be3191849a349102562becb797835240309b245d554b63753cd |
21 |
+DIST sway-0.15.0.tar.gz 5394917 SHA256 4fe62708feb9c3bfc53d5a8133a992078f8a5216581b5e4a519fbef620f9762c SHA512 2ac448f16cae83563b4ed7039b355c238cdf45bf16af58002c56781fbbac640a5b61b2fd05eb8bcfea5cc06a65707a48e093a68e80be44c14cf1d5d0a9410331 WHIRLPOOL c882915e3f14c6ee310f8ad45eb5ccefa9af283d4d165b83db4bb6131f60c19d650f332e6a52bfa5c7244d82b4f57256813e4fd954f0adb19cdb824f86b4d72a |
22 |
|
23 |
diff --git a/dev-libs/sway/sway-0.15.0.ebuild b/dev-libs/sway/sway-0.15.0.ebuild |
24 |
new file mode 100644 |
25 |
index 00000000000..20a662ea70a |
26 |
--- /dev/null |
27 |
+++ b/dev-libs/sway/sway-0.15.0.ebuild |
28 |
@@ -0,0 +1,84 @@ |
29 |
+# Copyright 1999-2017 Gentoo Foundation |
30 |
+# Distributed under the terms of the GNU General Public License v2 |
31 |
+ |
32 |
+EAPI=6 |
33 |
+ |
34 |
+inherit eutils cmake-utils |
35 |
+ |
36 |
+DESCRIPTION="i3-compatible Wayland window manager" |
37 |
+HOMEPAGE="http://swaywm.org/" |
38 |
+ |
39 |
+SRC_URI="https://github.com/swaywm/sway/archive/${PV}.tar.gz -> ${P}.tar.gz" |
40 |
+ |
41 |
+LICENSE="MIT" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~amd64 ~x86" |
44 |
+IUSE="+swaybg +swaybar +swaymsg swaygrab swaylock +gdk-pixbuf zsh-completion wallpapers systemd +tray" |
45 |
+ |
46 |
+REQUIRED_USE="tray? ( swaybar )" |
47 |
+ |
48 |
+RDEPEND=">=dev-libs/wlc-0.0.8[systemd=] |
49 |
+ >=dev-libs/json-c-0.12.1 |
50 |
+ dev-libs/libpcre |
51 |
+ dev-libs/libinput |
52 |
+ x11-libs/libxkbcommon |
53 |
+ dev-libs/wayland |
54 |
+ sys-libs/libcap |
55 |
+ x11-libs/pango |
56 |
+ x11-libs/cairo |
57 |
+ swaylock? ( virtual/pam ) |
58 |
+ tray? ( sys-apps/dbus ) |
59 |
+ gdk-pixbuf? ( x11-libs/gdk-pixbuf[jpeg] )" |
60 |
+ |
61 |
+DEPEND="${RDEPEND} |
62 |
+ virtual/pkgconfig |
63 |
+ app-text/asciidoc" |
64 |
+ |
65 |
+src_prepare() { |
66 |
+ cmake-utils_src_prepare |
67 |
+ |
68 |
+ # remove bad CFLAGS that upstream is trying to add |
69 |
+ sed -i -e '/add_compile_options/s/-Werror//' CMakeLists.txt || die |
70 |
+} |
71 |
+ |
72 |
+src_configure() { |
73 |
+ local mycmakeargs=( |
74 |
+ -Denable-swaybar=$(usex swaybar) |
75 |
+ -Denable-swaybg=$(usex swaybg) |
76 |
+ -Denable-swaygrab=$(usex swaygrab) |
77 |
+ -Denable-swaylock=$(usex swaylock) |
78 |
+ -Denable-swaymsg=$(usex swaymsg) |
79 |
+ -Denable-tray=$(usex tray) |
80 |
+ |
81 |
+ -Ddefault-wallpaper=$(usex wallpapers) |
82 |
+ |
83 |
+ -Denable-gdk-pixbuf=$(usex gdk-pixbuf) |
84 |
+ -Dzsh-completions=$(usex zsh-completion) |
85 |
+ |
86 |
+ -DCMAKE_INSTALL_SYSCONFDIR="/etc" |
87 |
+ -DVERSION="${PV}" |
88 |
+ ) |
89 |
+ |
90 |
+ cmake-utils_src_configure |
91 |
+} |
92 |
+ |
93 |
+src_install() { |
94 |
+ cmake-utils_src_install |
95 |
+ |
96 |
+ use !systemd && fperms u+s /usr/bin/sway |
97 |
+} |
98 |
+ |
99 |
+pkg_postinst() { |
100 |
+ if use swaygrab |
101 |
+ then |
102 |
+ optfeature "swaygrab screenshot support" media-gfx/imagemagick[png] |
103 |
+ optfeature "swaygrab video capture support" virtual/ffmpeg |
104 |
+ fi |
105 |
+ if use tray |
106 |
+ then |
107 |
+ optfeature "experimental xembed tray icons support" \ |
108 |
+ x11-misc/xembedsniproxy |
109 |
+ fi |
110 |
+ |
111 |
+ optfeature "X11 applications support" dev-libs/wlc[xwayland] x11-base/xorg-server[wayland] |
112 |
+} |