diff options
author | Simon Streit <simon@netpanic.org> | 2023-06-19 21:30:38 +0200 |
---|---|---|
committer | Simon Streit <simon@netpanic.org> | 2023-06-19 21:36:36 +0200 |
commit | 81a619a94d5ec8161343774c8b4e491945aa8d80 (patch) | |
tree | 984c21131fb3966e8e619ebaac259dca191b926a | |
parent | 3bb41b8f239a07a25db2f0fea26ec0e8cdc83c07 (diff) |
siguix: Remove mympd.
* siguix/packages/mympd.scm: Delete file.
-rw-r--r-- | siguix/packages/mympd.scm | 99 |
1 files changed, 0 insertions, 99 deletions
diff --git a/siguix/packages/mympd.scm b/siguix/packages/mympd.scm deleted file mode 100644 index 55e7582..0000000 --- a/siguix/packages/mympd.scm +++ /dev/null @@ -1,99 +0,0 @@ -;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2021 Simon Streit <simon@netpanic.org> -;;; -;;; This file is NOT part of GNU Guix. -;;; -;;; GNU Guix is free software; you can redistribute it and/or modify it -;;; under the terms of the GNU General Public License as published by -;;; the Free Software Foundation; either version 3 of the License, or (at -;;; your option) any later version. -;;; -;;; GNU Guix is distributed in the hope that it will be useful, but -;;; WITHOUT ANY WARRANTY; without even the implied warranty of -;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -;;; GNU General Public License for more details. -;;; -;;; You should have received a copy of the GNU General Public License -;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. - -(define-module (siguix packages mympd) - #:use-module ((guix licenses) #:prefix license:) - #:use-module (guix download) - #:use-module (guix git-download) - #:use-module (guix build-system gnu) - #:use-module (guix packages) - #:use-module (gnu packages) - #:use-module (gnu packages perl) - #:use-module (gnu packages web) - #:use-module (gnu packages cmake) - #:use-module (gnu packages pcre) - #:use-module (gnu packages tls) - #:use-module (gnu packages mp3) - #:use-module (gnu packages xiph) - #:use-module (gnu packages pcre) - #:use-module (gnu packages lua) - #:use-module (gnu packages pkg-config) - #:export (mympd)) - -(define-public mympd - (package - (name "mympd") - (version "9.1.2") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/jcorporation/myMPD") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0ir458zhahqy2y628wjn9cr1ppakqswy839nl3gd1gyh6mpld73i")))) - (build-system gnu-build-system) - (arguments - `(#:phases (modify-phases %standard-phases - ;; mympd has it's own build scripts. - (delete 'configure) - (replace 'build - (lambda* (#:key outputs #:allow-other-keys) - (setenv "MYMPD_INSTALL_PREFIX" - (string-append (assoc-ref outputs "out") "/usr")) - (invoke "sh" "build.sh" "release"))) - (replace 'check - (lambda* (#:key outputs #:allow-other-keys) - (setenv "MYMPD_INSTALL_PREFIX" - (string-append (assoc-ref outputs "out") "/usr")) - (invoke "sh" "build.sh" "test"))) - (add-before 'install 'no-users - ;; The installer would like to add user and group too. - (lambda* _ - (substitute* "build.sh" - (("^ addmympduser") "# addmympduser")) #t)) - (replace 'install - (lambda* (#:key outputs #:allow-other-keys) - (setenv "MYMPD_INSTALL_PREFIX" - (string-append (assoc-ref outputs "out") "/usr")) - (invoke "sh" "build.sh" "install")))))) - (native-inputs (list cmake pkg-config)) - (inputs (list flac jq libid3tag lua openssl pcre2 perl)) - (home-page "http://parcellite.sourceforge.net/") - (synopsis - "This package provides a standalone and lightweight web-based MPD client") - (description - "myMPD is a standalone and lightweight web-based MPD -client. It's tuned for minimal resource usage and requires only very -few dependencies. Therefore myMPD is ideal for raspberry pis and -similar devices.") - (license license:gpl3))) - -;; (add-after 'unpack 'fix-path -;; (lambda* _ -;; (substitute* -;; "src/lib/mympd_configuration.h" -;; (("\\.\\./dist/sds/sds\\.h") -;; "../../dist/sds/sds.h")) -;; ;; (add-after 'unpack 'automake -;; ;; (lambda _ -;; ;; (setenv "SHELL" (which "sh")) -;; ;; (setenv "CONFIG_SHELL" (which "sh")) -;; ;; (invoke "sh" "autogen.sh"))) -;; #t)) |