summaryrefslogtreecommitdiff
path: root/media-libs/libcanberra/libcanberra-0.30-r5.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-04-16 13:07:24 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-04-16 13:07:24 +0100
commit0c100b7dd2b30e75b799d806df4ef899fd98e1ea (patch)
tree464c922e949c7e4d5d891fb2cdda5daee5612537 /media-libs/libcanberra/libcanberra-0.30-r5.ebuild
parente68d405c5d712af4387159df07e226217bdda049 (diff)
gentoo resync : 16.04.2022
Diffstat (limited to 'media-libs/libcanberra/libcanberra-0.30-r5.ebuild')
-rw-r--r--media-libs/libcanberra/libcanberra-0.30-r5.ebuild83
1 files changed, 0 insertions, 83 deletions
diff --git a/media-libs/libcanberra/libcanberra-0.30-r5.ebuild b/media-libs/libcanberra/libcanberra-0.30-r5.ebuild
deleted file mode 100644
index 034fb8144e22..000000000000
--- a/media-libs/libcanberra/libcanberra-0.30-r5.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit multilib-minimal systemd
-
-DESCRIPTION="Portable sound event library"
-HOMEPAGE="http://0pointer.de/lennart/projects/libcanberra/"
-SRC_URI="http://0pointer.de/lennart/projects/${PN}/${P}.tar.xz"
-
-LICENSE="LGPL-2.1+"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
-IUSE="alsa gnome gstreamer +gtk +gtk3 oss pulseaudio +sound 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}] )
- gtk? (
- >=dev-libs/glib-2.32:2[${MULTILIB_USEDEP}]
- >=x11-libs/gtk+-2.20.0:2[${MULTILIB_USEDEP}]
- x11-libs/libX11[${MULTILIB_USEDEP}] )
- gtk3? (
- >=dev-libs/glib-2.32:2[${MULTILIB_USEDEP}]
- x11-libs/gtk+:3[X,${MULTILIB_USEDEP}]
- x11-libs/libX11[${MULTILIB_USEDEP}] )
- pulseaudio? ( >=media-sound/pulseaudio-0.9.11[${MULTILIB_USEDEP}] )
- tdb? ( sys-libs/tdb:=[${MULTILIB_USEDEP}] )
-"
-RDEPEND="${DEPEND}
- gnome? (
- gnome-base/dconf
- gnome-base/gsettings-desktop-schemas )
- sound? ( x11-themes/sound-theme-freedesktop )" # Required for index.theme wrt #323379
-BDEPEND="
- app-arch/xz-utils
- virtual/pkgconfig
-"
-
-REQUIRED_USE="udev? ( alsa )"
-
-PATCHES=(
- # gtk: Don't assume all GdkDisplays are GdkX11Displays: broadway/wayland (from 'master')
- "${FILESDIR}/${PN}-0.30-wayland.patch"
-)
-
-multilib_src_configure() {
- ECONF_SOURCE="${S}" econf \
- --docdir="${EPREFIX}"/usr/share/doc/${PF} \
- $(use_enable alsa) \
- $(use_enable oss) \
- $(use_enable pulseaudio pulse) \
- $(use_enable gstreamer) \
- $(use_enable gtk) \
- $(use_enable gtk3) \
- $(use_enable tdb) \
- $(use_enable udev) \
- --disable-lynx \
- --disable-gtk-doc \
- --with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
-
- 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
-
- # This is needed for desktops different than GNOME, bug #520550
- exeinto /etc/X11/xinit/xinitrc.d
- newexe "${FILESDIR}"/libcanberra-gtk-module.sh 40-libcanberra-gtk-module
-}