logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git

gst-plugins-opus-1.18.3.ebuild (1082B)


  1. # Copyright 1999-2019 Gentoo Authors
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=6
  4. GST_ORG_MODULE=gst-plugins-base
  5. inherit gstreamer-meson
  6. DESCRIPTION="Opus audio parser plugin for GStreamer"
  7. KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
  8. IUSE=""
  9. COMMON_DEPEND=">=media-libs/opus-1.1:=[${MULTILIB_USEDEP}]"
  10. RDEPEND="${COMMON_DEPEND}
  11. >=media-libs/gst-plugins-base-${PV}:${SLOT}[${MULTILIB_USEDEP},ogg]
  12. "
  13. DEPEND="${COMMON_DEPEND}"
  14. # Everything below is for building opusparse from gst-plugins-bad. Once it moves into -base, all below can be removed
  15. SRC_URI+=" https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-${PV}.tar.${GST_TARBALL_SUFFIX}"
  16. src_configure() {
  17. multilib-minimal_src_configure
  18. S="${WORKDIR}/gst-plugins-bad-${PV}" multilib-minimal_src_configure
  19. }
  20. src_compile() {
  21. multilib-minimal_src_compile
  22. S="${WORKDIR}/gst-plugins-bad-${PV}" multilib-minimal_src_compile
  23. }
  24. src_install() {
  25. multilib-minimal_src_install
  26. S="${WORKDIR}/gst-plugins-bad-${PV}" multilib-minimal_src_install
  27. }