Package Details: gerbera 1.6.0-1

Git Clone URL: (read-only, click to copy)
Package Base: gerbera
Description: UPnP Media Server (Based on MediaTomb)
Upstream URL:
Keywords: DLNA UPnP
Licenses: GPL2
Submitter: sergej
Maintainer: sergej (sulaweyo)
Last Packager: sulaweyo
Votes: 23
Popularity: 1.35
First Submitted: 2017-05-30 09:39
Last Updated: 2020-07-31 06:35

Latest Comments

1 2 3 4 5 6 Next › Last »

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 =
    install = gerbera.install
    arch = i686
@@ -25,10 +25,10 @@ pkgbase = gerbera
    depends = libmatroska
    optdepends = libmariadbclient
    options = emptydirs
-   source = gerbera-1.5.0.tar.gz::
+   source = gerbera-1.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
@@ -4,8 +4,8 @@
 # Contributor: Francois Menning <>

 pkgdesc="UPnP Media Server (Based on MediaTomb)"
 arch=(i686 x86_64 armv7h)
@@ -18,14 +18,14 @@ options=('emptydirs')

 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:
    # use sqlite backend

crendel commented on 2020-06-07 22:29

I had trouble during linking on armv8 due to 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. :)

twa022 commented on 2020-05-19 14:58

I added a non-conflicting package libupnp1.12 at based on the libupnp18 PKGBUILD. You can just add export PKG_CONFIG_PATH="/usr/lib/libupnp-1.12/pkgconfig/:${PKG_CONFIG_PATH}" before the cmake call to use it if you want to change the dependency.

sulaweyo commented on 2020-05-19 14:21

You can uninstall libupnp18 by ignoring dependencies (pacman -Rdd libupnp18) and then applying the update. As this removes a dependency stop Gerbera first!

obones commented on 2020-05-19 11:42

I noticed the issue with libupnp when updating via trizen, it asks me if I want to replace libupnp18 with libupnp-git but if I say "Yes", then it fails because gerbera needs libupnp18. How do I overcome this? I thought of uninstalling gerbera then reinstalling it, but I fear losing my settings.

sulaweyo commented on 2020-05-18 17:44

Upgrade to 1.5.0: * libupnp18 needs to be replaced with libupnp-git * some dependencies added and some dropped * this is a major change - reindex might be needed

preinkemeier commented on 2020-01-07 22:33

@sulaweyo: Ups. You're absolutely right, my fault. Sorry.

sulaweyo commented on 2020-01-03 06:06

@preinkemeier did you test it? According to the pull request this flag is on by default

preinkemeier commented on 2020-01-02 00:23

Sorry, it doesn't work that way. You have to tell cmake to enable libmatroska. That means you have to replace the following line in your PKGBUILD:


with this one


Otherwise nothing will change.

sulaweyo commented on 2019-11-25 15:51

The problem seems to be that the db layout has changed but no migration was done. It works for existing data but new items cannot be added or updated. An easy workaround is to drop the sqlite db and just reindex (shutdown gerbera, remove db file, restart gerbera and re-add the directories to index) but i will dig deeper if there is a way to trigger the db migration cleanly.

Looks like i found the culprit. In one db upgrade there is a change to a table that adds a foreign key to an existing table. This seems to work on all DBs except on sqlite according to what i found so far. When a new db is created the foreign key is there already so it works as there is no change to the structure of an existing table. Need to play around with that a bit but i guess i'll upstream a fix. Until then please just do a reindex please.