kdevelop-qmake-1.7.0.ebuild 851 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. # Copyright 1999-2015 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. KDEBASE="kdevelop"
  5. KMNAME="kdev-qmake"
  6. inherit kde4-base
  7. DESCRIPTION="qmake plugin for KDevelop 4"
  8. SRC_URI="https://quickgit.kde.org/?p=${KMNAME}.git&a=snapshot&h=${PV%%.0} -> ${P}.tar.gz"
  9. LICENSE="GPL-2"
  10. KEYWORDS="~amd64 ~x86"
  11. IUSE="debug tools"
  12. DEPEND="
  13. dev-util/kdevelop:4
  14. dev-util/kdevelop-pg-qt:4
  15. "
  16. RDEPEND="${DEPEND}"
  17. S=${WORKDIR}/${KMNAME}
  18. src_configure() {
  19. local mycmakeargs=(
  20. $(cmake-utils_use_build tools qmake_parser)
  21. )
  22. kde4-base_src_configure
  23. }
  24. src_install() {
  25. kde4-base_src_install
  26. #Move this file to prevent a collision with kappwizard
  27. mv "${D}"/usr/share/apps/kdevappwizard/templates/qmake_qt4guiapp.tar.bz2 \
  28. "${D}"/usr/share/apps/kdevappwizard/templates/kdevelop-qmake_qt4guiapp.tar.bz2 \
  29. || die
  30. }