Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 690030 Details for
Bug 774537
media-libs/libavif: add multilib support
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
experimental multilib ebuild
libavif-9999.ebuild (text/plain), 2.06 KB, created by
Daniel Novomeský
on 2021-03-08 10:23:32 UTC
(
hide
)
Description:
experimental multilib ebuild
Filename:
MIME Type:
Creator:
Daniel Novomeský
Created:
2021-03-08 10:23:32 UTC
Size:
2.06 KB
patch
obsolete
># Copyright 2020-2021 Gentoo Authors ># Distributed under the terms of the GNU General Public License v2 > >EAPI=7 > >CMAKE_ECLASS=cmake >inherit cmake-multilib git-r3 gnome2-utils > >DESCRIPTION="Library for encoding and decoding .avif files" >HOMEPAGE="https://github.com/AOMediaCodec/libavif" >EGIT_REPO_URI="https://github.com/AOMediaCodec/libavif.git" > >LICENSE="BSD-2" >SLOT="0" >KEYWORDS="" >IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1" > >DEPEND="media-libs/libpng[${MULTILIB_USEDEP}] > sys-libs/zlib[${MULTILIB_USEDEP}] > virtual/jpeg[${MULTILIB_USEDEP}] > aom? ( >=media-libs/libaom-2.0.0[${MULTILIB_USEDEP}] ) > dav1d? ( media-libs/dav1d[${MULTILIB_USEDEP}] ) > gdk-pixbuf? ( x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] ) > rav1e? ( media-video/rav1e[capi] ) > svt-av1? ( >=media-libs/svt-av1-0.8.6 )" >RDEPEND="${DEPEND}" >BDEPEND="virtual/pkgconfig" > >REQUIRED_USE="|| ( aom dav1d )" > >multilib_src_configure() { > local mycmakeargs=( > -DBUILD_SHARED_LIBS=ON > -DAVIF_CODEC_AOM=$(usex aom ON OFF) > -DAVIF_CODEC_DAV1D=$(usex dav1d ON OFF) > -DAVIF_CODEC_LIBGAV1=OFF > > # Use system libraries. > -DAVIF_LOCAL_ZLIBPNG=OFF > -DAVIF_LOCAL_JPEG=OFF > > -DAVIF_BUILD_GDK_PIXBUF=$(usex gdk-pixbuf ON OFF) > ) > > if multilib_is_native_abi; then > mycmakeargs+=( > -DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF) > -DAVIF_CODEC_SVT=$(usex svt-av1 ON OFF) > > -DAVIF_BUILD_EXAMPLES=$(usex examples ON OFF) > -DAVIF_BUILD_APPS=$(usex extras ON OFF) > -DAVIF_BUILD_TESTS=$(usex extras ON OFF) > ) > else > mycmakeargs+=( > -DAVIF_CODEC_RAV1E=OFF > -DAVIF_CODEC_SVT=OFF > > -DAVIF_BUILD_EXAMPLES=OFF > -DAVIF_BUILD_APPS=OFF > -DAVIF_BUILD_TESTS=OFF > ) > fi > > cmake_src_configure >} > >pkg_preinst() { > if use gdk-pixbuf ; then > gnome2_gdk_pixbuf_savelist > fi >} > >pkg_postinst() { > if ! use aom && ! use rav1e && ! use svt-av1 ; then > ewarn "No AV1 encoder is set," > ewarn "libavif will work in read-only mode." > ewarn "Enable aom, rav1e or svt-av1 flag if you want to save .AVIF files." > fi > > if use gdk-pixbuf ; then > gnome2_gdk_pixbuf_update > fi >} > >pkg_postrm() { > if use gdk-pixbuf ; then > gnome2_gdk_pixbuf_update > fi >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 774537
: 690030 |
690219