Browse Source

multimedia/gerbera: Add Gerbera port for 1.3.1

master
Bernhard Fröhlich 3 months ago
parent
commit
34d8bfb37b
Signed by: Bernhard Froehlich <decke@bluelife.at> GPG Key ID: 4DD88C3F9F3B8333

+ 28
- 0
multimedia/gerbera/Makefile View File

@@ -0,0 +1,28 @@
1
+# $FreeBSD$
2
+
3
+PORTNAME=	gerbera
4
+PORTVERSION=	1.3.1
5
+DISTVERSIONPREFIX=	v
6
+CATEGORIES=	multimedia
7
+
8
+MAINTAINER=	decke@FreeBSD.org
9
+COMMENT=	UPnP media server for home network
10
+
11
+LICENSE=	GPLv2
12
+LICENSE_FILE=	${WRKSRC}/LICENSE.md
13
+
14
+LIB_DEPENDS=	libupnp.so:devel/upnp \
15
+		libexpat.so:textproc/expat2 \
16
+		libsqlite3.so:databases/sqlite3 \
17
+		libinotify.so:devel/libinotify \
18
+		libduktape.so:lang/duktape-lib \
19
+		libcurl.so:ftp/curl \
20
+		libtag.so:audio/taglib \
21
+		libexif.so:graphics/libexif
22
+
23
+USES=		cmake:noninja pkgconfig
24
+
25
+USE_GITHUB=	yes
26
+CMAKE_ARGS+=	-DWITH_MYSQL=0 -DWITH_LASTFM=0 -DWITH_SYSTEMD=0
27
+
28
+.include <bsd.port.mk>

+ 3
- 0
multimedia/gerbera/distinfo View File

@@ -0,0 +1,3 @@
1
+TIMESTAMP = 1555580881
2
+SHA256 (gerbera-gerbera-v1.3.1_GH0.tar.gz) = 9c4509189eab6bff0fe183e1dd54ea8cb17d7fb0bc6e21bb5b1a8ccaaf6c60d9
3
+SIZE (gerbera-gerbera-v1.3.1_GH0.tar.gz) = 2803497

+ 27
- 0
multimedia/gerbera/files/gerbera.in View File

@@ -0,0 +1,27 @@
1
+#!/bin/sh
2
+# $FreeBSD$
3
+
4
+# PROVIDE: gerbera
5
+# REQUIRE: DAEMON
6
+# KEYWORD: shutdown
7
+#
8
+# Add the following line to /etc/rc.conf[.local] to enable gerbera
9
+#
10
+# gerbera_enable (bool):       Set to "NO" by default.
11
+# gerbera_user (str):          User account to run with.
12
+# gerbera_group (str):         Group to run as
13
+# gerbera_flags (str):         Custom flags for gerbera
14
+
15
+. /etc/rc.subr
16
+
17
+name=gerbera
18
+rcvar=gerbera_enable
19
+load_rc_config $name
20
+
21
+pidfile="/var/run/${name}.pid"
22
+
23
+command="%%PREFIX%%/bin/gerbera"
24
+
25
+: ${gerbera_enable:=NO}
26
+
27
+run_rc_command "$1"

+ 8
- 0
multimedia/gerbera/pkg-descr View File

@@ -0,0 +1,8 @@
1
+Gerbera is a UPnP media server which allows you to stream your digital
2
+media through your home network and consume it on a variety of UPnP
3
+compatible devices.
4
+
5
+Gerbera is based on MediaTomb which is dead upstream, so this is a
6
+community attempt to kick it back into life.
7
+
8
+WWW: https://gerbera.io/

+ 79
- 0
multimedia/gerbera/pkg-plist View File

@@ -0,0 +1,79 @@
1
+bin/gerbera
2
+%%DATADIR%%/js/common.js
3
+%%DATADIR%%/js/import.js
4
+%%DATADIR%%/js/import_structured.js
5
+%%DATADIR%%/js/playlists.js
6
+%%DATADIR%%/mappings.xml
7
+%%DATADIR%%/mysql.sql
8
+%%DATADIR%%/sqlite3.sql
9
+%%DATADIR%%/web/README.md
10
+%%DATADIR%%/web/assets/theme/colors.css
11
+%%DATADIR%%/web/assets/theme/gerbera-logo-white.png
12
+%%DATADIR%%/web/assets/theme/gerbera.css
13
+%%DATADIR%%/web/cds.xml
14
+%%DATADIR%%/web/cm.xml
15
+%%DATADIR%%/web/disabled.html
16
+%%DATADIR%%/web/favicon.ico
17
+%%DATADIR%%/web/icons/mt-icon120.bmp
18
+%%DATADIR%%/web/icons/mt-icon120.jpg
19
+%%DATADIR%%/web/icons/mt-icon120.png
20
+%%DATADIR%%/web/icons/mt-icon32.bmp
21
+%%DATADIR%%/web/icons/mt-icon32.jpg
22
+%%DATADIR%%/web/icons/mt-icon32.png
23
+%%DATADIR%%/web/icons/mt-icon48.bmp
24
+%%DATADIR%%/web/icons/mt-icon48.jpg
25
+%%DATADIR%%/web/icons/mt-icon48.png
26
+%%DATADIR%%/web/index.html
27
+%%DATADIR%%/web/js/gerbera.app.js
28
+%%DATADIR%%/web/js/gerbera.auth.js
29
+%%DATADIR%%/web/js/gerbera.autoscan.js
30
+%%DATADIR%%/web/js/gerbera.items.js
31
+%%DATADIR%%/web/js/gerbera.menu.js
32
+%%DATADIR%%/web/js/gerbera.trail.js
33
+%%DATADIR%%/web/js/gerbera.tree.js
34
+%%DATADIR%%/web/js/gerbera.updates.js
35
+%%DATADIR%%/web/js/jquery.gerbera.autoscan.js
36
+%%DATADIR%%/web/js/jquery.gerbera.editor.js
37
+%%DATADIR%%/web/js/jquery.gerbera.items.js
38
+%%DATADIR%%/web/js/jquery.gerbera.toast.js
39
+%%DATADIR%%/web/js/jquery.gerbera.trail.js
40
+%%DATADIR%%/web/js/jquery.gerbera.tree.js
41
+%%DATADIR%%/web/js/md5.js
42
+%%DATADIR%%/web/mr_reg.xml
43
+%%DATADIR%%/web/vendor/bootstrap/css/bootstrap-grid.css
44
+%%DATADIR%%/web/vendor/bootstrap/css/bootstrap-grid.css.map
45
+%%DATADIR%%/web/vendor/bootstrap/css/bootstrap-grid.min.css
46
+%%DATADIR%%/web/vendor/bootstrap/css/bootstrap-grid.min.css.map
47
+%%DATADIR%%/web/vendor/bootstrap/css/bootstrap-reboot.css
48
+%%DATADIR%%/web/vendor/bootstrap/css/bootstrap-reboot.css.map
49
+%%DATADIR%%/web/vendor/bootstrap/css/bootstrap-reboot.min.css
50
+%%DATADIR%%/web/vendor/bootstrap/css/bootstrap-reboot.min.css.map
51
+%%DATADIR%%/web/vendor/bootstrap/css/bootstrap.css
52
+%%DATADIR%%/web/vendor/bootstrap/css/bootstrap.css.map
53
+%%DATADIR%%/web/vendor/bootstrap/css/bootstrap.min.css
54
+%%DATADIR%%/web/vendor/bootstrap/css/bootstrap.min.css.map
55
+%%DATADIR%%/web/vendor/bootstrap/js/bootstrap.bundle.js
56
+%%DATADIR%%/web/vendor/bootstrap/js/bootstrap.bundle.js.map
57
+%%DATADIR%%/web/vendor/bootstrap/js/bootstrap.bundle.min.js
58
+%%DATADIR%%/web/vendor/bootstrap/js/bootstrap.bundle.min.js.map
59
+%%DATADIR%%/web/vendor/bootstrap/js/bootstrap.js
60
+%%DATADIR%%/web/vendor/bootstrap/js/bootstrap.js.map
61
+%%DATADIR%%/web/vendor/bootstrap/js/bootstrap.min.js
62
+%%DATADIR%%/web/vendor/bootstrap/js/bootstrap.min.js.map
63
+%%DATADIR%%/web/vendor/font-awesome/css/font-awesome.css
64
+%%DATADIR%%/web/vendor/font-awesome/css/font-awesome.min.css
65
+%%DATADIR%%/web/vendor/font-awesome/fonts/FontAwesome.otf
66
+%%DATADIR%%/web/vendor/font-awesome/fonts/fontawesome-webfont.eot
67
+%%DATADIR%%/web/vendor/font-awesome/fonts/fontawesome-webfont.svg
68
+%%DATADIR%%/web/vendor/font-awesome/fonts/fontawesome-webfont.ttf
69
+%%DATADIR%%/web/vendor/font-awesome/fonts/fontawesome-webfont.woff
70
+%%DATADIR%%/web/vendor/font-awesome/fonts/fontawesome-webfont.woff2
71
+%%DATADIR%%/web/vendor/jquery/jquery-3.2.1.min.js
72
+%%DATADIR%%/web/vendor/jquery/jquery-ui.min.js
73
+%%DATADIR%%/web/vendor/jquery/jquery.cookie.js
74
+%%DATADIR%%/web/vendor/lato/LICENCE.md
75
+%%DATADIR%%/web/vendor/lato/lato-v14-latin-ext_latin-regular.woff
76
+%%DATADIR%%/web/vendor/lato/lato-v14-latin-ext_latin-regular.woff2
77
+%%DATADIR%%/web/vendor/popper/popper.js
78
+%%DATADIR%%/web/vendor/tether/tether.min.js
79
+share/man/man1/gerbera.1

Loading…
Cancel
Save