diff options
Diffstat (limited to 'gui-wm')
-rw-r--r-- | gui-wm/Manifest.gz | bin | 399 -> 394 bytes | |||
-rw-r--r-- | gui-wm/sway/Manifest | 4 | ||||
-rw-r--r-- | gui-wm/sway/sway-1.1_rc1.ebuild | 112 | ||||
-rw-r--r-- | gui-wm/sway/sway-9999.ebuild | 9 |
4 files changed, 119 insertions, 6 deletions
diff --git a/gui-wm/Manifest.gz b/gui-wm/Manifest.gz Binary files differindex 1ab2af705315..d9294fcb8db8 100644 --- a/gui-wm/Manifest.gz +++ b/gui-wm/Manifest.gz diff --git a/gui-wm/sway/Manifest b/gui-wm/sway/Manifest index 06062b9b995d..be3908a8c591 100644 --- a/gui-wm/sway/Manifest +++ b/gui-wm/sway/Manifest @@ -1,6 +1,8 @@ DIST sway-1.0.tar.gz 5474548 BLAKE2B bea0a72c374b75f027e466d83e8c06abe32205e0cda80776b0e48e327a6da4e965a6a575595e5a38bcb125294c509b5d9a1db17604dd9e9032acef404366bdb9 SHA512 57e2610244c8bcd2b09bb5396113176d118ee5a0688aea297d4c191eda70ce29b36ff64e05c57d1a32a31cc4f2ac2562fd3cb3890508a8f3c7cbcb9fb017171d DIST sway-1.0_rc5.tar.gz 5472917 BLAKE2B 33e01bd0da0a90ff7c09b9af0ebf9f9263be3789390777ee207d2e4297a55d79d4cc7fea28aab121820fffd3447f76d9af60a9c118e541f0ff85ffe9dc17ae48 SHA512 26eb5625e1f940a1705f2d675587ce142a7b07206187c851660bf1c405e9a76c0cc20cf616d471170578f50dae2fc322b504df1ea3ef722fc5992dd9803de8fb +DIST sway-1.1_rc1.tar.gz 5480597 BLAKE2B daac1d97c5bef1a0763942c9af25d1bb6a05fb274ccaf1b889f07b1aea554ae61f8358acadb9e732d1189a6a2041fc89fe6a443d0a912577b42c448fabbedd20 SHA512 6004673b073c69858e1ed58b5464a627248fb42768ce4fe0152723309244d5389d61dbed43ccf29b0a86e8eeed5e2c95d9fbdbe9b887b288d28030b35567cd71 EBUILD sway-1.0.ebuild 3039 BLAKE2B 90d47a1b7f7720be655d3c83d0e1e2020fa8953a2d5d787ed46898c8f77763c0964b9c03255a56bdf8c7bd7777559510b23673c027d332620ed0deda48dfa5c4 SHA512 5f317e47ebbde80e7e02ac3218b13d1a321559fd40c619630e688ad182bc13bdbc4cec0e2d0e0d6b186f640cd63fd7e9de7c4c1f803707513eacd00249c68ee7 EBUILD sway-1.0_rc5.ebuild 3049 BLAKE2B 6be3b4e7dc5a58acdd6b9969075c9371ed581b2acdc3fcfd86730830572d9d98f16f98369bb74ffa5f395632948edde53c669421d95616d9afd8a722a19f0cbc SHA512 caaeee7f5ed66a86b6232e5ef6fb98b3e458ae9224f763a3f17f5de92d4e2aff3a2b803202940dc86433ab097a5f290421664e5723106feb09e7b423670f8a3e -EBUILD sway-9999.ebuild 3034 BLAKE2B 2e250fa4a8ae714386599255fc928f48abb06c7b2b82b81969f97035596ec390ce821e619f5a1538fa64db71583a5a16f77fcc80a33bbc11d0ad2cbb8af425f5 SHA512 475426196092c7ceca7a25692796d44d853b4b69cd219ae73d552ccfad6a0286d916dce0fc798415a31ae227c36c4d628b984e0d01f99cb8120338b927335d22 +EBUILD sway-1.1_rc1.ebuild 2953 BLAKE2B 0146efd670edbafed4df718383d9c059cced7dc7178d407e46c3ee3a3b260464972e2a485fd34f511bfc276a1cd41e41ba14e2a76058a626c222c06e8a32fb02 SHA512 b6fc5f65a764a2fc6e31e8b828bcccfca3b85d5d6b1d39ee7096b0dee22de36385d9432bd4bd90358c84e6cf7d17efdcf077c0513ced9d0be4e18ed8467b6d68 +EBUILD sway-9999.ebuild 2953 BLAKE2B 0146efd670edbafed4df718383d9c059cced7dc7178d407e46c3ee3a3b260464972e2a485fd34f511bfc276a1cd41e41ba14e2a76058a626c222c06e8a32fb02 SHA512 b6fc5f65a764a2fc6e31e8b828bcccfca3b85d5d6b1d39ee7096b0dee22de36385d9432bd4bd90358c84e6cf7d17efdcf077c0513ced9d0be4e18ed8467b6d68 MISC metadata.xml 2486 BLAKE2B 2d34da83a8d8726b91189d27a400e705a1b0259a1ca577a85e7c21784274a08a0adccc134cd523e193f8635b26dcb1802e37bfa1831f58c922285341b1eadd5e SHA512 9d382307136a126a614a8361828cb018865243b1a8c2a4dd08fbd484afc53320abf6d64dd82dd93a47d8de284552f1857c028c6c72db06199152e1458b636ec0 diff --git a/gui-wm/sway/sway-1.1_rc1.ebuild b/gui-wm/sway/sway-1.1_rc1.ebuild new file mode 100644 index 000000000000..5293b993a7d5 --- /dev/null +++ b/gui-wm/sway/sway-1.1_rc1.ebuild @@ -0,0 +1,112 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit eutils meson + +DESCRIPTION="i3-compatible Wayland window manager" +HOMEPAGE="https://swaywm.org" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/swaywm/${PN}.git" +else + MY_PV=${PV/_rc/-rc} + SRC_URI="https://github.com/swaywm/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm64 ~x86" + S="${WORKDIR}/${PN}-${MY_PV}" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="elogind fish-completion +man +swaybar +swaybg +swayidle +swaylock +swaymsg +swaynag systemd tray wallpapers X zsh-completion" +REQUIRED_USE="?? ( elogind systemd ) + tray? ( || ( elogind systemd ) )" + +DEPEND=" + >=dev-libs/json-c-0.13:0= + >=dev-libs/libinput-1.6.0:0= + dev-libs/libpcre + dev-libs/wayland + x11-libs/cairo + x11-libs/libxkbcommon + x11-libs/pango + x11-libs/pixman + elogind? ( >=sys-auth/elogind-239 ) + swaybar? ( x11-libs/gdk-pixbuf:2 ) + swaybg? ( gui-apps/swaybg ) + swayidle? ( gui-apps/swayidle ) + swaylock? ( gui-apps/swaylock ) + systemd? ( >=sys-apps/systemd-239 ) + X? ( x11-libs/libxcb:0= ) +" +if [[ ${PV} == 9999 ]]; then + DEPEND+="~gui-libs/wlroots-9999[elogind=,systemd=,X=]" +else + DEPEND+=">=gui-libs/wlroots-0.6.0[elogind=,systemd=,X=]" +fi +RDEPEND=" + x11-misc/xkeyboard-config + ${DEPEND} +" +BDEPEND=" + >=dev-libs/wayland-protocols-1.14 + virtual/pkgconfig +" +if [[ ${PV} == 9999 ]]; then + BDEPEND+="man? ( ~app-text/scdoc-9999 )" +else + BDEPEND+="man? ( >=app-text/scdoc-1.9.3 )" +fi + +src_prepare() { + default + + 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 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" \ + -e "/completions\/[a-z]\+\/_\?swaynag/d" -i meson.build || die +} + +src_configure() { + local emesonargs=( + -Dman-pages=$(usex man enabled disabled) + -Dtray=$(usex tray enabled disabled) + -Dxwayland=$(usex X enabled disabled) + $(meson_use wallpapers default-wallpaper) + $(meson_use fish-completion fish-completions) + $(meson_use zsh-completion zsh-completions) + "-Dbash-completions=true" + "-Dwerror=false" + ) + + if use swaybar; then + emesonargs+=("-Dgdk-pixbuf=enabled") + else + emesonargs+=("-Dgdk-pixbuf=disabled") + fi + + meson_src_configure +} + +pkg_preinst() { + if ! use systemd && ! use elogind; then + fowners root:0 /usr/bin/sway + fperms 4511 /usr/bin/sway + fi +} + +pkg_postinst() { + if ! use systemd && ! use elogind; then + elog "" + elog "If you use ConsoleKit2, remember to launch sway using:" + elog "exec ck-launch-session sway" + elog "" + elog "If your system does not set the XDG_RUNTIME_DIR environment" + elog "variable, you must set it manually to run Sway. See wiki" + elog "for details: https://wiki.gentoo.org/wiki/Sway" + fi +} diff --git a/gui-wm/sway/sway-9999.ebuild b/gui-wm/sway/sway-9999.ebuild index 0c258524b150..5293b993a7d5 100644 --- a/gui-wm/sway/sway-9999.ebuild +++ b/gui-wm/sway/sway-9999.ebuild @@ -14,7 +14,7 @@ if [[ ${PV} == 9999 ]]; then else MY_PV=${PV/_rc/-rc} SRC_URI="https://github.com/swaywm/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" + KEYWORDS="~amd64 ~arm64 ~x86" S="${WORKDIR}/${PN}-${MY_PV}" fi @@ -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 ) @@ -44,7 +44,7 @@ DEPEND=" if [[ ${PV} == 9999 ]]; then DEPEND+="~gui-libs/wlroots-9999[elogind=,systemd=,X=]" else - DEPEND+=">=gui-libs/wlroots-0.5.0[elogind=,systemd=,X=]" + DEPEND+=">=gui-libs/wlroots-0.6.0[elogind=,systemd=,X=]" fi RDEPEND=" x11-misc/xkeyboard-config @@ -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" \ @@ -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") |