tellico-2.3.11.ebuild 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. # Copyright 1999-2016 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. KDE_LINGUAS="bg bs ca ca@valencia cs da de el en_GB eo es et eu fi fr ga gl hu
  5. ia it ja kk lt mr ms nb nds nl nn pl pt pt_BR ro ru sk sl sv tr ug uk zh_CN
  6. zh_TW"
  7. KDE_MINIMAL="4.13.1"
  8. KDE_HANDBOOK="optional"
  9. inherit kde4-base
  10. DESCRIPTION="A collection manager for the KDE environment"
  11. HOMEPAGE="http://tellico-project.org/"
  12. SRC_URI="http://tellico-project.org/files/${P}.tar.bz2"
  13. LICENSE="GPL-2"
  14. SLOT="4"
  15. KEYWORDS="~amd64 ~x86"
  16. IUSE="addressbook cddb debug pdf scanner taglib v4l xmp yaz"
  17. RDEPEND="
  18. dev-libs/libxml2
  19. dev-libs/libxslt
  20. dev-libs/qjson
  21. dev-qt/qtdbus:4
  22. media-libs/qimageblitz
  23. addressbook? ( $(add_kdeapps_dep kdepimlibs) )
  24. cddb? ( $(add_kdeapps_dep libkcddb) )
  25. pdf? ( app-text/poppler[qt4] )
  26. scanner? ( $(add_kdeapps_dep libksane) )
  27. taglib? ( >=media-libs/taglib-1.5 )
  28. v4l? ( >=media-libs/libv4l-0.8.3 )
  29. xmp? ( >=media-libs/exempi-2 )
  30. yaz? ( >=dev-libs/yaz-2:0 )
  31. "
  32. DEPEND="${RDEPEND}
  33. sys-devel/gettext
  34. "
  35. # tests need network access and well-defined server responses
  36. RESTRICT="test"
  37. DOCS=( AUTHORS ChangeLog README )
  38. src_configure() {
  39. local mycmakeargs=(
  40. -DWITH_Nepomuk=OFF
  41. $(cmake-utils_use_with addressbook KdepimLibs)
  42. $(cmake-utils_use_with cddb KdeMultimedia)
  43. $(cmake-utils_use_with pdf PopplerQt4)
  44. $(cmake-utils_use_with scanner KSane)
  45. $(cmake-utils_use_with taglib)
  46. $(cmake-utils_use_enable v4l WEBCAM)
  47. $(cmake-utils_use_with xmp Exempi)
  48. $(cmake-utils_use_with yaz)
  49. )
  50. kde4-base_src_configure
  51. }