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