diff options
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/Manifest.gz | bin | 54376 -> 54370 bytes | |||
-rw-r--r-- | net-misc/gerbera/Manifest | 4 | ||||
-rw-r--r-- | net-misc/gerbera/gerbera-2.2.0.ebuild | 90 | ||||
-rw-r--r-- | net-misc/gerbera/gerbera-9999.ebuild | 4 |
4 files changed, 95 insertions, 3 deletions
diff --git a/net-misc/Manifest.gz b/net-misc/Manifest.gz Binary files differindex b469ad8da171..5854840a14b2 100644 --- a/net-misc/Manifest.gz +++ b/net-misc/Manifest.gz diff --git a/net-misc/gerbera/Manifest b/net-misc/gerbera/Manifest index b4eca37782bf..24d3876e6969 100644 --- a/net-misc/gerbera/Manifest +++ b/net-misc/gerbera/Manifest @@ -4,7 +4,9 @@ AUX gerbera-1.12.1-gcc14.patch 2571 BLAKE2B cdebe5f239de5136d646e4efb249deda94da AUX gerbera-1.3.0.config 6342 BLAKE2B 519b2b0f79803bb516b5bd43a692af38039a273318a3486b67c9f040ab9061fb9a2b2aef484fb9e22b584fa7f5d1e0a4f7e61f896f6f9b1ce4f657349506b873 SHA512 e551413ad62ca849561991880ba9049ebb6662ec06ff21d5483bbcc2499df04c72ac170fc4235ebd05c5d95926cdd7fc4db27083cb10fa4fe38f10a1141bf417 DIST gerbera-1.12.1.tar.gz 4368573 BLAKE2B 870b1296b89d51086048c5c5a52109f336facbf0bce02313487cb5c80ca4bb9a5590f64683f5ac92a3c3026ef9c3e22275a38fdc52fd8cbe887ec6f3c7b38ab9 SHA512 54f4b9fe38f4890d1cac16d433bd70cb2892f3659fffcd5f52814d2f9377c4a8eb68deb3a13053531609727f7ae6cb5ee12bbf652bc41dd1eabd83e6f8dcc1f2 DIST gerbera-2.1.0.tar.gz 5828980 BLAKE2B d611b9db723e52d417c64ce6ff8bfd77009ad7b7c2454b8f722810aacfde76b892894e8a70cf4e25474f970b13353eb770d4663f91ac59ac87cea858928005fb SHA512 5069ffb470dc10c5b7e6f95e9d61794e00d8a4473835860e7bca63ff1c34f2b8544b3a7fed8373a20e6bbddb2bc016ecb39a8321e930813e65e444b653e5a24f +DIST gerbera-2.2.0.tar.gz 6138157 BLAKE2B eab6008696cf353c50468a686509ed82381375e7b5e5a5a1b38bfcad6e275ca69885df7a8df7ebdf5bb407f7e7ec9401c27e09fbca55ec61ef15c415439b7148 SHA512 6e11d3e40c9a95d278ce4c6f0c914a27fed250e9202bb81c0f539d06622738bfa5b2156ca6bd061872e276858eb203f626c997ddc00810f9d816f4ff9198c97e EBUILD gerbera-1.12.1-r1.ebuild 2247 BLAKE2B 03d0a04315f26bb90825d4018a6c823631f0e574c6309d7d20d9a733ad7fad5a71d3a92eddfe8039a21acfea7baabba32f1b783ab1f95daec73e957f79c8a680 SHA512 2c36f21d4cbe8ef9dce7e9c21b6b10198ec36553024e146de1d6368497791327ebb4d1f03b34b77bf28a8ee3fed5dd62967adf33d12823fc6bc6b8db430eb23a EBUILD gerbera-2.1.0.ebuild 2187 BLAKE2B d1da6e1c5d560914b8b15fa47cbb651307047834da549b08758127dbfa1ca46aeeda51bfbf06d6e2b7915465c3239459415073f7a458d6b8749a6bd602bbfcf0 SHA512 d4ac9b9d07c31d4f18a8798f778103b2af78b495206779d03e6f86bc157d62638366456a5d41df5506e94a2d2207151717f6a2dfe410ddb9b208fa49afa7d510 -EBUILD gerbera-9999.ebuild 2187 BLAKE2B d1da6e1c5d560914b8b15fa47cbb651307047834da549b08758127dbfa1ca46aeeda51bfbf06d6e2b7915465c3239459415073f7a458d6b8749a6bd602bbfcf0 SHA512 d4ac9b9d07c31d4f18a8798f778103b2af78b495206779d03e6f86bc157d62638366456a5d41df5506e94a2d2207151717f6a2dfe410ddb9b208fa49afa7d510 +EBUILD gerbera-2.2.0.ebuild 2189 BLAKE2B fde4d60c9f842c488e0d6a52d934279385620f4a47e66ab2b4ac17201ed992b57e692721baa7bd424964afeb7d4e62bf01c8bf68cd558ae0552025d7271bf8fc SHA512 ba30f3992143f4c877738a6818f6396d6c1f9d04603d8931dc39b32cf7cc9c9d4a944c46da2562b0325eab2dc8d04adf0d14ff64e4c68f900c97fc786367dbc2 +EBUILD gerbera-9999.ebuild 2189 BLAKE2B fde4d60c9f842c488e0d6a52d934279385620f4a47e66ab2b4ac17201ed992b57e692721baa7bd424964afeb7d4e62bf01c8bf68cd558ae0552025d7271bf8fc SHA512 ba30f3992143f4c877738a6818f6396d6c1f9d04603d8931dc39b32cf7cc9c9d4a944c46da2562b0325eab2dc8d04adf0d14ff64e4c68f900c97fc786367dbc2 MISC metadata.xml 1153 BLAKE2B 160ec07f27637335374b7c1232c65942d661b66ab89f9e145ffcbadd510ea454a52cef9ab8e544ed46c0c11f56f69b1c659b4f604b0c65ada19f66f1d857586e SHA512 95da4ff4383a5fa1467ea5674c38cb6c8b7939fa01e7a66bac42bb2e3d21dfc020c2585bc6e81af602a227c978e3fe1dc3950ef962b17cbbc11a0cea0413d9b3 diff --git a/net-misc/gerbera/gerbera-2.2.0.ebuild b/net-misc/gerbera/gerbera-2.2.0.ebuild new file mode 100644 index 000000000000..ea5940db0a95 --- /dev/null +++ b/net-misc/gerbera/gerbera-2.2.0.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake linux-info + +DESCRIPTION="UPnP Media Server" +HOMEPAGE="https://gerbera.io" + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://github.com/gerbera/${PN}.git" + inherit git-r3 +else + SRC_URI="https://github.com/gerbera/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${P}" + KEYWORDS="~amd64 ~arm ~arm64 ~x86" +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="curl debug +exif exiv2 +ffmpeg ffmpegthumbnailer +javascript +magic +matroska mysql systemd +taglib" + +RDEPEND=" + acct-user/gerbera + dev-db/sqlite + dev-libs/libebml:= + dev-libs/libfmt:= + dev-libs/pugixml + dev-libs/spdlog:= + net-libs/libupnp:=[ipv6(+),reuseaddr,-blocking-tcp] + sys-apps/util-linux + sys-libs/zlib + virtual/libiconv + curl? ( net-misc/curl ) + exif? ( media-libs/libexif ) + exiv2? ( media-gfx/exiv2:= ) + ffmpeg? ( media-video/ffmpeg:= ) + ffmpegthumbnailer? ( media-video/ffmpegthumbnailer ) + javascript? ( dev-lang/duktape:= ) + magic? ( sys-apps/file ) + matroska? ( media-libs/libmatroska:= ) + mysql? ( dev-db/mysql-connector-c:= ) + taglib? ( media-libs/taglib ) +" + +DEPEND="${RDEPEND}" + +CONFIG_CHECK="~INOTIFY_USER" + +src_configure() { + local mycmakeargs=( + -DWITH_AVCODEC=$(usex ffmpeg) + -DWITH_CURL=$(usex curl) + -DWITH_DEBUG=$(usex debug) + -DWITH_EXIF=$(usex exif) + -DWITH_EXIV2=$(usex exiv2) + -DWITH_FFMPEGTHUMBNAILER=$(usex ffmpegthumbnailer) + -DWITH_INOTIFY=ON + -DWITH_JS=$(usex javascript) + -DWITH_LASTFM=OFF + -DWITH_MAGIC=$(usex magic) + -DWITH_MATROSKA=$(usex matroska) + -DWITH_MYSQL=$(usex mysql) + -DWITH_SYSTEMD=$(usex systemd) + -DWITH_TAGLIB=$(usex taglib) + ) + + cmake_src_configure +} + +src_install() { + cmake_src_install + + newinitd "${FILESDIR}"/${PN}-1.0.0.initd ${PN} + newconfd "${FILESDIR}"/${PN}-1.0.0.confd ${PN} + + insinto /etc/${PN} + newins "${FILESDIR}"/${PN}-1.3.0.config config.xml + fperms 0640 /etc/${PN}/config.xml + fowners root:gerbera /etc/${PN}/config.xml +} + +pkg_postinst() { + if use mysql; then + elog "Gerbera has been built with MySQL support and needs" + elog "to be configured before being started. By default" + elog "SQLite will be used." + fi +} diff --git a/net-misc/gerbera/gerbera-9999.ebuild b/net-misc/gerbera/gerbera-9999.ebuild index b3c80239e4c7..ea5940db0a95 100644 --- a/net-misc/gerbera/gerbera-9999.ebuild +++ b/net-misc/gerbera/gerbera-9999.ebuild @@ -56,9 +56,9 @@ src_configure() { -DWITH_EXIF=$(usex exif) -DWITH_EXIV2=$(usex exiv2) -DWITH_FFMPEGTHUMBNAILER=$(usex ffmpegthumbnailer) - -DWITH_INOTIFY=1 + -DWITH_INOTIFY=ON -DWITH_JS=$(usex javascript) - -DWITH_LASTFM=NO + -DWITH_LASTFM=OFF -DWITH_MAGIC=$(usex magic) -DWITH_MATROSKA=$(usex matroska) -DWITH_MYSQL=$(usex mysql) |