1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit multilib toolchain-funcs
8 [[ ${PV} == 9999* ]] && inherit git-2
10 DESCRIPTION="A library that implements a user interface that focuses on simplicity and minimalism"
11 HOMEPAGE="http://pwmt.org/projects/girara/"
12 if ! [[ ${PV} == 9999* ]]; then
13 SRC_URI="http://pwmt.org/projects/${PN}/download/${P}.tar.gz"
15 EGIT_REPO_URI="https://git.pwmt.org/pwmt/${PN}.git"
20 if ! [[ ${PV} == 9999* ]]; then
21 KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
25 IUSE="libnotify static-libs"
27 RDEPEND=">=dev-libs/glib-2.28
30 !<${CATEGORY}/${PN}-0.1.6
31 libnotify? ( >=x11-libs/libnotify-0.7 )"
38 WITH_LIBNOTIFY=$(usex libnotify 1 0)
39 PREFIX="${EPREFIX}"/usr
40 LIBDIR='${PREFIX}'/$(get_libdir)
49 # Remove 'static' and 'install-static' targets
50 if ! use static-libs; then
52 -e '/^${PROJECT}:/s:static::' \
53 -e '/^install:/s:install-static::' \
59 emake "${mygiraraconf[@]}"
63 emake "${mygiraraconf[@]}" install