Package Details: gerbera 1.6.4-2

Git Clone URL: https://aur.archlinux.org/gerbera.git (read-only, click to copy)
Package Base: gerbera
Description: UPnP Media Server (Based on MediaTomb)
Upstream URL: https://github.com/gerbera/gerbera
Keywords: DLNA UPnP
Licenses: GPL2
Submitter: sergej
Maintainer: sergej (sulaweyo)
Last Packager: sergej
Votes: 24
Popularity: 0.57
First Submitted: 2017-05-30 09:39
Last Updated: 2020-10-22 23:24

Latest Comments

1 2 3 4 5 6 ... Next › Last »

setboolean commented on 2020-10-25 13:14

https://aur.archlinux.org/packages/gerbera-mysql/

feedback/testing is welcome.

Martchus commented on 2020-10-23 15:35

I suppose a dedicated package for mysql wouldn't hurt. At least listing libmariadbclient as optional dependency makes no sense because one can not simply install the package for mysql support. It must be a regular dependency or no dependency at all. So I've created a package which supports both databases but always requires on to install libmariadbclient: https://github.com/Martchus/PKGBUILDs/blob/master/gerbera/default/PKGBUILD

setboolean commented on 2020-10-22 23:30

Do you mind if i create a new package with mysql support (gerbera-mysql)?

preinkemeier commented on 2020-10-22 03:46

Any reason to not use libupnp (1.14) from extra as suggested by setboolean?

preinkemeier commented on 2020-10-18 10:17

gerbera 1.6.4 has been released. The following patch bumps this repository to version 1.6.4 and switches to libupnp 1.14 from extra (just in case anybody else wants to update gerbera):

From 2192f3cd890217e35c6445a2fa6cb3019bb3ee66 Mon Sep 17 00:00:00 2001
Date: Sun, 18 Oct 2020 11:35:43 +0200
Subject: [PATCH] Bump to 1.6.4 and use libupnp from extra.

---
 .SRCINFO | 6 +++---
 PKGBUILD | 7 +++----
 2 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/.SRCINFO b/.SRCINFO
index 23e13fc..035ec39 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 pkgbase = gerbera
        pkgdesc = UPnP Media Server (Based on MediaTomb)
-       pkgver = 1.6.1
+       pkgver = 1.6.4
        pkgrel = 1
        url = https://github.com/gerbera/gerbera
        install = gerbera.install
@@ -25,10 +25,10 @@ pkgbase = gerbera
        depends = libmatroska
        optdepends = libmariadbclient
        options = emptydirs
-       source = gerbera-1.6.1.tar.gz::https://github.com/gerbera/gerbera/archive/v1.6.1.tar.gz
+       source = gerbera-1.6.4.tar.gz::https://github.com/gerbera/gerbera/archive/v1.6.4.tar.gz
        source = gerbera.sysusers
        source = gerbera.tmpfiles
-       sha256sums = 9bb119ee422c8e7a053c309256215a8899dfd6707f6b93496e6facea7978ac7c
+       sha256sums = cbe7ea78977db8c02fcca1759ed149f199a590afaf4a6d21ffcca8623d1a0cc5
        sha256sums = 0b55a4e1886f7aad0528446658433327815fd3f4d06e260518423f86dbe32dcc
        sha256sums = 452f5d4b5661e0262cb4a48d62a54f5f26d53c6d3aebf502cde072214a8b30d8

diff --git a/PKGBUILD b/PKGBUILD
index 8bf25e6..32650aa 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,13 +4,13 @@
 # Contributor: Francois Menning <f.menning@pm.me>

 pkgname=gerbera
-pkgver=1.6.1
+pkgver=1.6.4
 pkgrel=1
 pkgdesc="UPnP Media Server (Based on MediaTomb)"
 arch=(i686 x86_64 armv7h)
 url="https://github.com/gerbera/gerbera"
 license=('GPL2')
-depends=('taglib' 'curl' 'sqlite' 'file' 'gcc-libs' 'libupnp1.12' 'duktape' 'libexif' 'fmt' 'pugixml' 'spdlog' 'ffmpeg' 'ffmpegthumbnailer' 'libmatroska')
+depends=('taglib' 'curl' 'sqlite' 'file' 'gcc-libs' 'libupnp' 'duktape' 'libexif' 'fmt' 'pugixml' 'spdlog' 'ffmpeg' 'ffmpegthumbnailer' 'libmatroska')
 optdepends=('libmariadbclient')
 makedepends=('cmake')
 install=gerbera.install
@@ -18,7 +18,7 @@ options=('emptydirs')
 source=("$pkgname-$pkgver.tar.gz::https://github.com/gerbera/gerbera/archive/v$pkgver.tar.gz"
        gerbera.sysusers
        gerbera.tmpfiles)
-sha256sums=('9bb119ee422c8e7a053c309256215a8899dfd6707f6b93496e6facea7978ac7c'
+sha256sums=('cbe7ea78977db8c02fcca1759ed149f199a590afaf4a6d21ffcca8623d1a0cc5'
             '0b55a4e1886f7aad0528446658433327815fd3f4d06e260518423f86dbe32dcc'
             '452f5d4b5661e0262cb4a48d62a54f5f26d53c6d3aebf502cde072214a8b30d8')

@@ -26,7 +26,6 @@ build() {
        cd "${srcdir}/${pkgname}-${pkgver}"

        sed -i 's/${PC_UPNP_LIBRARIES}//g' cmake/Findpupnp.cmake
-       export PKG_CONFIG_PATH="/usr/lib/libupnp-1.12/pkgconfig/:${PKG_CONFIG_PATH}"
        # Gerbera build options can be found here: https://github.com/gerbera/gerbera/blob/master/CMakeLists.txt
        # use sqlite backend
        cmake -DCMAKE_INSTALL_PREFIX=/usr -DWITH_AVCODEC=1 -DWITH_FFMPEGTHUMBNAILER=1 .
-- 
2.28.0

preinkemeier commented on 2020-10-17 18:46

Duktape has been updated recently. Most likely what you observed will be gone when you have re-compiled gerbera: Try makepkg --force and install the package again.

severn commented on 2020-10-17 07:48

Failed after a system update: "error while loading shared libraries: libduktape.so.205: cannot open shared object file: No such file or directory". I uninstalled gerbera 1.6.1-1 and installed gerbera-git, that works fine.

setboolean commented on 2020-10-16 08:20

Version 1.6.4 is compiling/running fine using libupnp (1.14) from extra.

preinkemeier commented on 2020-07-30 20:49

gerbera 1.6.0 has been released. The following patch bumps this repository to version 1.6.0 (just in case anybody else wants to update gerbera):

From d00bccf84495e82eb705d1a11e4ccf8974d234fb Mon Sep 17 00:00:00 2001
Date: Thu, 30 Jul 2020 14:48:01 +0200
Subject: [PATCH] bump to 1.6.0

---
 .SRCINFO | 8 ++++----
 PKGBUILD | 8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/.SRCINFO b/.SRCINFO
index 9c4d8b5..aaaf895 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = gerbera
    pkgdesc = UPnP Media Server (Based on MediaTomb)
-   pkgver = 1.5.0
-   pkgrel = 2
+   pkgver = 1.6.0
+   pkgrel = 1
    url = https://github.com/gerbera/gerbera
    install = gerbera.install
    arch = i686
@@ -25,10 +25,10 @@ pkgbase = gerbera
    depends = libmatroska
    optdepends = libmariadbclient
    options = emptydirs
-   source = gerbera-1.5.0.tar.gz::https://github.com/gerbera/gerbera/archive/v1.5.0.tar.gz
+   source = gerbera-1.6.0.tar.gz::https://github.com/gerbera/gerbera/archive/v1.6.0.tar.gz
    source = gerbera.sysusers
    source = gerbera.tmpfiles
-   sha256sums = 693a99b295bc79d842f036a6d04996d4676ac0791d65f3a1f7aab4badf9fb5ef
+   sha256sums = 3a4956ec5fea1101e8daa32d9cfb985db908a49e2ac6137a1b2bf509e2684a6c
    sha256sums = 0b55a4e1886f7aad0528446658433327815fd3f4d06e260518423f86dbe32dcc
    sha256sums = 452f5d4b5661e0262cb4a48d62a54f5f26d53c6d3aebf502cde072214a8b30d8

diff --git a/PKGBUILD b/PKGBUILD
index db383ea..41d4e19 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,8 +4,8 @@
 # Contributor: Francois Menning <f.menning@pm.me>

 pkgname=gerbera
-pkgver=1.5.0
-pkgrel=2
+pkgver=1.6.0
+pkgrel=1
 pkgdesc="UPnP Media Server (Based on MediaTomb)"
 arch=(i686 x86_64 armv7h)
 url="https://github.com/gerbera/gerbera"
@@ -18,14 +18,14 @@ options=('emptydirs')
 source=("$pkgname-$pkgver.tar.gz::https://github.com/gerbera/gerbera/archive/v$pkgver.tar.gz"
    gerbera.sysusers
    gerbera.tmpfiles)
-sha256sums=('693a99b295bc79d842f036a6d04996d4676ac0791d65f3a1f7aab4badf9fb5ef'
+sha256sums=('3a4956ec5fea1101e8daa32d9cfb985db908a49e2ac6137a1b2bf509e2684a6c'
             '0b55a4e1886f7aad0528446658433327815fd3f4d06e260518423f86dbe32dcc'
             '452f5d4b5661e0262cb4a48d62a54f5f26d53c6d3aebf502cde072214a8b30d8')

 build() {
    cd "${srcdir}/${pkgname}-${pkgver}"

-   sed -i 's/${PC_UPNP_LIBRARIES}//g' cmake/FindLibUpnp.cmake
+   sed -i 's/${PC_UPNP_LIBRARIES}//g' cmake/Findpupnp.cmake
    export PKG_CONFIG_PATH="/usr/lib/libupnp-1.12/pkgconfig/:${PKG_CONFIG_PATH}"
    # Gerbera build options can be found here: https://github.com/gerbera/gerbera/blob/master/CMakeLists.txt
    # use sqlite backend
-- 
2.28.0

crendel commented on 2020-06-07 22:29

I had trouble during linking on armv8 due to libdl.so not being linked. There's probably a more elegant way to solve this, but I did it in the PKGBUILD with sed -i 's/${CMAKE_CXX_FLAGS}/${CMAKE_CXX_FLAGS} -ldl/' CMakeLists.txt. Otherwise, gerbera works great on armv8 and you could add this to the supported architectures. :)