From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AD887138330 for ; Sat, 13 Jan 2018 22:17:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D4206E0942; Sat, 13 Jan 2018 22:17:41 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A2712E0942 for ; Sat, 13 Jan 2018 22:17:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DD6AF335C61 for ; Sat, 13 Jan 2018 22:17:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AF4941AE for ; Sat, 13 Jan 2018 22:17:37 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1515881827.c054ca765bb62631ce62ffb5e52ad30b6363e9e3.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/sway/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/sway/Manifest dev-libs/sway/sway-0.15.1.ebuild X-VCS-Directories: dev-libs/sway/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: c054ca765bb62631ce62ffb5e52ad30b6363e9e3 X-VCS-Branch: master Date: Sat, 13 Jan 2018 22:17:37 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 0a73df8e-26e8-4090-9308-8a1ef20647bd X-Archives-Hash: 18e7915179e7a9f9026cf9b14cbcdc6e commit: c054ca765bb62631ce62ffb5e52ad30b6363e9e3 Author: Mykyta Holubakha gmail com> AuthorDate: Thu Dec 28 17:39:14 2017 +0000 Commit: David Seifert gentoo org> CommitDate: Sat Jan 13 22:17:07 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c054ca76 dev-libs/sway: version bump to 0.15.1 dev-libs/sway/Manifest | 1 + dev-libs/sway/sway-0.15.1.ebuild | 84 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 85 insertions(+) diff --git a/dev-libs/sway/Manifest b/dev-libs/sway/Manifest index 99a12d6cf12..c1c09b65ea1 100644 --- a/dev-libs/sway/Manifest +++ b/dev-libs/sway/Manifest @@ -1,2 +1,3 @@ DIST sway-0.14.0.tar.gz 5376243 BLAKE2B 9990db2d0a17831ac55669236533737a3422a8cb8faa338acae3e897586e410bb95f83f395462332889886be148d0151cad5465bce7786bc8e1a1aa3ceba721c SHA512 2c2e45ddc935504bd240288386662d05f284eb0d540e05b6e56ca577e9b1f2303929b9659eaa3cb99b8cdadb60bd1bfa4104624bf2574e41365e1b3df5361410 DIST sway-0.15.0.tar.gz 5394917 BLAKE2B 40b12e4c276bda3f6364f1a8d9f55604535632ce0186c0706ff6020bc6ff1b8f5b4b560ae52d281f5cc549547c7f1455bcf30e9b854db26b231e68e648819905 SHA512 2ac448f16cae83563b4ed7039b355c238cdf45bf16af58002c56781fbbac640a5b61b2fd05eb8bcfea5cc06a65707a48e093a68e80be44c14cf1d5d0a9410331 +DIST sway-0.15.1.tar.gz 5395223 BLAKE2B b5803f6858f2fa9e70fef75f888970c05cf0ccb4f69ea520ec5121b683780d9ad7bd182ae9d1d4f53612e71a70c594e063a5adf94246318cefce67576e202253 SHA512 5a972fb58ab7f352f206694299832f7bcbeb053419ac47504041dccbbb55433a8de8ec06e3fa38aab259694f1a2042d2a2f920db16cb32dfcc1ac5344017de09 diff --git a/dev-libs/sway/sway-0.15.1.ebuild b/dev-libs/sway/sway-0.15.1.ebuild new file mode 100644 index 00000000000..53a06086e79 --- /dev/null +++ b/dev-libs/sway/sway-0.15.1.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils cmake-utils + +DESCRIPTION="i3-compatible Wayland window manager" +HOMEPAGE="http://swaywm.org/" + +SRC_URI="https://github.com/swaywm/sway/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+gdk-pixbuf +swaybar +swaybg swaygrab swaylock +swaymsg systemd +tray wallpapers zsh-completion" + +REQUIRED_USE="tray? ( swaybar )" + +RDEPEND=">=dev-libs/wlc-0.0.8[systemd=] + dev-libs/json-c:0= + dev-libs/libpcre + dev-libs/libinput + dev-libs/wayland + sys-libs/libcap + x11-libs/libxkbcommon + x11-libs/cairo + x11-libs/pango + gdk-pixbuf? ( x11-libs/gdk-pixbuf[jpeg] ) + swaylock? ( virtual/pam ) + tray? ( sys-apps/dbus )" + +DEPEND="${RDEPEND} + app-text/asciidoc + virtual/pkgconfig" + +src_prepare() { + cmake-utils_src_prepare + + # remove bad CFLAGS that upstream is trying to add + sed -i -e '/add_compile_options/s/-Werror//' CMakeLists.txt || die +} + +src_configure() { + local mycmakeargs=( + -Denable-swaybar=$(usex swaybar) + -Denable-swaybg=$(usex swaybg) + -Denable-swaygrab=$(usex swaygrab) + -Denable-swaylock=$(usex swaylock) + -Denable-swaymsg=$(usex swaymsg) + -Denable-tray=$(usex tray) + + -Ddefault-wallpaper=$(usex wallpapers) + + -Denable-gdk-pixbuf=$(usex gdk-pixbuf) + -Dzsh-completions=$(usex zsh-completion) + + -DCMAKE_INSTALL_SYSCONFDIR="/etc" + -DVERSION="${PV}" + ) + + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + + use !systemd && fperms u+s /usr/bin/sway +} + +pkg_postinst() { + if use swaygrab + then + optfeature "swaygrab screenshot support" media-gfx/imagemagick[png] + optfeature "swaygrab video capture support" virtual/ffmpeg + fi + if use tray + then + optfeature "experimental xembed tray icons support" \ + x11-misc/xembedsniproxy + fi + + optfeature "X11 applications support" dev-libs/wlc[xwayland] x11-base/xorg-server[wayland] +}