pmaports/maemo/hildon-desktop/APKBUILD

41 lines
1.2 KiB
Text
Raw Normal View History

pkgname=hildon-desktop
pkgver=2.2.155
pkgrel=3
pkgdesc="Hildon desktop for Fremantle"
arch="all"
url="https://github.com/maemo-leste/hildon-desktop"
license="GPL"
depends="libhildon libmatchbox2 libhildondesktop clutter gnome-menus2 profiled"
2017-09-29 16:08:02 +00:00
makedepends="
autoconf
automake
gnome-menus2-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
# Temp workaround for top-left button to appear in QEMU x86_64
sed -i -e 's/MB_WM_OBJECT_TYPE(c)==HD_TYPE_TITLE_BAR/G_TYPE_CHECK_INSTANCE_TYPE(c, HD_TYPE_TITLE_BAR)/g' src/home/hd-title-bar.h
}
build() {
cd "$builddir"
./autogen.sh
./configure --prefix=/usr --sysconfdir=/etc
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir/" install
}
sha512sums="5cc45cbf9bc179298d1cdab860e5793922bc8768f5e636ddfbd4730eabef889d5c6f74d59668e982f762fe3d6c1e166071f246fa97d9fe6599ca18504ee87c40 hildon-desktop-2.2.155.tar.gz"