2009-05-15 19:09:20 +02:00
|
|
|
# Template file for 'libunique'.
|
|
|
|
pkgname=libunique
|
2011-06-20 16:49:42 +02:00
|
|
|
version=3.0.2
|
2013-04-13 10:15:49 +02:00
|
|
|
revision=4
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2010-10-28 17:30:41 +02:00
|
|
|
configure_args="--enable-bacon=yes --enable-dbus=yes"
|
2013-04-13 10:15:49 +02:00
|
|
|
hostmakedepends="pkg-config gobject-introspection"
|
|
|
|
makedepends="dbus-glib-devel gtk+3-devel"
|
2009-05-15 19:09:20 +02:00
|
|
|
short_desc="Library for writing single instance applications"
|
2011-04-05 10:29:18 +02:00
|
|
|
maintainer="xtraeme <xtraeme@gmail.org>"
|
2011-06-20 16:49:42 +02:00
|
|
|
homepage="http://live.gnome.org/LibUnique"
|
|
|
|
license="LGPL-2.1"
|
2013-04-13 10:15:49 +02:00
|
|
|
distfiles="${GNOME_SITE}/$pkgname/3.0/$pkgname-$version.tar.bz2"
|
2011-06-20 16:49:42 +02:00
|
|
|
checksum=50269a87c7aabf1e25f01b3bbb280133138ffd7b6776289894c614a4b6ca968d
|
2009-05-15 19:09:20 +02:00
|
|
|
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."
|
|
|
|
|
2013-04-13 10:15:49 +02:00
|
|
|
libunique-devel_package() {
|
|
|
|
depends="dbus-glib-devel libunique>=${version}"
|
|
|
|
short_desc+=" -- development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/share
|
|
|
|
}
|
|
|
|
}
|
2010-04-23 16:23:05 +02:00
|
|
|
|
2013-04-13 10:15:49 +02:00
|
|
|
libunique_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|