Merge pull request #2701 from steski/i3ipc-glib

New package: i3ipc-glib
This commit is contained in:
Juan RP 2015-10-07 08:42:09 +02:00
commit bf2d64da7f
3 changed files with 39 additions and 0 deletions

View file

@ -2222,3 +2222,4 @@ libfts.so.0 musl-fts-1.2_2
libgavl.so.1 gavl-1.40_1
libmxml.so.1 mxml-2.9_1
libdovecot-sieve.so.0 dovecot-plugin-pigeonhole-0.4.9_2
libi3ipc-glib-1.0.so.0 i3ipc-glib-0.6.0_1

1
srcpkgs/i3ipc-glib-devel Symbolic link
View file

@ -0,0 +1 @@
i3ipc-glib

View file

@ -0,0 +1,37 @@
# Template file for 'i3ipc-glib'
pkgname=i3ipc-glib
version=0.6.0
revision=1
build_style=gnu-configure
configure_args="$(vopt_enable gir introspection) --disable-static"
hostmakedepends="autoconf automake libtool gtk-doc pkg-config glib-devel
gobject-introspection"
makedepends="json-glib-devel libxcb-devel libglib-devel"
short_desc="C interface library to i3 window manager"
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
license="GPL-3"
homepage="https://github.com/acrisci/i3ipc-glib"
distfiles="https://github.com/acrisci/${pkgname}/archive/v${version}.tar.gz"
checksum=13796add0292885683040a01ae974f4aacfdb44e3d1ab871d2d94da443489415
build_options="gir"
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
i3ipc-glib-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
}
}