You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

162 lines
6.3 KiB

;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014 Sree Harsha Totakura <>
;;; Copyright © 2015 Federico Beffa <>
;;; Copyright © 2016, 2017, 2018, 2020 Tobias Geerinckx-Rice <>
;;; Copyright © 2018 Theodoros Foradis <>
;;; Copyright © 2019 Jens Mølgaard <>
;;; Copyright © 2020 Jan Wielkiewicz <>
;;; This file is 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
;;; 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 <>.
(define-module (gnu packages upnp)
#:use-module (gnu packages)
#:use-module (gnu packages gettext)
#:use-module (gnu packages autotools)
#:use-module (gnu packages video)
#:use-module (gnu packages photo)
#:use-module (gnu packages image)
#:use-module (gnu packages mp3)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages xiph)
#:use-module (gnu packages sqlite)
#:use-module (gnu packages python)
#:use-module (guix build-system gnu)
#:use-module (guix utils)
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix licenses)
#:use-module (guix packages)
#:use-module (ice-9 match))
(define-public miniupnpc
(name "miniupnpc")
(version "2.1.20191224")
(method url-fetch)
(uri (string-append ""
"miniupnpc-" version ".tar.gz"))
(base32 "1kv6dpj93gckvwvgzxl4vdqpwnicb0c8p0xw53m2gh5naiw44ys4"))))
(build-system gnu-build-system)
`(("python" ,python-2)))
;; The build system does not use a configure script but depends on
;; `make'. Hence we should pass parameters to `make' instead and remove
;; the configure phase.
(string-append "SH=" (assoc-ref %build-inputs "bash") "/bin/sh")
(string-append "INSTALLPREFIX=" (assoc-ref %outputs "out"))
;; Allow executables to find
(string-append "LDFLAGS=-Wl,-rpath="
(assoc-ref %outputs "out") "/lib"))
(modify-phases %standard-phases
(delete 'configure)
(add-before 'install 'qualify-paths
(lambda* (#:key outputs #:allow-other-keys)
(substitute* ""
(string-append (assoc-ref outputs "out") "/bin/upnpc")))
(home-page "")
(synopsis "UPnP protocol client library")
"The MiniUPnPc client library facilitates access to the services provided
by any @dfn{Universal Plug and Play} (UPnP) @dfn{Internet Gateway Device} (IGD)
present on the network. In UPnP terminology, MiniUPnPc is a UPnP Control Point.
It is useful whenever an application needs to listen for incoming connections
while running behind a UPnP-enabled router or firewall. Such applications
include peer-to-peer applications, active-mode FTP clients, DCC file transfers
over IRC, instant messaging, network games, and most server software.")
(x11-style "file://LICENSE" "See 'LICENSE' file in the distribution"))))
(define-public libupnp
(name "libupnp")
(version "1.12.1")
(method url-fetch)
(uri (string-append ""
"/release-" version "/libupnp-" version".tar.bz2"))
`(("pkg-config" ,pkg-config)))
(build-system gnu-build-system)
;; The tests require a network device capable of multicasting which is
;; not available in the build environment. See
`(#:tests? #f
#:configure-flags '("--disable-static")))
(home-page "")
(synopsis "Portable SDK for UPnP Devices")
"The portable SDK for UPnP Devices (libupnp) provides developers with an
API and code for building control points, devices, and bridges that are
compliant with Version 1.0 of the Universal Plug and Play Device Architecture
Specification and support several operating systems like Linux, *BSD, Solaris
and others.")
(license bsd-3)))
(define-public readymedia
(name "readymedia")
(version "1.2.1")
(method git-fetch)
(uri (git-reference
(url "")
(commit (string-append
(string-map (match-lambda
(#\. #\_)
(chr chr))
(file-name (git-file-name name version))
(build-system gnu-build-system)
`(("automake" ,automake)
("autoconf" ,autoconf)
("gettext" ,gettext-minimal)))
`(("libexif" ,libexif)
("libjpeg" ,libjpeg-turbo)
("libid3tag" ,libid3tag)
("flac" ,flac)
("libvorbis" ,libvorbis)
("sqlite" ,sqlite)
("ffmpeg" ,ffmpeg)))
(home-page "")
(synopsis "DLNA/UPnP-AV media server")
(description "ReadyMedia (formerly known as MiniDLNA) is a simple media
server, which serves multimedia content to compatible clients on the network.
It aims to be fully compliant with DLNA and UPnP-AV standards.")
(license gpl2)))