2017-09-04 17:09:53 +00:00
|
|
|
pkgname=libhildondesktop
|
|
|
|
pkgver=2.1.43
|
2019-01-06 00:17:28 +00:00
|
|
|
pkgrel=4
|
2017-09-04 17:09:53 +00:00
|
|
|
pkgdesc="Hildon Desktop library"
|
2019-01-04 00:47:30 +00:00
|
|
|
arch="all"
|
2017-12-19 01:19:17 +00:00
|
|
|
url="https://github.com/maemo-leste/libhildondesktop"
|
2017-09-04 17:09:53 +00:00
|
|
|
license="GPL"
|
|
|
|
depends="libhildon iphbd dbus-glib"
|
2017-09-29 16:08:02 +00:00
|
|
|
makedepends="autoconf automake libhildon-dev iphbd-dev dbus-glib-dev"
|
2017-12-19 01:19:17 +00:00
|
|
|
subpackages="$pkgname-dev $pkgname-examples"
|
2019-01-06 00:17:28 +00:00
|
|
|
source="
|
|
|
|
$pkgname-$pkgver.tar.gz::https://github.com/maemo-leste/libhildondesktop/archive/$pkgver.tar.gz
|
|
|
|
stop-deprecated-functions-from-breaking-compilation.patch
|
|
|
|
"
|
2017-09-04 17:09:53 +00:00
|
|
|
|
2019-01-06 00:17:28 +00:00
|
|
|
builddir="$srcdir/$pkgname-$pkgver"
|
2017-09-04 17:09:53 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$builddir"
|
2019-01-06 00:17:28 +00:00
|
|
|
./autogen.sh --prefix=/usr CFLAGS="${CFLAGS} -Wno-error=unused-but-set-variable"
|
|
|
|
make
|
2017-09-04 17:09:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$builddir"
|
2019-01-06 00:17:28 +00:00
|
|
|
make DESTDIR="$pkgdir/" install
|
2017-09-04 17:09:53 +00:00
|
|
|
}
|
2017-12-19 01:19:17 +00:00
|
|
|
|
|
|
|
examples() {
|
|
|
|
pkgdesc="Hildon Desktop examples"
|
|
|
|
mkdir -p "$subpkgdir/usr/lib"
|
|
|
|
mv "$pkgdir/usr/lib/hildon-desktop" "$subpkgdir/usr/lib/"
|
|
|
|
mv "$pkgdir/usr/share" "$subpkgdir/usr/"
|
|
|
|
}
|
|
|
|
|
2019-01-06 00:17:28 +00:00
|
|
|
sha512sums="5766cfc600a2711ecb88d55a67a95e92555608b54217d8d83b8191e9c1d14ea0c3150e5c7ac2251acf83d7e200e80bfcd877c66a993e509c353b76da1136450f libhildondesktop-2.1.43.tar.gz
|
|
|
|
05f3c10ff2dcccd86ced633ec78593cd933aa7a53d2c8a0aca6a6e6ed5bf9c20bd87325ac22ec4bf536bfbeb247ae58ddc07cd1b2f6da7004a72f846e35dd3f2 stop-deprecated-functions-from-breaking-compilation.patch"
|