# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit cmake MY_PN=${PN}-linux DESCRIPTION="Reliable MTP client with minimalistic UI" HOMEPAGE="https://whoozle.github.io/android-file-transfer-linux/" SRC_URI="https://github.com/whoozle/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" S="${WORKDIR}/${MY_PN}-${PV}" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="+fuse +gui" RDEPEND=" fuse? ( sys-fs/fuse:0 ) gui? ( dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtwidgets:5 ) " DEPEND="${RDEPEND} virtual/pkgconfig" #PATCHES=( "${FILESDIR}/2.2-automagic.patch" ) src_prepare() { default cmake_src_prepare } src_configure() { local mycmakeargs=( -DBUILD_FUSE=$(usex fuse) -DBUILD_QT_UI=$(usex gui) ) cmake_src_configure }