739970777f
* 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
34 lines
1.1 KiB
Text
34 lines
1.1 KiB
Text
pkgname=libmatchbox2
|
|
pkgver=0.2.92
|
|
pkgrel=2
|
|
pkgdesc="Library for Matchbox Project applications"
|
|
arch="all"
|
|
url="https://github.com/maemo-leste/libmatchbox2"
|
|
license="GPL"
|
|
depends="gtk+2.0-maemo pango libpng libxext clutter"
|
|
depends_dev="libxcomposite-dev libxext-dev libxdamage-dev"
|
|
makedepends="autoconf automake libtool
|
|
gtk+2.0-maemo-dev pango-dev clutter-dev libpng-dev $depends_dev"
|
|
subpackages="$pkgname-dev"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/maemo-leste/libmatchbox2/archive/$pkgver.tar.gz"
|
|
|
|
builddir="$srcdir/libmatchbox2-$pkgver"
|
|
|
|
prepare() {
|
|
cd "$builddir"
|
|
sed -i -e 's/libpng12/libpng/g' configure.ac
|
|
sed -i -e 's/png_ptr->jmpbuf/png_jmpbuf(png_ptr)/g' matchbox/theme-engines/mb-wm-theme-png.c
|
|
}
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
autoreconf -i -f
|
|
./configure --prefix=/usr --enable-png-theme --with-pango CFLAGS="${CFLAGS} -Wno-error=unused-result -Wno-error=deprecated-declarations"
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir/" install
|
|
}
|
|
sha512sums="67abf8db2c1a301a5b3cd81debb306a475066b6de888c5280bb427cbbd689b84d65136f2b49e3f49d3039625f2f5ff55d420e7595f460a433d57298c610862fe libmatchbox2-0.2.92.tar.gz"
|