diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
| commit | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch) | |
| tree | 0d7a74b4463ee387f9cf9368ceb1b757f694f72a /media-libs/libcanberra | |
| parent | f716a9fe6455d39eef01e718aae68dae61c19704 (diff) | |
| download | baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip | |
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'media-libs/libcanberra')
| -rw-r--r-- | media-libs/libcanberra/Manifest | 1 | ||||
| -rw-r--r-- | media-libs/libcanberra/libcanberra-0.30-r8.ebuild | 72 | ||||
| -rw-r--r-- | media-libs/libcanberra/metadata.xml | 27 |
3 files changed, 100 insertions, 0 deletions
diff --git a/media-libs/libcanberra/Manifest b/media-libs/libcanberra/Manifest new file mode 100644 index 000000000000..2d908fe537f1 --- /dev/null +++ b/media-libs/libcanberra/Manifest @@ -0,0 +1 @@ +DIST libcanberra-0.30.tar.xz 318960 BLAKE2B c90c6863738b103c256eeb0907060a0f74b73ef50ac0728d2114aa558a7a1ad7cbae4184860573d3fac0032eba77327a4de94c459b99a81c3dc19da0e98adfda SHA512 f7543582122256826cd01d0f5673e1e58d979941a93906400182305463d6166855cb51f35c56d807a56dc20b7a64f7ce4391368d24990c1b70782a7d0b4429c2 diff --git a/media-libs/libcanberra/libcanberra-0.30-r8.ebuild b/media-libs/libcanberra/libcanberra-0.30-r8.ebuild new file mode 100644 index 000000000000..c2a19497ac3f --- /dev/null +++ b/media-libs/libcanberra/libcanberra-0.30-r8.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit libtool multilib-minimal systemd + +DESCRIPTION="Portable sound event library" +HOMEPAGE="https://0pointer.de/lennart/projects/libcanberra/" +SRC_URI="https://0pointer.de/lennart/projects/${PN}/${P}.tar.xz" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~sparc x86" +IUSE="alsa gstreamer oss pulseaudio tdb udev" + +DEPEND=" + dev-libs/libltdl:0[${MULTILIB_USEDEP}] + media-libs/libvorbis[${MULTILIB_USEDEP}] + alsa? ( + media-libs/alsa-lib:=[${MULTILIB_USEDEP}] + udev? ( virtual/libudev:=[${MULTILIB_USEDEP}] ) ) + gstreamer? ( media-libs/gstreamer:1.0[${MULTILIB_USEDEP}] ) + pulseaudio? ( media-libs/libpulse[${MULTILIB_USEDEP}] ) + tdb? ( sys-libs/tdb:=[${MULTILIB_USEDEP}] ) +" +RDEPEND="${DEPEND} + x11-themes/sound-theme-freedesktop" # Required for index.theme wrt #323379 +BDEPEND=" + app-arch/xz-utils + virtual/pkgconfig +" + +REQUIRED_USE="udev? ( alsa )" + +src_prepare() { + default + elibtoolize +} + +multilib_src_configure() { + local myeconfargs=( + --docdir="${EPREFIX}"/usr/share/doc/${PF} + $(use_enable alsa) + $(use_enable oss) + $(use_enable pulseaudio pulse) + $(use_enable gstreamer) + --disable-gtk + --disable-gtk3 + $(use_enable tdb) + $(use_enable udev) + --disable-lynx + --disable-gtk-doc + --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" + ) + + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" + + if multilib_is_native_abi; then + ln -s "${S}"/gtkdoc/html gtkdoc/html || die + fi +} + +multilib_src_install() { + # Disable parallel installation until bug #253862 is solved + emake DESTDIR="${D}" -j1 install +} + +multilib_src_install_all() { + einstalldocs + find "${ED}" -type f -name '*.la' -delete || die +} diff --git a/media-libs/libcanberra/metadata.xml b/media-libs/libcanberra/metadata.xml new file mode 100644 index 000000000000..f3ff514df4e0 --- /dev/null +++ b/media-libs/libcanberra/metadata.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>gnome@gentoo.org</email> + <name>Gentoo GNOME Desktop</name> + </maintainer> + <maintainer type="project"> + <email>sound@gentoo.org</email> + <name>Gentoo Sound project</name> + </maintainer> + <longdescription> + A small and lightweight implementation of the XDG Sound Theme Specification + (https://0pointer.de/public/sound-theme-spec.html) + </longdescription> + <use> + <flag name="alsa">Enables ALSA sound driver.</flag> + <flag name="gstreamer">Enables gstreamer sound driver. Not useful when + alsa or pulseaudio is available.</flag> + <flag name="pulseaudio">Enables PulseAudio sound driver that should be + able to support positional event sounds. This is the preferred + choice for best sound events experience and picked by default if + compiled in and possible to use at runtime.</flag> + <flag name="tdb">Enables Trivial Database support for caching + purposes.</flag> + </use> +</pkgmetadata> |
