Skip to content

Commit

Permalink
Alpha sway release
Browse files Browse the repository at this point in the history
  • Loading branch information
bpinto committed Apr 5, 2018
1 parent c68120e commit 93c4103
Show file tree
Hide file tree
Showing 5 changed files with 98 additions and 2 deletions.
5 changes: 3 additions & 2 deletions gentoo/etc/portage/package.accept_keywords/sway
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
=dev-libs/json-c-0.12.1 ~amd64
dev-libs/sway **
=dev-libs/json-c-0.13 ~amd64
=dev-libs/wlroots-9999 ~amd64
dev-libs/sway
dev-libs/wlc **
1 change: 1 addition & 0 deletions gentoo/usr/local/portage/dev-libs/sway/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
EBUILD sway-1.0.0_alpha.ebuild 1036 BLAKE2B 2e96b1e406819e9c19358fa69247a8bd7d7c09f007e7a80946eacbd3006a06b21c1e0f97d7665e32b66a77a94353e7fff85cefa8a3b48422a6a842202070aac5 SHA512 e007a3fe07e8ec3511946f9e74d43de7f5a4ce61b9b7be7fb2802e40a1817a55b2ebcb20655bbe2631482c31f7d43dd855957ecffaaed477065a865b780edfb1
47 changes: 47 additions & 0 deletions gentoo/usr/local/portage/dev-libs/sway/sway-1.0.0_alpha.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit git-r3 meson

DESCRIPTION="i3-compatible Wayland window manager"
HOMEPAGE="http://swaywm.org/"

EGIT_REPO_URI="https://github.com/swaywm/sway.git"
EGIT_BRANCH="wlroots"

LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64"
IUSE="+gdk-pixbuf +swaybar +swaybg swaygrab swaylock +swaymsg systemd +tray wallpapers zsh-completion"

REQUIRED_USE="tray? ( swaybar )"

RDEPEND="=dev-libs/wlc-9999[systemd=]
>=dev-libs/json-c-0.13:=
dev-libs/libpcre
dev-libs/libinput
dev-libs/wayland
dev-libs/wayland-protocols
dev-libs/wlroots
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_configure() {
local emesonargs=(
-Ddefault_wallpaper=$(usex wallpapers true false)
-Dzsh_completions=$(usex zsh-completion true false)
)

meson_src_configure
}
1 change: 1 addition & 0 deletions gentoo/usr/local/portage/dev-libs/wlroots/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
EBUILD wlroots-9999.ebuild 1104 BLAKE2B e5590c31d6235123a4c12ca06f20fa09b40a3a59ef28cad40e8add19c8def002d9f899b12bfa360d5a51ce2a0b685d78369c84eb2da99648b77611e868c9a3cf SHA512 d7c32088620295c2553effb42c219ac37f6f8606856380b6c6c97400fddbc42190d0ada8393251db16589663b4b0f97e3abdb5388c3fac98e1fe9c4df5b3180d
46 changes: 46 additions & 0 deletions gentoo/usr/local/portage/dev-libs/wlroots/wlroots-9999.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit git-r3 meson

DESCRIPTION="Pluggable, composable modules for building a Wayland compositor."
HOMEPAGE="https://github.com/SirCmpwn/wlroots"

EGIT_REPO_URI="https://github.com/SirCmpwn/wlroots"
EGIT_CLONE_TYPE="shallow"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="libcap systemd xwayland xcb-errors elogind"

DEPEND="
x11-libs/libxkbcommon
dev-libs/libinput
x11-libs/libdrm
dev-libs/wayland
dev-libs/wayland-protocols
virtual/libudev
x11-libs/pixman
media-libs/mesa[egl,gles2,gbm]
x11-libs/libxcb
x11-proto/xcb-proto
libcap? ( sys-libs/libcap )
systemd? ( sys-apps/systemd )
xwayland? ( x11-base/xorg-server[wayland] )
elogind? ( sys-auth/elogind )
"
RDEPEND="${DEPEND}"

src_configure() {
local emesonargs=(
-Denable_libcap=$(usex libcap true false)
-Denable_systemd=$(usex systemd true false)
-Denable_elogind=$(usex elogind true false)
-Denable_xcb_errors=$(usex xcb-errors true false)
-Denable_xwayland=$(usex xwayland true false)
)
meson_src_configure
}

0 comments on commit 93c4103

Please sign in to comment.