libunique1: added gir build option; remove long_desc.
This commit is contained in:
parent
0cbdc26c05
commit
67bf6cfec9
1 changed files with 18 additions and 15 deletions
|
@ -1,12 +1,12 @@
|
||||||
# Template file for 'libunique1'.
|
# Template file for 'libunique1'.
|
||||||
pkgname=libunique1
|
pkgname=libunique1
|
||||||
version=1.1.6
|
version=1.1.6
|
||||||
revision=5
|
revision=6
|
||||||
wrksrc="libunique-${version}"
|
wrksrc="libunique-${version}"
|
||||||
patch_args="-Np1"
|
patch_args="-Np1"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-static --disable-dbus"
|
configure_args="--disable-static --disable-dbus"
|
||||||
hostmakedepends="libtool automake pkg-config gobject-introspection"
|
hosthostmakedepends="libtool automake pkg-config"
|
||||||
makedepends="gtk+-devel"
|
makedepends="gtk+-devel"
|
||||||
short_desc="Library for writing single instance applications (GTK+2)"
|
short_desc="Library for writing single instance applications (GTK+2)"
|
||||||
maintainer="xtraeme <xtraeme@gmail.org>"
|
maintainer="xtraeme <xtraeme@gmail.org>"
|
||||||
|
@ -14,20 +14,22 @@ homepage="http://live.gnome.org/LibUnique"
|
||||||
license="LGPL-2.1"
|
license="LGPL-2.1"
|
||||||
distfiles="${GNOME_SITE}/libunique/1.1/libunique-$version.tar.bz2"
|
distfiles="${GNOME_SITE}/libunique/1.1/libunique-$version.tar.bz2"
|
||||||
checksum=e5c8041cef8e33c55732f06a292381cb345db946cf792a4ae18aa5c66cdd4fbb
|
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
|
# 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
|
||||||
|
|
||||||
This package is built against GTK+2 toolkit, unlike libunique which uses
|
if [ "$build_option_gir" ]; then
|
||||||
the GTK+3 toolkit."
|
configure_args+=" --enable-introspection"
|
||||||
|
makedepends+=" gobject-introspection"
|
||||||
|
else
|
||||||
|
configure_args+=" --disable-introspection"
|
||||||
|
fi
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
# Fix build with glib 2.30.
|
# Fix build with glib 2.30.
|
||||||
|
@ -40,11 +42,12 @@ pre_configure() {
|
||||||
}
|
}
|
||||||
|
|
||||||
libunique1-devel_package() {
|
libunique1-devel_package() {
|
||||||
depends="gtk+-devel ${sourcepkg}-${version}_${revision}"
|
depends="gtk+-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
Add a link
Reference in a new issue