x11-wm/i3: update and use my icon branch

This commit is contained in:
hasufell 2016-02-15 14:55:42 +01:00
parent 0832b3c425
commit d6f08dc9cb
No known key found for this signature in database
GPG Key ID: 220CD1C5BDEED020
2 changed files with 28 additions and 13 deletions

View File

@ -1,7 +1,11 @@
# Copyright 2011-2013 Quentin "Sardem FF7" Glidic <sardemff7@exherbo.org> # Copyright 2011-2013 Quentin "Sardem FF7" Glidic <sardemff7@exherbo.org>
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
require i3 github [ user=hasufell pn=i3wm branch=next ] SCM_REPOSITORY="https://github.com/hasufell/i3wm.git"
: ${SCM_BRANCH:=next}
require i3 scm-git
UPSTREAM_CHANGELOG="http://code.stapelberg.de/git/i3/log/" UPSTREAM_CHANGELOG="http://code.stapelberg.de/git/i3/log/"
UPSTREAM_DOCUMENTATION=" UPSTREAM_DOCUMENTATION="
@ -13,15 +17,22 @@ UPSTREAM_DOCUMENTATION="
PLATFORMS="~amd64" PLATFORMS="~amd64"
MYOPTIONS="icons"
DEPENDENCIES=" DEPENDENCIES="
build: build:
app-doc/asciidoc[>=8.3.0] app-doc/asciidoc[>=8.3.0]
app-text/xmlto app-text/xmlto
build+run: build+run:
x11-utils/xcb-util-cursor x11-utils/xcb-util-cursor
icons? ( x11-utils/xcb-util-image )
" "
DEFAULT_SRC_COMPILE_PARAMS+=( DEFAULT_SRC_COMPILE_PARAMS+=(
all mans all mans
) )
src_compile() {
emake "${DEFAULT_SRC_COMPILE_PARAMS[@]}" \
USE_ICONS="$(option icons 1 0)"
}

View File

@ -31,7 +31,9 @@ DEPENDENCIES="
build+run: build+run:
dev-libs/libev dev-libs/libev
dev-libs/yajl[>=2.0.1] dev-libs/yajl[>=2.0.1]
x11-libs/cairo[X]
x11-libs/libxcb[>=1.1.93] x11-libs/libxcb[>=1.1.93]
x11-libs/libxkbcommon[X][>=0.4.0]
x11-libs/pango x11-libs/pango
x11-libs/startup-notification x11-libs/startup-notification
x11-utils/xcb-util x11-utils/xcb-util
@ -55,19 +57,21 @@ DEPENDENCIES="
]] ]]
" "
if ever at_least scm; then
DEPENDENCIES+="
build+run:
x11-libs/libxkbcommon[X]
"
else
DEPENDENCIES+="
build+run:
x11-libs/libX11
"
fi
DEFAULT_SRC_COMPILE_PARAMS=( DEFAULT_SRC_COMPILE_PARAMS=(
CC=${CC}
AR=${AR}
PKG_CONFIG=$(exhost --tool-prefix)pkg-config
PREFIX=/usr
EXEC_PREFIX=/usr/$(exhost --target)
SYSCONFDIR=/etc
V=1
)
DEFAULT_SRC_INSTALL_PARAMS=(
PKG_CONFIG=$(exhost --tool-prefix)pkg-config
PREFIX=/usr
EXEC_PREFIX=/usr/$(exhost --target)
SYSCONFDIR=/etc
V=1 V=1
) )