all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: phodina via Guix-patches via <guix-patches@gnu.org>
To: 51043@debbugs.gnu.org
Subject: [bug#51043] [PATCH] gnu: Add rkdeveloptool-pine64.
Date: Tue, 05 Oct 2021 21:36:40 +0000	[thread overview]
Message-ID: <XeraZiDxiWFLBwhjjMyyRnlkdqQk9as-9yGJPUEv9M5OK7w8tlrKEm8ha6_Xcp7t1tJVQ7zhKefOUs93DhWkeJe6AMcFRMTenb95sK1cjMw=@protonmail.com> (raw)

Hi,

I've added the suffix pine64 as this is fork of rkdeveloptool which uses different build system and targets additional mostly pine64 boards.

Petr

----

* gnu/packages/hardware.scm (rkdeveloptool-pine64): New variable.

diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm
index ff21c9c724..d871b36a90 100644
--- a/gnu/packages/hardware.scm
+++ b/gnu/packages/hardware.scm
@@ -5,6 +5,7 @@
 ;;; Copyright © 2021 Evgeny Pisemsky <evgeny@pisemsky.com>
 ;;; Copyright © 2021 Léo Le Bouter <lle-bout@zaclys.net>
 ;;; Copyright © 2021 Denis Carikli <GNUtoo@cyberdimension.org>
+;;; Copyright © 2021 Petr Hodina <phodina@protonmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -55,6 +56,7 @@
   #:use-module (gnu packages xorg)
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system gnu)
+  #:use-module (guix build-system meson)
   #:use-module (guix build-system python)
   #:use-module (guix download)
   #:use-module (guix git-download)
@@ -531,6 +533,40 @@ supported by the Linux kernel.")
 as the Pinebook Pro.")
       (license license:gpl2+))))

+(define-public rkdeveloptool-pine64
+(package
+  (name "rkdeveloptool-pine64")
+  (version "1.0.0")
+  (source (origin
+            (method git-fetch)
+            (uri (git-reference
+             (url "https://gitlab.com/pine64-org/quartz-bsp/rkdeveloptool")
+             (commit version)))
+            (file-name (git-file-name name version))
+            (sha256
+             (base32
+              "1qhb687x0djh8wb1famyjb81cllhq8crh7zwclws9ag872032ysc"))))
+  (build-system meson-build-system)
+  (arguments
+    `(#:tests? #f ; no test suite
+      #:phases
+      (modify-phases %standard-phases
+       ; attempts to place the file into the udev pkg read-only path
+       (add-after 'unpack 'fix-udev-path
+        (lambda* _
+             (substitute* "meson.build"
+               (("udev_rules_dir,")
+                (string-append "'" %output "/lib/udev/rules.d',"))))))))
+  (native-inputs `(("pkg-config" ,pkg-config)))
+  (inputs `(("eudev" ,eudev)
+            ("libusb" ,libusb)))
+  (synopsis "Read from and write to RockChicp devices over USB")
+  (description "Rkdeveloptool is a fastboot-like CLI tool to read from and
+write to RockChip devices over USB.  Supports PineNote and Quartz64 as well
+as other Pine64 RK devices.")
+  (home-page "https://gitlab.com/pine64-org/quartz-bsp/rkdeveloptool")
+  (license license:gpl2+)))
+
 (define-public libqb
   (package
     (name "libqb")
--
2.32.0




             reply	other threads:[~2021-10-05 21:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-05 21:36 phodina via Guix-patches via [this message]
2021-12-03 15:02 ` [bug#51043] rkdeveloptool-pine64 ping phodina via Guix-patches via

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

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

  git send-email \
    --in-reply-to='XeraZiDxiWFLBwhjjMyyRnlkdqQk9as-9yGJPUEv9M5OK7w8tlrKEm8ha6_Xcp7t1tJVQ7zhKefOUs93DhWkeJe6AMcFRMTenb95sK1cjMw=@protonmail.com' \
    --to=guix-patches@gnu.org \
    --cc=51043@debbugs.gnu.org \
    --cc=phodina@protonmail.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.