2017-09-04 17:09:53 +00:00
|
|
|
pkgname=libmatchbox2
|
2018-10-17 13:19:22 +00:00
|
|
|
pkgver=0.2.95
|
2018-01-24 20:45:47 +00:00
|
|
|
pkgrel=0
|
2017-09-04 17:09:53 +00:00
|
|
|
pkgdesc="Library for Matchbox Project applications"
|
2019-01-04 00:47:30 +00:00
|
|
|
arch="all"
|
2017-12-19 01:19:17 +00:00
|
|
|
url="https://github.com/maemo-leste/libmatchbox2"
|
2017-09-04 17:09:53 +00:00
|
|
|
license="GPL"
|
|
|
|
depends="gtk+2.0-maemo pango libpng libxext clutter"
|
|
|
|
depends_dev="libxcomposite-dev libxext-dev libxdamage-dev"
|
|
|
|
makedepends="autoconf automake libtool
|
2017-12-19 01:19:17 +00:00
|
|
|
gtk+2.0-maemo-dev pango-dev clutter-dev libpng-dev $depends_dev"
|
2017-09-04 17:09:53 +00:00
|
|
|
subpackages="$pkgname-dev"
|
2017-12-19 01:19:17 +00:00
|
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/maemo-leste/libmatchbox2/archive/$pkgver.tar.gz"
|
2017-09-04 17:09:53 +00:00
|
|
|
|
2017-12-19 01:19:17 +00:00
|
|
|
builddir="$srcdir/libmatchbox2-$pkgver"
|
2017-09-04 17:09:53 +00:00
|
|
|
|
|
|
|
prepare() {
|
2017-12-19 01:19:17 +00:00
|
|
|
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
|
2017-09-04 17:09:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2017-12-19 01:19:17 +00:00
|
|
|
cd "$builddir"
|
|
|
|
autoreconf -i -f
|
|
|
|
./configure --prefix=/usr --enable-png-theme --with-pango CFLAGS="${CFLAGS} -Wno-error=unused-result -Wno-error=deprecated-declarations"
|
|
|
|
make
|
2017-09-04 17:09:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2017-12-19 01:19:17 +00:00
|
|
|
cd "$builddir"
|
|
|
|
make DESTDIR="$pkgdir/" install
|
2017-09-04 17:09:53 +00:00
|
|
|
}
|
2018-10-17 13:19:22 +00:00
|
|
|
sha512sums="c69f298b62c568527afd455f1778f61f9b48c507bae441e09c3f12fd23899d3213af96f2bf9f40297e25320a36540e43ef7e0279e1fdcf17ca1998ddbdf454ad libmatchbox2-0.2.95.tar.gz"
|