49 lines
1.6 KiB
Text
49 lines
1.6 KiB
Text
# Contributor: Duncan Guthrie <dguthrie@posteo.net>
|
|
# Maintainer: Duncan Guthrie <dguthrie@posteo.net>
|
|
pkgname=libmatchbox
|
|
pkgver=1.12
|
|
pkgrel=1
|
|
pkgdesc="Library for matchbox window manager"
|
|
url="http://matchbox-project.org"
|
|
arch="all"
|
|
license="GPL-2.0-only"
|
|
source="$pkgname-$pkgver.tar.gz::https://git.yoctoproject.org/cgit/cgit.cgi/$pkgname/snapshot/$pkgname-$pkgver.tar.gz
|
|
external-xsettings.patch
|
|
libmb.pc.in.patch"
|
|
depends="pango glib jpeg libpng libx11 libxext libxft libxsettings libxsettings-client"
|
|
makedepends="autoconf automake libtool libx11-dev libxext-dev libxft-dev pango-dev doxygen libjpeg-turbo-dev libxsettings-dev libxsettings-client-dev"
|
|
subpackages="$pkgname-dev $pkgname-dbg"
|
|
builddir="$srcdir/$pkgname-$pkgver"
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
autoreconf --install
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--localstatedir=/var \
|
|
--enable-pango \
|
|
--enable-doxygen-docs \
|
|
--enable-jpeg \
|
|
--enable-unit-tests \
|
|
--enable-debug \
|
|
LIBS="-lXsettings-client -lX11"
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="28392757960a41272e3ac32b8698549be6ee923a79f17a3b648abd59efcf5bda3eaa6de18337e1920a5ca602d7c8f3031c5418a4ce44d6c39376c70aeb49267a libmatchbox-1.12.tar.gz
|
|
d13c3cea22bdb99ea14ec39bad0eac48278cec4d5b013e97dfff7c431160d31bd6b0e048f72816fbc367b232c0f2b7da7ef747058b8e373514831199d0a34103 external-xsettings.patch
|
|
c548b4bc8ff9a596233d46b72b7c4fc8cd942f93f34edf521175ff38423772952d1a1bf4218f2d6319cc912a86908f233b2d7e40c6878db378f52f5557309501 libmb.pc.in.patch"
|