Commit af0be2db authored by Jakub Jirutka's avatar Jakub Jirutka

testing/colord: fix dependencies, add -lang subpkg, improve abuild

parent 84bc2a82
......@@ -2,32 +2,21 @@
# Maintainer:
pkgname=colord
pkgver=1.2.12
pkgrel=0
pkgdesc="http://www.freedesktop.org/software/colord/releases/colord-1.0.6.tar.xz"
pkgrel=1
pkgdesc="System daemon for managing color devices"
url="http://www.freedesktop.org/software/colord"
arch="all"
license="GPL2"
depends=""
depends_dev="dconf-dev dbus-dev lcms2-dev gobject-introspection-dev libgusb-dev
sqlite-dev polkit-dev"
makedepends="$depends_dev intltool bash-completion"
install=""
subpackages="$pkgname-dev"
depends_dev="dconf-dev dbus-dev gobject-introspection-dev sqlite-dev
polkit-dev libgudev-dev"
makedepends="$depends_dev intltool bash-completion libgusb-dev lcms2-dev"
subpackages="$pkgname-dev $pkgname-lang"
source="http://www.freedesktop.org/software/colord/releases/colord-$pkgver.tar.xz"
_builddir="$srcdir"/colord-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$_builddir"
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -44,7 +33,7 @@ build() {
}
package() {
cd "$_builddir"
cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment