krename-4.0.9-r3.ebuild 984 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # Copyright 1999-2015 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. KDE_LINGUAS="bs cs de el es fr hu it ja lt nl pl pt ru sl sv tr uk zh_CN"
  5. inherit kde4-base
  6. DESCRIPTION="KRename - a very powerful batch file renamer"
  7. HOMEPAGE="http://www.krename.net/"
  8. SRC_URI="mirror://sourceforge/krename/${P}.tar.bz2"
  9. LICENSE="GPL-2"
  10. SLOT="4"
  11. KEYWORDS="amd64 x86"
  12. IUSE="debug exif pdf taglib truetype"
  13. RDEPEND="
  14. exif? ( >=media-gfx/exiv2-0.13:= )
  15. pdf? ( >=app-text/podofo-0.8 )
  16. taglib? ( >=media-libs/taglib-1.5 )
  17. truetype? ( media-libs/freetype:2 )
  18. "
  19. DEPEND="${RDEPEND}
  20. sys-devel/gettext
  21. "
  22. PATCHES=(
  23. "${FILESDIR}/${P}-freetype-include.patch"
  24. "${FILESDIR}/${P}-desktop-file.patch"
  25. )
  26. DOCS=( AUTHORS README TODO )
  27. src_configure() {
  28. local mycmakeargs=(
  29. $(cmake-utils_use_with exif Exiv2)
  30. $(cmake-utils_use_with taglib)
  31. $(cmake-utils_use_with pdf LIBPODOFO)
  32. $(cmake-utils_use_with truetype Freetype)
  33. )
  34. kde4-base_src_configure
  35. }