2010-12-17 11:31:06 +01:00
|
|
|
# Description: Unique is a library for writing single instance application
|
|
|
|
# URL: http://live.gnome.org/LibUnique
|
|
|
|
# Maintainer: Jose V Beneyto, sepen at crux dot nu
|
|
|
|
# Packager: Jose V Beneyto, sepen at crux dot nu
|
2015-01-06 21:38:27 +01:00
|
|
|
# Depends on: gtk3 xorg-libxdamage
|
2010-12-17 11:31:06 +01:00
|
|
|
|
|
|
|
name=libunique
|
2015-01-07 00:19:05 +01:00
|
|
|
version=1.1.6
|
|
|
|
release=4
|
|
|
|
source=(http://download.gnome.org/sources/$name/${version%.*}/$name-$version.tar.bz2 \
|
|
|
|
G_CONST_RETURN.patch)
|
2010-12-17 11:31:06 +01:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
2012-06-19 15:53:24 +02:00
|
|
|
|
2015-01-07 00:19:05 +01:00
|
|
|
patch -p1 -i $SRC/G_CONST_RETURN.patch
|
|
|
|
|
2010-12-17 11:31:06 +01:00
|
|
|
./configure --prefix=/usr \
|
2012-10-18 14:50:30 +02:00
|
|
|
--disable-dbus \
|
2010-12-17 11:31:06 +01:00
|
|
|
--disable-static \
|
2013-07-02 19:11:16 +02:00
|
|
|
--disable-debug \
|
2010-12-17 11:31:06 +01:00
|
|
|
--with-x
|
2013-07-02 19:11:16 +02:00
|
|
|
|
2015-01-07 00:19:05 +01:00
|
|
|
sed -i $(find . -type f -name Makefile) \
|
|
|
|
-e 's|aclocal-1.11|aclocal|g' \
|
|
|
|
-e 's|automake-1.11|automake|g'
|
|
|
|
|
2010-12-17 11:31:06 +01:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2013-07-02 19:11:16 +02:00
|
|
|
|
2010-12-17 11:31:06 +01:00
|
|
|
rm -rf $PKG/usr/share/gtk-doc
|
|
|
|
}
|