From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:35808) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gi7NG-0003qn-Vl for guix-patches@gnu.org; Fri, 11 Jan 2019 19:42:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gi7NF-0005eD-H1 for guix-patches@gnu.org; Fri, 11 Jan 2019 19:42:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:57180) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gi7NC-0005dL-Jr for guix-patches@gnu.org; Fri, 11 Jan 2019 19:42:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gi7NC-0007BY-DD for guix-patches@gnu.org; Fri, 11 Jan 2019 19:42:02 -0500 Subject: [bug#34050] [PATCH] gnu: Add libaom and activate AV1 support in ffmpeg. Resent-Message-ID: Received: from eggs.gnu.org ([209.51.188.92]:35446) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gi7MR-0003Gy-MQ for guix-patches@gnu.org; Fri, 11 Jan 2019 19:41:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gi7G2-0000zA-2h for guix-patches@gnu.org; Fri, 11 Jan 2019 19:34:38 -0500 Received: from mout.web.de ([212.227.15.14]:41011) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gi7G1-0000xP-Nw for guix-patches@gnu.org; Fri, 11 Jan 2019 19:34:38 -0500 From: Arne Babenhauserheide Date: Sat, 12 Jan 2019 01:24:58 +0100 Message-ID: <871s5iemss.fsf@web.de> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 34050@debbugs.gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable * gnu/packages/video.scm (libaom): New variable. * gnu/packages/video.scm (ffmpeg): Add libaom support. [inputs] new input libaom. [arguments] new configure-flag --enable-libaom. =2D-- gnu/packages/video.scm | 38 +++++++++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 52facebe4..97ae20b05 100644 =2D-- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -236,6 +236,40 @@ A/52 standard is used in a variety of applications, in= cluding digital television and DVD. It is also known as AC-3.") (license license:gpl2+))) =20 +(define-public libaom + (package + (name "libaom") + (version "22b150bf040608028a56d8bf39e72f771383d836") ;; master + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://aomedia.googlesource.com/aom/") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1pdd5h3n42607n6qmggz4yv8izhjr2kl6knb3kh7gh4v0vy47h1r")))) + (build-system cmake-build-system) + (native-inputs + `(("git" ,git) + ("perl" ,perl) + ("pkg-config" ,pkg-config) + ("python" ,python))) ; to detect the version + (arguments + `(#:tests? #f ;no check target + #:configure-flags + ;; build dynamic library + (list "-DBUILD_SHARED_LIBS=3DYES" + "-DENABLE_PIC=3DTRUE" + "-DAOM_TARGET_CPU=3Dgeneric" + (string-append "-DCMAKE_INSTALL_PREFIX=3D" + (assoc-ref %outputs "out"))))) + (home-page "https://aomedia.googlesource.com/aom/") + (synopsis "AV1 Codec Library") + (description "libaom is the reference encoder of AV1.") + (license license:bsd-2))) + + (define-public libmpeg2 (package (name "libmpeg2") @@ -700,6 +734,7 @@ standards (MPEG-2, MPEG-4 ASP/H.263, MPEG-4 AVC/H.264, = and VC-1/VMW3).") ("opus" ,opus) ("ladspa" ,ladspa) ("lame" ,lame) + ("libaom" ,libaom) ("libass" ,libass) ("libbluray" ,libbluray) ("libcaca" ,libcaca) @@ -778,7 +813,8 @@ standards (MPEG-2, MPEG-4 ASP/H.263, MPEG-4 AVC/H.264, = and VC-1/VMW3).") ;; --enable-libzmq enable message passing via libzmq [no] ;; --enable-libzvbi enable teletext support via libzvbi [= no] ;; --enable-opencl enable OpenCL code =2D '("--enable-avresample" + '("--enable-libaom" ; for AV1 + "--enable-avresample" "--enable-gpl" ; enable optional gpl licensed parts "--enable-shared" "--enable-frei0r" =2D-=20 2.19.2 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE801qEjXQSQPNItXAE++NRSQDw+sFAlw5NhQACgkQE++NRSQD w+uWMA//SMI6cDhpDtCRGRdx8H9hwPyCNiUn97ktpFIbRdtObKjfu/c2Tjp4dKH0 FOhfQmQpircTdpBXwR4vAUjBJN5SRoTDzQ2TM0auxzv5vLi26ljKA87V9B4r1Har XS6aegsTdokfzAo5EyNsLFHhqfer94Qy5VBW+ltVZJ2ydEXGYCPOSxKAhfMW5+Ob qeMuTGz9+ArOi4geh9gC60vuJpH6nGOmeC8u8UXCHqihl14TZIYGnNOj7VdBWgeo ppA4rXpWWA+VMk5eP4Zfcir5oXIclZNPZLmFkiIYFAI0BOi/4WTL0/2+WJkwQtIz UL2fOZkeZwfq1RvhbWD+EwdAJNM8dyNZ4jO/d4mFnylHVM9xriSSOzYqxlm0Gb4O mLMkb3ibyvDNIj5ZtzQ0GzPaXw6P08I/aq2A7fVZy2pdlZqxLD/4w6yNGIXQ27Az +4kZROZpuxtW9svhJWkuI3nE+bdY0SfUjZq95oqZiRMdb+8EScfitEc8AdmnAubo 9+c8m/VavlJ65+iikZEGkbRNE+2pL4cRJmtFg9YLRBY4vYSSdLgv9i+E9c9uudql 2HoNsUT5W8PdRnBG7/+1Ig5AHMNJ05J1GETV/7jr8xDfzYRFcRrD7QPu0p0YqTnC eqeAu3mZYa/On37C1624iE0dS2UWWG+6+23RAaHNHLpbje8k5XyIswQBAQgAHRYh BN0ovebZh1yrzkqLHdzPDbMLwQVIBQJcOTYXAAoJENzPDbMLwQVISFYEAI7apUK0 8EdBUaLLmdiyuysp2g65h5tgjiMt2C3AAWRvNM41ued/ulwuOaPzYfj7i6veraxG 3drt90AU44MgOviTXZWKZIsZnNIuL43M1oOt2gYGr+1yzT27Xj9TrcCHVWRtjRus QuihTULrIvpfnMspG+tig/acUvIui5iQ6kaE =ACHR -----END PGP SIGNATURE----- --=-=-=--