diff options
author | Ian Whyman <thev00d00@gentoo.org> | 2020-01-29 21:22:35 +0000 |
---|---|---|
committer | Ian Whyman <thev00d00@gentoo.org> | 2020-01-29 21:22:48 +0000 |
commit | 62161903c542cbd02fa42f84cd640d50e5b039ec (patch) | |
tree | 4b9ff718380b44d5c0e38695329b843f3d34b35b /net-misc/gerbera/gerbera-9999.ebuild | |
parent | app-editors/teco: Fix compilation with -fno-common. (diff) | |
download | gentoo-62161903c542cbd02fa42f84cd640d50e5b039ec.tar.gz gentoo-62161903c542cbd02fa42f84cd640d50e5b039ec.tar.bz2 gentoo-62161903c542cbd02fa42f84cd640d50e5b039ec.zip |
net-misc/gerbera: Version Bump, EAPI 7, GLEP 81
Closes: https://bugs.gentoo.org/701236
Package-Manager: Portage-2.3.85, Repoman-2.3.20
Signed-off-by: Ian Whyman <thev00d00@gentoo.org>
Diffstat (limited to 'net-misc/gerbera/gerbera-9999.ebuild')
-rw-r--r-- | net-misc/gerbera/gerbera-9999.ebuild | 33 |
1 files changed, 12 insertions, 21 deletions
diff --git a/net-misc/gerbera/gerbera-9999.ebuild b/net-misc/gerbera/gerbera-9999.ebuild index 1b1129c47251..122b20de3f69 100644 --- a/net-misc/gerbera/gerbera-9999.ebuild +++ b/net-misc/gerbera/gerbera-9999.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -inherit cmake-utils eutils linux-info systemd tmpfiles user +inherit cmake eutils linux-info systemd tmpfiles if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="https://github.com/gerbera/${PN}.git" @@ -16,16 +16,16 @@ else S="${WORKDIR}/${P}" fi -DESCRIPTION="UPnP Media Server (Based on MediaTomb)" -HOMEPAGE="https://github.com/gerbera/gerbera" +DESCRIPTION="UPnP Media Server" +HOMEPAGE="https://gerbera.io" LICENSE="GPL-2" SLOT="0" -IUSE="curl debug +exif exiv2 +ffmpeg ffmpegthumbnailer +javascript lastfm libav +magic mysql protocol-extensions systemd +taglib" +IUSE="curl debug +exif exiv2 +ffmpeg ffmpegthumbnailer +javascript lastfm libav +magic +matroska mysql systemd +taglib" DEPEND=" - !!net-misc/mediatomb - >=net-libs/libupnp-1.8.3[ipv6,reuseaddr] + acct-user/gerbera + >=net-libs/libupnp-1.8.3:=[ipv6,reuseaddr] >=dev-db/sqlite-3 dev-libs/expat mysql? ( dev-db/mysql-connector-c ) @@ -41,6 +41,7 @@ DEPEND=" ffmpegthumbnailer? ( media-video/ffmpegthumbnailer ) curl? ( net-misc/curl net-misc/youtube-dl ) magic? ( sys-apps/file ) + matroska? ( media-libs/libmatroska ) sys-apps/util-linux sys-libs/zlib virtual/libiconv @@ -49,13 +50,6 @@ RDEPEND="${DEPEND}" CONFIG_CHECK="~INOTIFY_USER" -pkg_setup() { - linux-info_pkg_setup - - enewgroup ${PN} - enewuser ${PN} -1 -1 /dev/null ${PN} -} - src_configure() { local mycmakeargs=( -DWITH_CURL="$(usex curl)" \ @@ -67,18 +61,18 @@ src_configure() { -DWITH_JS="$(usex javascript)" \ -DWITH_LASTFM="$(usex lastfm)" \ -DWITH_MAGIC="$(usex magic)" \ + -DWITH_MATROSKA="$(usex matroska)" \ -DWITH_MYSQL="$(usex mysql)" - -DWITH_PROTOCOL_EXTENSIONS="$(usex protocol-extensions)" \ -DWITH_SYSTEMD="$(usex systemd)" \ -DWITH_TAGLIB="$(usex taglib)" \ -DWITH_INOTIFY=1 ) - cmake-utils_src_configure + cmake_src_configure } src_install() { - cmake-utils_src_install + cmake_src_install newinitd "${FILESDIR}/${PN}-1.0.0.initd" "${PN}" newconfd "${FILESDIR}/${PN}-1.0.0.confd" "${PN}" @@ -87,9 +81,6 @@ src_install() { newins "${FILESDIR}/${PN}-1.3.0.config" config.xml fperms 0640 /etc/${PN}/config.xml fowners root:gerbera /etc/${PN}/config.xml - - keepdir /var/lib/${PN} - fowners ${PN}:${PN} /var/lib/${PN} } pkg_postinst() { |