Gentoo Linux Overlay
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

android-file-transfer-linux-3.2.ebuild 663B

1234567891011121314151617181920212223242526272829
  1. # Copyright 1999-2017 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=6
  4. inherit cmake-utils
  5. DESCRIPTION="Reliable MTP client with minimalistic UI"
  6. HOMEPAGE="https://whoozle.github.io/android-file-transfer-linux/"
  7. SRC_URI="https://github.com/whoozle/${PN}/archive/v${PV}.tar.gz"
  8. LICENSE="GPL-2"
  9. SLOT="0"
  10. KEYWORDS="~amd64 ~x86"
  11. IUSE="fuse +qt5"
  12. REQUIRED_USE="qt5"
  13. RDEPEND="fuse? ( sys-fs/fuse )
  14. qt5? ( dev-qt/qtwidgets:5 )"
  15. DEPEND="${RDEPEND}
  16. virtual/pkgconfig"
  17. src_configure() {
  18. local mycmakeargs=(
  19. -DBUILD_FUSE=$(usex fuse)
  20. -DBUILD_QT_UI=$(usex qt5)
  21. -DUSB_BACKEND_LIBUSB=OFF
  22. )
  23. cmake-utils_src_configure
  24. }