From ec39c54da1eb932efd500b5c6e5f8837a5619150 Mon Sep 17 00:00:00 2001 From: Steve Prybylski Date: Tue, 6 Oct 2015 20:03:16 -0400 Subject: [PATCH] New package: i3ipc-glib --- common/shlibs | 1 + srcpkgs/i3ipc-glib-devel | 1 + srcpkgs/i3ipc-glib/template | 37 +++++++++++++++++++++++++++++++++++++ 3 files changed, 39 insertions(+) create mode 120000 srcpkgs/i3ipc-glib-devel create mode 100644 srcpkgs/i3ipc-glib/template diff --git a/common/shlibs b/common/shlibs index 97040680ac..85dca04f96 100644 --- a/common/shlibs +++ b/common/shlibs @@ -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 diff --git a/srcpkgs/i3ipc-glib-devel b/srcpkgs/i3ipc-glib-devel new file mode 120000 index 0000000000..9504754ea8 --- /dev/null +++ b/srcpkgs/i3ipc-glib-devel @@ -0,0 +1 @@ +i3ipc-glib \ No newline at end of file diff --git a/srcpkgs/i3ipc-glib/template b/srcpkgs/i3ipc-glib/template new file mode 100644 index 0000000000..58fb296c31 --- /dev/null +++ b/srcpkgs/i3ipc-glib/template @@ -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 " +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 + } +}