diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2018-11-12 10:29:37 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2018-11-12 10:29:37 +0100 |
commit | e9c6082ecf081d380a1aa205102e4f3892d95ad2 (patch) | |
tree | 70038d2897b5ea732bdad691b4e5401a7826b50b /sys-fs/android-file-transfer-linux | |
parent | sys-fs/android-file-transfer-linux: Simplified live ebuild a bit. (diff) | |
download | gentoo-e9c6082ecf081d380a1aa205102e4f3892d95ad2.tar.gz gentoo-e9c6082ecf081d380a1aa205102e4f3892d95ad2.tar.bz2 gentoo-e9c6082ecf081d380a1aa205102e4f3892d95ad2.zip |
sys-fs/android-file-transfer-linux: Bump to version 3.6
Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-fs/android-file-transfer-linux')
-rw-r--r-- | sys-fs/android-file-transfer-linux/Manifest | 1 | ||||
-rw-r--r-- | sys-fs/android-file-transfer-linux/android-file-transfer-linux-3.6.ebuild | 59 |
2 files changed, 60 insertions, 0 deletions
diff --git a/sys-fs/android-file-transfer-linux/Manifest b/sys-fs/android-file-transfer-linux/Manifest index 82b0f50145ba..09685e4cf67c 100644 --- a/sys-fs/android-file-transfer-linux/Manifest +++ b/sys-fs/android-file-transfer-linux/Manifest @@ -1 +1,2 @@ DIST android-file-transfer-linux-3.5.tar.gz 779997 BLAKE2B af8f1025ae09f2e5a99116a1feb2449d2dcdf64887cd46e712c88f7911aea891ea5ff1705220b68ef9f6ab349a8c1d1955a843a47dcb53383a64a28f8830c7a8 SHA512 2a87a0a2c17b1f51cdce445291ccb99ee15ab24531e2cf41b1648702c66916d55ec8cdc1bd344bdbda5e4a1132daf0cc623862028f2d781812c24f8cf89a1367 +DIST android-file-transfer-linux-3.6.tar.gz 779459 BLAKE2B f71e7f3313a60cf12179908ed539e6b728e64c0b4e3b6b39dafd9926b27b96b54d31abac9da704111b2ab42867b1c58aac51ff547553cd5ad96dd8c00a5f670a SHA512 bcbc2f8bd39d093677b1c2dcb3d981293a8e79487884fcbe3450864dad9beff381fe966a2a42faf0af75a96753e4f139c95de7ed9175d7cb350055a35f7be4bc diff --git a/sys-fs/android-file-transfer-linux/android-file-transfer-linux-3.6.ebuild b/sys-fs/android-file-transfer-linux/android-file-transfer-linux-3.6.ebuild new file mode 100644 index 000000000000..de7813d30653 --- /dev/null +++ b/sys-fs/android-file-transfer-linux/android-file-transfer-linux-3.6.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils gnome2-utils xdg-utils + +DESCRIPTION="Android File Transfer for Linux" +HOMEPAGE="https://github.com/whoozle/android-file-transfer-linux" + +if [[ "${PV}" = *9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/whoozle/android-file-transfer-linux.git" +else + SRC_URI="https://github.com/whoozle/android-file-transfer-linux/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="LGPL-2.1" +SLOT="0" + +IUSE="fuse qt5" + +RDEPEND=" + sys-apps/file + sys-libs/readline:0= + fuse? ( sys-fs/fuse:0 ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + ) +" + +DEPEND="${RDEPEND}" + +src_configure() { + local mycmakeargs=( + -DBUILD_FUSE="$(usex fuse)" + -DBUILD_QT_UI="$(usex qt5)" + -DBUILD_SHARED_LIB="ON" + # Upstream recommends to keep this off as libusb is broken + -DUSB_BACKEND_LIBUSB="OFF" + $(usex qt5 '-DDESIRED_QT_VERSION=5' '') + ) + cmake-utils_src_configure +} + +pkg_preinst() { gnome2_icon_savelist ; } + +pkg_postinst() { + gnome2_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + gnome2_icon_cache_update + xdg_desktop_database_update +} |