overlay/x11-misc/i3ipc-glib/i3ipc-glib-1.0.1.ebuild

49 lines
857 B
Bash
Raw Normal View History

EAPI=7
DESCRIPTION="A C interface library to i3wm"
HOMEPAGE="https://github.com/altdesktop/i3ipc-glib"
SRC_URI="https://github.com/altdesktop/i3ipc-glib/archive/v1.0.1.tar.gz"
LICENSE="GPL-3"
SLOT="1.0"
KEYWORDS="~amd64"
IUSE="introspection gtk-doc"
DEPEND="
introspection? (
dev-libs/gobject-introspection
)
dev-util/gtk-doc
"
BDEPEND="
>=dev-libs/json-glib-0.14.0
>=dev-libs/glib-2.32.0
x11-base/xcb-proto
x11-libs/libxcb
"
src_configure() {
USEOPTIONS=""
if use gtk-doc; then
USEOPTIONS+="--enable-gtk-doc"
fi
if use introspection; then
USEOPTIONS+="--enable-introspection"
fi
./autogen.sh ${USEOPTIONS} \
--host=${CHOST} \
--prefix=/usr \
2020-10-26 03:08:00 -05:00
--libdir=${exec_prefix}/lib64
--infodir=/usr/share/info \
--mandir=/usr/share/man || die
}
2020-10-26 03:08:00 -05:00
#src_install() {
# emake DESTDIR="${D}" LIBRARY_REL=$(get_libdir) install || die
#}