pmaports/maemo/hildon-desktop/APKBUILD
NotKit 739970777f Package more Maemo packages and switch upstream to maemo-leste (#1015)
* Package more maemo apps/libs (including Maemo X Terminal osso-xterm)
* Put libhildondesktop examples into separate package
* Change upstream url in Maemo packages to https://github.com/maemo-leste
Update hildon-desktop and iphbd to their newer repo versions. This includes the fix for the bug when switching between multiple windows in hildon-desktop.
* Use version tags instead of specific commits for Maemo packages
2017-12-19 01:19:17 +00:00

40 lines
1.2 KiB
Text

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"
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"