https://bugs.kde.org/show_bug.cgi?id=411214

--- Comment #74 from maderios <[email protected]> ---
I see in "component information' that my digikam-git is compiled with
Imagemagick codecs but it's false. 
I think there's something inside digikam code that forces digikam build to use
Imagemagick. 
Important: I clean build directory each time before I compile digikam with
options '-sicC':
man makepkg
-C, --cleanbuild
Remove the $srcdir before building the package.
-c, --clean
Clean up leftover work files and directories after a successful build.
-s, --syncdeps

My PKGBUILD script:

pkgname=digikam-git
pkgver=r43949.5352aa5f77
pkgrel=3
pkgdesc='Digital photo management application for KDE'
arch=('i686' 'x86_64')
license=('GPL')
url="http://www.digikam.org/";
depends=(liblqr lensfun opencv knotifyconfig kfilemetadata qtav  threadweaver
qt5-xmlpatterns)
makedepends=(extra-cmake-modules doxygen eigen boost kdoctools git)
optdepends=('hugin: panorama tool' 'qt5-imageformats: support for additional
image formats (WEBP, TIFF)')
conflicts=('digikam')
provides=('digikam')
install=digikam-git.install
source=('digikam::git+git://anongit.kde.org/digikam')
md5sums=('SKIP')

pkgver() {
  cd "${srcdir}/digikam"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short
HEAD)"
}

prepare() {
if [[ -d "${srcdir}/build" ]]; then
      msg "Cleaning the previous build directory..."
      rm -rf "${srcdir}/build"
  fi
  mkdir "${srcdir}/build"
}

build() {
  cd "${srcdir}/build"
  cmake ../digikam \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_INSTALL_LIBDIR=lib \
    -DBUILD_TESTING=OFF \
    -DENABLE_KFILEMETADATASUPPORT=ON \
    -DENABLE_MEDIAPLAYER=ON \
    -DENABLE_AKONADICONTACTSUPPORT=OFF \
    -DENABLE_MYSQLSUPPORT=ON \
    -DENABLE_APPSTYLES=ON \
    -DENABLE_QWEBENGINE=OFF \
    -DOpenGL_GL_PREFERENCE=GLVND
  make
}

package() {
  cd "${srcdir}/build"
  make DESTDIR="${pkgdir}" install
}

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to