pkgname=katie-git
pkgver=4.8.7.8e624df
-pkgrel=1
+pkgrel=2
pkgdesc='C++ toolkit derived from the Qt 4.8 framework'
arch=('i686' 'x86_64')
url='https://github.com/fluxer/katie'
license=('LGPL' 'FDL' 'custom')
depends=('openssl' 'zlib' 'cups' 'alsa-lib' 'gtk2' 'nas' 'libgl' 'libice'
'libsm' 'libxcursor' 'libxext' 'libxfixes' 'libxi' 'libxinerama'
- 'libxrandr' 'libxrender' 'libx11' 'fontconfig' 'freetype2' 'glib2'
- 'gst-plugins-base' 'libxml2')
+ 'libxrandr' 'libxrender' 'libx11' 'fontconfig' 'freetype2' 'glib2')
makedepends=('cmake' 'git' 'python' 'postgresql' 'mariadb' 'unixodbc' 'mesa'
'vlc' 'unifdef')
optdepends=('postgresql-libs: PostgreSQL driver'
prepare() {
mkdir -p build
+
+ echo 'set(LDCONF_INSTALL_DIR /etc/ld.so.conf.d)' \
+ >> katie/mkspecs/linux/vendor.cmake
+ echo 'set(DBUS_INTERFACES_INSTALL_DIR /etc/dbus-1/interfaces)' \
+ >> katie/mkspecs/linux/vendor.cmake
}
build() {
# Maintainer: Ivailo Monev <xakepa10@gmail.com>
version=4.8.7
+release=2
description='C++ toolkit derived from the Qt 4.8 framework'
depends=('libtiff' 'libpng' 'libmng' 'sqlite' 'ca-certificates' 'glib' 'dbus'
'fontconfig' 'xorg-libraries' 'alsa-lib' 'icu' 'hicolor-icon-theme'
optdepends=('gtk2' 'mariadb' 'unixodbc' 'postgresql' 'vlc' 'nas')
sources=("https://github.com/fluxer/katie.git")
+src_prepare() {
+ echo 'set(LDCONF_INSTALL_DIR /etc/ld.so.conf.d)' \
+ >> katie.git/mkspecs/linux/vendor.cmake
+ echo 'set(DBUS_INTERFACES_INSTALL_DIR /etc/dbus-1/interfaces)' \
+ >> katie.git/mkspecs/linux/vendor.cmake
+}
+
src_compile() {
mkdir -p build && cd build
make
}
-src_check() {
- cd "$SOURCE_DIR/build"
- make check
-}
-
src_install() {
cd "$SOURCE_DIR/build"
make DESTDIR="$INSTALL_DIR" install