mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-09 00:23:52 +02:00
libunique: added gir build option; remove long_desc.
This commit is contained in:
parent
67bf6cfec9
commit
cbc3e38d1e
1 changed files with 19 additions and 13 deletions
|
@ -1,10 +1,10 @@
|
||||||
# Template file for 'libunique'.
|
# Template file for 'libunique'.
|
||||||
pkgname=libunique
|
pkgname=libunique
|
||||||
version=3.0.2
|
version=3.0.2
|
||||||
revision=4
|
revision=5
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-bacon=yes --enable-dbus=yes"
|
configure_args="--enable-bacon=yes --enable-dbus=yes"
|
||||||
hostmakedepends="pkg-config gobject-introspection"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="dbus-glib-devel gtk+3-devel"
|
makedepends="dbus-glib-devel gtk+3-devel"
|
||||||
short_desc="Library for writing single instance applications"
|
short_desc="Library for writing single instance applications"
|
||||||
maintainer="xtraeme <xtraeme@gmail.org>"
|
maintainer="xtraeme <xtraeme@gmail.org>"
|
||||||
|
@ -12,24 +12,30 @@ homepage="http://live.gnome.org/LibUnique"
|
||||||
license="LGPL-2.1"
|
license="LGPL-2.1"
|
||||||
distfiles="${GNOME_SITE}/$pkgname/3.0/$pkgname-$version.tar.bz2"
|
distfiles="${GNOME_SITE}/$pkgname/3.0/$pkgname-$version.tar.bz2"
|
||||||
checksum=50269a87c7aabf1e25f01b3bbb280133138ffd7b6776289894c614a4b6ca968d
|
checksum=50269a87c7aabf1e25f01b3bbb280133138ffd7b6776289894c614a4b6ca968d
|
||||||
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
|
# Package build options
|
||||||
class, taking care of all the IPC machinery needed to send messages to a
|
build_options="gir"
|
||||||
running instance, and also handling the startup notification side.
|
desc_option_gir="Enable support for building gobject introspection data"
|
||||||
|
|
||||||
Unique aims to replace the BaconMessageConnection code that has been copied
|
# Disable gir for cross builds.
|
||||||
by many projects and the code using Bonobo and D-Bus."
|
if [ -z "$CROSS_BUILD" ]; then
|
||||||
|
build_options_default="gir"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ "$build_option_gir" ]; then
|
||||||
|
configure_args+=" --enable-introspection"
|
||||||
|
makedepends+=" gobject-introspection"
|
||||||
|
else
|
||||||
|
configure_args+=" --disable-introspection"
|
||||||
|
fi
|
||||||
|
|
||||||
libunique-devel_package() {
|
libunique-devel_package() {
|
||||||
depends="dbus-glib-devel libunique>=${version}"
|
depends="dbus-glib-devel ${sourcepkg}>=${version}_${revision}"
|
||||||
short_desc+=" -- development files"
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove usr/lib/pkgconfig
|
vmove usr/lib/pkgconfig
|
||||||
|
vmove "usr/lib/*.so"
|
||||||
vmove usr/share
|
vmove usr/share
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue