mirror of
https://github.com/swaywm/sway.git
synced 2026-05-04 06:46:25 -04:00
Merge 79e68e7b87 into 373def4446
This commit is contained in:
commit
75356f1d85
3 changed files with 66 additions and 1 deletions
|
|
@ -2,7 +2,6 @@
|
||||||
image: archlinux
|
image: archlinux
|
||||||
packages:
|
packages:
|
||||||
- meson
|
- meson
|
||||||
- wlc-git
|
|
||||||
- xorg-server-xwayland
|
- xorg-server-xwayland
|
||||||
- xcb-util-image
|
- xcb-util-image
|
||||||
- json-c
|
- json-c
|
||||||
|
|
|
||||||
63
dist/archlinux/PKGBUILD
vendored
Normal file
63
dist/archlinux/PKGBUILD
vendored
Normal file
|
|
@ -0,0 +1,63 @@
|
||||||
|
# Maintainer: Drew DeVault <sir@cmpwn.com>
|
||||||
|
# Contributor: chrisaw <home@chrisaw.com>
|
||||||
|
|
||||||
|
pkgname=sway
|
||||||
|
pkgver=git
|
||||||
|
pkgrel=1
|
||||||
|
license=('MIT')
|
||||||
|
pkgdesc='i3 compatible window manager for Wayland'
|
||||||
|
makedepends=(
|
||||||
|
"meson"
|
||||||
|
"git"
|
||||||
|
"asciidoc"
|
||||||
|
)
|
||||||
|
depends=(
|
||||||
|
"wlroots"
|
||||||
|
"wayland"
|
||||||
|
"xorg-server-xwayland"
|
||||||
|
"libinput"
|
||||||
|
"libcap"
|
||||||
|
"pcre"
|
||||||
|
"json-c"
|
||||||
|
"pango"
|
||||||
|
"cairo"
|
||||||
|
"gdk-pixbuf2"
|
||||||
|
"pam"
|
||||||
|
"dbus"
|
||||||
|
)
|
||||||
|
optdepends=(
|
||||||
|
"rxvt-unicode: Default terminal emulator."
|
||||||
|
"dmenu: Default for launching applications."
|
||||||
|
"imagemagick: For taking screenshots."
|
||||||
|
"ffmpeg: For recording screencasts."
|
||||||
|
"i3status: To display system information with a bar."
|
||||||
|
)
|
||||||
|
arch=("i686" "x86_64")
|
||||||
|
url='http://swaywm.org'
|
||||||
|
source=("${pkgname%-*}::git+https://github.com/SirCmpwn/sway.git#branch=wlroots")
|
||||||
|
sha1sums=('SKIP')
|
||||||
|
provides=('sway')
|
||||||
|
conflicts=('sway-git')
|
||||||
|
install=sway.install
|
||||||
|
|
||||||
|
pkgver() {
|
||||||
|
cd "${srcdir}/${pkgname}"
|
||||||
|
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "${srcdir}/${pkgname}"
|
||||||
|
|
||||||
|
meson build \
|
||||||
|
--prefix=/usr \
|
||||||
|
-Dbuildtype=debugoptimized \
|
||||||
|
-Db_lto=True
|
||||||
|
|
||||||
|
ninja -C build
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "${srcdir}/${pkgname}"
|
||||||
|
|
||||||
|
DESTDIR="${pkgdir}" ninja -C build install
|
||||||
|
}
|
||||||
3
dist/archlinux/sway.install
vendored
Normal file
3
dist/archlinux/sway.install
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
post_install() {
|
||||||
|
setcap "cap_sys_ptrace,cap_sys_tty_config=eip" /usr/bin/sway
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue