pmaports/maemo/hildon-desktop/APKBUILD

38 lines
1 KiB
Text

pkgname=hildon-desktop
pkgver=2.2.157.10
pkgrel=0
pkgdesc="Hildon desktop for Fremantle"
arch="x86_64 armhf aarch64"
url="https://github.com/maemo-leste/hildon-desktop"
license="GPL"
depends="libhildon libmatchbox2 libhildondesktop clutter gnome-menus profiled"
makedepends="
autoconf
automake
gnome-menus-dev
libhildondesktop-dev
libmatchbox2-dev
mce-headers
profiled-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/maemo-leste/hildon-desktop/archive/$pkgver.tar.gz"
builddir="$srcdir/hildon-desktop-$pkgver"
prepare() {
cd "$builddir"
sed -i -e 's/libpng12/libpng/g' configure.ac
sed -i -e 's/g_return_if_fail (!render_manager->priv->zoomed);//g' src/home/hd-render-manager.c
}
build() {
cd "$builddir"
./autogen.sh
./configure --prefix=/usr --sysconfdir=/etc
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir/" install
}
sha512sums="307bee2290031bfde4fce22b1c451bcc7e32bb784aa53f4d32f99fcd64cf3d3d796598908befe5878db4b40f66479faf2465981bf4e2ae71efcda1d94efeffdf hildon-desktop-2.2.157.10.tar.gz"