unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: kiasoc5 via Guix-patches via <guix-patches@gnu.org>
To: 56578@debbugs.gnu.org
Subject: [bug#56578] [PATCH] gnu: Add android-file-transfer.
Date: Fri, 15 Jul 2022 17:41:40 +0000	[thread overview]
Message-ID: <20220715174140.4048a2af@aria> (raw)

From 338e019331aa46f37b5e45c66aa1c09a4e27f008 Mon Sep 17 00:00:00 2001
From: kiasoc5 <kiasoc5@disroot.org>
Date: Fri, 15 Jul 2022 13:37:29 -0400
Subject: [PATCH] gnu: Add android-file-transfer.

* gnu/packages/android.scm (android-file-transfer): New variable.
---
 gnu/packages/android.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/android.scm b/gnu/packages/android.scm
index 04dc4b6499..5897d71fa9 100644
--- a/gnu/packages/android.scm
+++ b/gnu/packages/android.scm
@@ -34,6 +34,7 @@ (define-module (gnu packages android)
   #:use-module (guix gexp)
   #:use-module (guix git-download)
   #:use-module (guix build-system android-ndk)
+  #:use-module (guix build-system cmake)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system go)
   #:use-module (guix build-system python)
@@ -54,6 +55,8 @@ (define-module (gnu packages android)
   #:use-module (gnu packages python-crypto)
   #:use-module (gnu packages python-web)
   #:use-module (gnu packages python-xyz)
+  #:use-module (gnu packages qt)
+  #:use-module (gnu packages readline)
   #:use-module (gnu packages selinux)
   #:use-module (gnu packages serialization)
   #:use-module (gnu packages sphinx)
@@ -1268,3 +1271,30 @@ (define-public enjarify
 applications.  Enjarify can translate the Dalvik bytecode back to equivalent
 Java bytecode, which simplifies the analysis of Android applications.")
     (license license:asl2.0)))
+
+(define-public android-file-transfer
+  (package
+    (name "android-file-transfer")
+    (version "4.2")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url
+                     "https://github.com/whoozle/android-file-transfer-linux/")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "125rq8ji83nw6chfw43i0h9c38hjqh1qjibb0gnf9wrigar9zc8b"))))
+    (build-system cmake-build-system)
+    (arguments
+     (list #:tests? #f)) ;there are no tests
+    (inputs (list qtbase-5 fuse libxkbcommon))
+    (native-inputs (list qttools openssl readline))
+    (home-page "https://whoozle.github.io/android-file-transfer-linux")
+    (synopsis "MTP client for Android devices")
+    (description
+     "This package provides a QT graphical interface for transfering
+files with Android devices using MTP. It also allows the Android device to be
+mounted via FUSE.")
+    (license license:lgpl2.1+)))

base-commit: 114b40ed675d0543058b5bdea86e561eff7c6b6e
-- 
2.37.1





             reply	other threads:[~2022-07-15 17:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-15 17:41 kiasoc5 via Guix-patches via [this message]
     [not found] ` <handler.56578.B.16579069227667.ack@debbugs.gnu.org>
2022-07-20 15:38   ` [bug#56578] [PATCH V2] gnu: Add android-file-transfer kiasoc5 via Guix-patches via
2022-08-03 10:13     ` bug#56578: [PATCH] " Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220715174140.4048a2af@aria \
    --to=guix-patches@gnu.org \
    --cc=56578@debbugs.gnu.org \
    --cc=kiasoc5@disroot.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).