tellico-3.0.2.ebuild 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. # Copyright 1999-2017 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=6
  4. KDE_HANDBOOK="forceoptional"
  5. KDE_TEST="forceoptional"
  6. VIRTUALX_REQUIRED="test"
  7. inherit kde5
  8. DESCRIPTION="A collection manager based on KDE Frameworks"
  9. HOMEPAGE="http://tellico-project.org/"
  10. SRC_URI="http://tellico-project.org/files/${P}.tar.xz"
  11. LICENSE="|| ( GPL-2 GPL-3 )"
  12. KEYWORDS="~amd64 ~x86"
  13. IUSE="cddb discid pdf scanner semantic-desktop taglib v4l xmp yaz"
  14. COMMON_DEPEND="
  15. $(add_frameworks_dep karchive)
  16. $(add_frameworks_dep kcodecs)
  17. $(add_frameworks_dep kcompletion)
  18. $(add_frameworks_dep kconfig)
  19. $(add_frameworks_dep kconfigwidgets)
  20. $(add_frameworks_dep kcoreaddons)
  21. $(add_frameworks_dep kcrash)
  22. $(add_frameworks_dep kguiaddons)
  23. $(add_frameworks_dep khtml)
  24. $(add_frameworks_dep kiconthemes)
  25. $(add_frameworks_dep kitemmodels)
  26. $(add_frameworks_dep ki18n)
  27. $(add_frameworks_dep kjobwidgets)
  28. $(add_frameworks_dep kio)
  29. $(add_frameworks_dep knewstuff)
  30. $(add_frameworks_dep kparts)
  31. $(add_frameworks_dep kservice)
  32. $(add_frameworks_dep ktextwidgets)
  33. $(add_frameworks_dep kwallet)
  34. $(add_frameworks_dep kwidgetsaddons)
  35. $(add_frameworks_dep kwindowsystem)
  36. $(add_frameworks_dep kxmlgui)
  37. $(add_frameworks_dep solid)
  38. $(add_frameworks_dep sonnet)
  39. $(add_qt_dep qtdbus)
  40. $(add_qt_dep qtgui)
  41. $(add_qt_dep qtnetwork)
  42. $(add_qt_dep qtwidgets)
  43. $(add_qt_dep qtxml)
  44. >=dev-perl/Text-BibTeX-0.780.0-r1
  45. dev-libs/libxml2
  46. dev-libs/libxslt
  47. cddb? ( $(add_kdeapps_dep libkcddb) )
  48. discid? ( media-libs/libdiscid )
  49. pdf? ( app-text/poppler[qt5] )
  50. scanner? ( $(add_kdeapps_dep libksane) )
  51. semantic-desktop? ( $(add_frameworks_dep kfilemetadata) )
  52. taglib? ( >=media-libs/taglib-1.5 )
  53. v4l? ( >=media-libs/libv4l-0.8.3 )
  54. xmp? ( >=media-libs/exempi-2 )
  55. yaz? ( >=dev-libs/yaz-2:0 )
  56. "
  57. DEPEND="${COMMON_DEPEND}
  58. sys-devel/gettext
  59. "
  60. RDEPEND="${COMMON_DEPEND}
  61. !kde-misc/tellico:4
  62. "
  63. # tests need network access
  64. RESTRICT="test"
  65. DOCS=( AUTHORS ChangeLog README )
  66. src_configure() {
  67. local mycmakeargs=(
  68. -DCMAKE_DISABLE_FIND_PACKAGE_Csv=ON
  69. $(cmake-utils_use_find_package cddb KF5Cddb)
  70. $(cmake-utils_use_find_package discid DiscID)
  71. $(cmake-utils_use_find_package pdf PopplerQt5)
  72. $(cmake-utils_use_find_package scanner KF5Sane)
  73. $(cmake-utils_use_find_package semantic-desktop KF5FileMetaData)
  74. $(cmake-utils_use_find_package taglib Taglib)
  75. -DENABLE_WEBCAM=$(usex v4l)
  76. $(cmake-utils_use_find_package xmp Exempi)
  77. $(cmake-utils_use_find_package yaz Yaz)
  78. )
  79. kde5_src_configure
  80. }