Skip to content
Permalink
Browse files

multimedia/gerbera: Add Gerbera port for 1.3.1

  • Loading branch information...
decke committed Apr 18, 2019
1 parent acd83eb commit 34d8bfb37bf9750e3404bb6634e01e9296271138
@@ -0,0 +1,28 @@
# $FreeBSD$

PORTNAME= gerbera
PORTVERSION= 1.3.1
DISTVERSIONPREFIX= v
CATEGORIES= multimedia

MAINTAINER= decke@FreeBSD.org
COMMENT= UPnP media server for home network

LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE.md

LIB_DEPENDS= libupnp.so:devel/upnp \
libexpat.so:textproc/expat2 \
libsqlite3.so:databases/sqlite3 \
libinotify.so:devel/libinotify \
libduktape.so:lang/duktape-lib \
libcurl.so:ftp/curl \
libtag.so:audio/taglib \
libexif.so:graphics/libexif

USES= cmake:noninja pkgconfig

USE_GITHUB= yes
CMAKE_ARGS+= -DWITH_MYSQL=0 -DWITH_LASTFM=0 -DWITH_SYSTEMD=0

.include <bsd.port.mk>
@@ -0,0 +1,3 @@
TIMESTAMP = 1555580881
SHA256 (gerbera-gerbera-v1.3.1_GH0.tar.gz) = 9c4509189eab6bff0fe183e1dd54ea8cb17d7fb0bc6e21bb5b1a8ccaaf6c60d9
SIZE (gerbera-gerbera-v1.3.1_GH0.tar.gz) = 2803497
@@ -0,0 +1,27 @@
#!/bin/sh
# $FreeBSD$

# PROVIDE: gerbera
# REQUIRE: DAEMON
# KEYWORD: shutdown
#
# Add the following line to /etc/rc.conf[.local] to enable gerbera
#
# gerbera_enable (bool): Set to "NO" by default.
# gerbera_user (str): User account to run with.
# gerbera_group (str): Group to run as
# gerbera_flags (str): Custom flags for gerbera

. /etc/rc.subr

name=gerbera
rcvar=gerbera_enable
load_rc_config $name

pidfile="/var/run/${name}.pid"

command="%%PREFIX%%/bin/gerbera"

: ${gerbera_enable:=NO}

run_rc_command "$1"
@@ -0,0 +1,8 @@
Gerbera is a UPnP media server which allows you to stream your digital
media through your home network and consume it on a variety of UPnP
compatible devices.

Gerbera is based on MediaTomb which is dead upstream, so this is a
community attempt to kick it back into life.

WWW: https://gerbera.io/
@@ -0,0 +1,79 @@
bin/gerbera
%%DATADIR%%/js/common.js
%%DATADIR%%/js/import.js
%%DATADIR%%/js/import_structured.js
%%DATADIR%%/js/playlists.js
%%DATADIR%%/mappings.xml
%%DATADIR%%/mysql.sql
%%DATADIR%%/sqlite3.sql
%%DATADIR%%/web/README.md
%%DATADIR%%/web/assets/theme/colors.css
%%DATADIR%%/web/assets/theme/gerbera-logo-white.png
%%DATADIR%%/web/assets/theme/gerbera.css
%%DATADIR%%/web/cds.xml
%%DATADIR%%/web/cm.xml
%%DATADIR%%/web/disabled.html
%%DATADIR%%/web/favicon.ico
%%DATADIR%%/web/icons/mt-icon120.bmp
%%DATADIR%%/web/icons/mt-icon120.jpg
%%DATADIR%%/web/icons/mt-icon120.png
%%DATADIR%%/web/icons/mt-icon32.bmp
%%DATADIR%%/web/icons/mt-icon32.jpg
%%DATADIR%%/web/icons/mt-icon32.png
%%DATADIR%%/web/icons/mt-icon48.bmp
%%DATADIR%%/web/icons/mt-icon48.jpg
%%DATADIR%%/web/icons/mt-icon48.png
%%DATADIR%%/web/index.html
%%DATADIR%%/web/js/gerbera.app.js
%%DATADIR%%/web/js/gerbera.auth.js
%%DATADIR%%/web/js/gerbera.autoscan.js
%%DATADIR%%/web/js/gerbera.items.js
%%DATADIR%%/web/js/gerbera.menu.js
%%DATADIR%%/web/js/gerbera.trail.js
%%DATADIR%%/web/js/gerbera.tree.js
%%DATADIR%%/web/js/gerbera.updates.js
%%DATADIR%%/web/js/jquery.gerbera.autoscan.js
%%DATADIR%%/web/js/jquery.gerbera.editor.js
%%DATADIR%%/web/js/jquery.gerbera.items.js
%%DATADIR%%/web/js/jquery.gerbera.toast.js
%%DATADIR%%/web/js/jquery.gerbera.trail.js
%%DATADIR%%/web/js/jquery.gerbera.tree.js
%%DATADIR%%/web/js/md5.js
%%DATADIR%%/web/mr_reg.xml
%%DATADIR%%/web/vendor/bootstrap/css/bootstrap-grid.css
%%DATADIR%%/web/vendor/bootstrap/css/bootstrap-grid.css.map
%%DATADIR%%/web/vendor/bootstrap/css/bootstrap-grid.min.css
%%DATADIR%%/web/vendor/bootstrap/css/bootstrap-grid.min.css.map
%%DATADIR%%/web/vendor/bootstrap/css/bootstrap-reboot.css
%%DATADIR%%/web/vendor/bootstrap/css/bootstrap-reboot.css.map
%%DATADIR%%/web/vendor/bootstrap/css/bootstrap-reboot.min.css
%%DATADIR%%/web/vendor/bootstrap/css/bootstrap-reboot.min.css.map
%%DATADIR%%/web/vendor/bootstrap/css/bootstrap.css
%%DATADIR%%/web/vendor/bootstrap/css/bootstrap.css.map
%%DATADIR%%/web/vendor/bootstrap/css/bootstrap.min.css
%%DATADIR%%/web/vendor/bootstrap/css/bootstrap.min.css.map
%%DATADIR%%/web/vendor/bootstrap/js/bootstrap.bundle.js
%%DATADIR%%/web/vendor/bootstrap/js/bootstrap.bundle.js.map
%%DATADIR%%/web/vendor/bootstrap/js/bootstrap.bundle.min.js
%%DATADIR%%/web/vendor/bootstrap/js/bootstrap.bundle.min.js.map
%%DATADIR%%/web/vendor/bootstrap/js/bootstrap.js
%%DATADIR%%/web/vendor/bootstrap/js/bootstrap.js.map
%%DATADIR%%/web/vendor/bootstrap/js/bootstrap.min.js
%%DATADIR%%/web/vendor/bootstrap/js/bootstrap.min.js.map
%%DATADIR%%/web/vendor/font-awesome/css/font-awesome.css
%%DATADIR%%/web/vendor/font-awesome/css/font-awesome.min.css
%%DATADIR%%/web/vendor/font-awesome/fonts/FontAwesome.otf
%%DATADIR%%/web/vendor/font-awesome/fonts/fontawesome-webfont.eot
%%DATADIR%%/web/vendor/font-awesome/fonts/fontawesome-webfont.svg
%%DATADIR%%/web/vendor/font-awesome/fonts/fontawesome-webfont.ttf
%%DATADIR%%/web/vendor/font-awesome/fonts/fontawesome-webfont.woff
%%DATADIR%%/web/vendor/font-awesome/fonts/fontawesome-webfont.woff2
%%DATADIR%%/web/vendor/jquery/jquery-3.2.1.min.js
%%DATADIR%%/web/vendor/jquery/jquery-ui.min.js
%%DATADIR%%/web/vendor/jquery/jquery.cookie.js
%%DATADIR%%/web/vendor/lato/LICENCE.md
%%DATADIR%%/web/vendor/lato/lato-v14-latin-ext_latin-regular.woff
%%DATADIR%%/web/vendor/lato/lato-v14-latin-ext_latin-regular.woff2
%%DATADIR%%/web/vendor/popper/popper.js
%%DATADIR%%/web/vendor/tether/tether.min.js
share/man/man1/gerbera.1

0 comments on commit 34d8bfb

Please sign in to comment.
You can’t perform that action at this time.