mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
38 lines
1.1 KiB
Bash
38 lines
1.1 KiB
Bash
#
|
|
# Apps Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=digikam
|
|
pkgver=1.6.0
|
|
pkgrel=1
|
|
pkgdesc="Digital photo management application for kde"
|
|
arch=('i686' 'x86_64')
|
|
license=('GPL')
|
|
url="http://digikam.sourceforge.net"
|
|
depends=('kdebase-runtime' 'kdegraphics-common' 'kdepimlibs' 'lensfun' 'kdeedu-marble' 'liblqr')
|
|
makedepends=('pkgconfig' 'cmake' 'automoc4' 'doxygen')
|
|
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
|
|
replaces=('digikamimageplugins')
|
|
install=digikam.install
|
|
optdepends=('kipi-plugins: for more extras and plugins')
|
|
md5sums=('a7bfe28f04a840719bf3e10a000ad89e')
|
|
|
|
build() {
|
|
cd ${srcdir}
|
|
|
|
mkdir -p build
|
|
cd build
|
|
cmake ../${pkgname}-${pkgver} \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DENABLE_MARBLEWIDGET=yes \
|
|
-DWITH_MarbleWidget=yes \
|
|
-DCMAKE_SKIP_RPATH=ON
|
|
make all || return 1
|
|
make DESTDIR="${pkgdir}" install || return 1
|
|
}
|