# Template file for 'libunique'.
pkgname=libunique
version=1.1.6
revision=1
distfiles="${GNOME_SITE}/$pkgname/1.1/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--enable-introspection=no --enable-bacon=yes --enable-dbus=yes"
short_desc="Library for writing single instance applications"
maintainer="pancake <pancake@nopcode.org>"
checksum=e5c8041cef8e33c55732f06a292381cb345db946cf792a4ae18aa5c66cdd4fbb
long_desc="
 Unique is a library for writing single instance application. If you launch a
 single instance application twice, the second instance will either just quit
 or will send a message to the running instance.

 Unique makes it easy to write this kind of applications, by providing a base
 class, taking care of all the IPC machinery needed to send messages to a
 running instance, and also handling the startup notification side.

 Unique aims to replace the BaconMessageConnection code that has been copied
 by many projects and the code using Bonobo and D-Bus."

disable_parallel_build=yes
subpackages="$pkgname-devel"

# XXX: add introspection subpkg.
Add_dependency run glibc
Add_dependency run glib
Add_dependency run dbus-libs
Add_dependency run dbus-glib
Add_dependency run atk
Add_dependency run pango
Add_dependency run cairo
Add_dependency run freetype
Add_dependency run fontconfig
Add_dependency run libX11
Add_dependency run gtk+

Add_dependency build pkg-config
Add_dependency build libX11-devel
Add_dependency build atk-devel
Add_dependency build glib-devel
Add_dependency build pango-devel
Add_dependency build cairo-devel
Add_dependency build freetype-devel
Add_dependency build fontconfig-devel
Add_dependency build dbus-devel
Add_dependency build dbus-glib-devel
Add_dependency build gtk+-devel
