[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#30514] [PATCH 1/1] gnu: Add minitube.
From: |
Ricardo Wurmus |
Subject: |
[bug#30514] [PATCH 1/1] gnu: Add minitube. |
Date: |
Sun, 18 Feb 2018 17:00:28 +0100 |
* gnu/packages/kde.scm (minitube): New variable.
---
gnu/packages/kde.scm | 47 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index 2ec5452a6..a419e5668 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -3,6 +3,7 @@
;;; Copyright © 2016, 2017 Thomas Danckaert <address@hidden>
;;; Copyright © 2017 Mark Meyer <address@hidden>
;;; Copyright © 2017 Tobias Geerinckx-Rice <address@hidden>
+;;; Copyright © 2018 Ricardo Wurmus <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -21,7 +22,9 @@
(define-module (gnu packages kde)
#:use-module (guix build-system cmake)
+ #:use-module (guix build-system gnu)
#:use-module (guix download)
+ #:use-module (guix git-download)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix utils)
@@ -509,3 +512,47 @@ cards.")
Using a plugin system it is possible to create notifications with many
different notification systems.")
(license license:lgpl3)))
+
+(define-public minitube
+ (package
+ (name "minitube")
+ (version "2.9")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/flaviotordini/minitube.git")
+ (commit version)))
+ (file-name (string-append name "-" version "-checkout"))
+ (sha256
+ (base32
+ "11zkmwqadlgrrghs3rxq0h0fllfnyd3g09d7gdd6vd9r1a1yz73f"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'configure
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (substitute* "minitube.pro"
+ (("/usr/include/phonon4qt5")
+ (string-append (assoc-ref inputs "phonon")
+ "/include/phonon4qt5")))
+ (invoke "qmake"
+ (string-append "QMAKE_LRELEASE="
+ (assoc-ref inputs "qttools")
+ "/bin/lrelease")
+ (string-append "PREFIX="
+ (assoc-ref outputs "out")))
+ #t)))))
+ (native-inputs
+ `(("qttools" ,qttools)
+ ("pkg-config" ,pkg-config)))
+ (inputs
+ `(("qtbase" ,qtbase)
+ ("qtdeclarative" ,qtdeclarative)
+ ("phonon" ,phonon)))
+ (home-page "https://flavio.tordini.org/minitube")
+ (synopsis "YouTube browser application")
+ (description "Minitube is a YouTube desktop application. Watch YouTube
+videos in a new way: you type a keyword, Minitube gives you an endless video
+stream.")
+ (license license:gpl3+)))
--
2.16.2