diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-02-13 21:41:11 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-02-13 21:41:11 +0000 |
commit | c8d60dada2ec8eb48b2d2b290cd6683ccec40e39 (patch) | |
tree | c44943ee0563a3fa957716de909fed683117fcb9 /app-emulation/punes | |
parent | 69051588e2f955485fe5d45d45e616bc60a2de57 (diff) |
gentoo (valentine's day) resync : 14.02.2021
Diffstat (limited to 'app-emulation/punes')
-rw-r--r-- | app-emulation/punes/Manifest | 5 | ||||
-rw-r--r-- | app-emulation/punes/files/punes-0.107_ffmpeg-configure.patch | 27 | ||||
-rw-r--r-- | app-emulation/punes/punes-0.107.ebuild (renamed from app-emulation/punes/punes-0.106.ebuild) | 12 |
3 files changed, 39 insertions, 5 deletions
diff --git a/app-emulation/punes/Manifest b/app-emulation/punes/Manifest index e71c0aeda6b7..51aa7d637170 100644 --- a/app-emulation/punes/Manifest +++ b/app-emulation/punes/Manifest @@ -1,3 +1,4 @@ -DIST punes-0.106.tar.gz 5595484 BLAKE2B aa3bb5c869e679b19829a3d1de970517d6d626e0ed2404a9ed09d16af8fabb1ee3258ec8fbb4027fb6b70b5449b2bb7ac6880f43c3ba846687c65d8a0eeaf3f2 SHA512 f35c5cee05464cb11f130938cf7aa519d4dea35dbf52ce3606c3c6bb2596bc59b75e11816a5b44c7b1c9d402a299b4db49727087b4c93c3cb2ba473adfdd4fa2 -EBUILD punes-0.106.ebuild 1121 BLAKE2B 50d21cdb0d9cc999f07bd8f7272951bc26d579aeadfd87f10701eab49cfc611208104680517eb808a2e794cf211b6b41c22748fab898c76873044fb5cb68deaa SHA512 2a8fdefbf14ed66a01e32155442cc9c52052a1ed1fac8d39bac5ddda23eabd1ecf7082d3ba3166d68d5c3db4b2df0f2a4f869da587bf1f189c291a480cc2005a +AUX punes-0.107_ffmpeg-configure.patch 798 BLAKE2B da041283394db3a436478025fe3c8f5919f368bf00a5947fc688110d86691e987a52653e21215e05aab9d9861e7346fb526031c560da363570e6aeba11e4255c SHA512 443ad57c8659597f1beab1e5bb0a560f053986a6021785e24107463aa2351c1d6e26ee760cb1ec4a9913d8e01002a31f41d21a0b878e8925a66f02a858cebaa6 +DIST punes-0.107.tar.gz 44024138 BLAKE2B 048df5bc9b019bafcd4eec75dc027de7cde9f8aa0d484ef96e5c41b091ba55c13b84ef7c7c36987b53206b1b7027758534479d0cc9fde63d89a48092c3f9d26d SHA512 eb3b7aa1c18765402e1e57e23dd4b019255320b795c0f578a4d5ae9f4e0c163613da07280e2a5abed80b9ba90e74c80b53b5fdd80e405103f0063ca55d0ee7bd +EBUILD punes-0.107.ebuild 1241 BLAKE2B 5df5b93a315a152425c1bbeeb612b3a173d8682350d5b2f13740699752efeb9d96b99e57b578103e78b13edc3929344962dee8585a337fe5bc95bcdc036a39cc SHA512 149e4797185ae7d906ec4ef5ec29314eee21084829272379fdbf79d29519715d7e329174ef0485ab1a6448943e72781a2b6314b096a200ead2237e5a5138c2df MISC metadata.xml 529 BLAKE2B 41ca9104473edaf94faa28749d5705ccd3f0b0eae2ce6e421652ca025d6cf21e1094a9a36c9f787e1556f23ecb73d48c5f3b7784cffc082016307403136ce905 SHA512 6a4892f8f0ff213d87d98db48612b067a131dd6c59b0c4bbf78c098f9a33592ebbee8ef78674a812ef2b35d233c9dea52752aaca315ea0065c472a4c5c9732b1 diff --git a/app-emulation/punes/files/punes-0.107_ffmpeg-configure.patch b/app-emulation/punes/files/punes-0.107_ffmpeg-configure.patch new file mode 100644 index 000000000000..fd70e0d49ef0 --- /dev/null +++ b/app-emulation/punes/files/punes-0.107_ffmpeg-configure.patch @@ -0,0 +1,27 @@ +From 241b71fdacad10ad1e790e5a4e380ea1ffbe8a93 Mon Sep 17 00:00:00 2001 +From: "Azamat H. Hackimov" <azamat.hackimov@gmail.com> +Date: Thu, 21 Jan 2021 12:32:31 +0300 +Subject: [PATCH] Fix ffmpeg configure switch option + +autoconf's --with-PACKAGE/--without-PACKAGE requires $withval, not +$enableval. +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index fd9e0365..f63d50ea 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -38,7 +38,7 @@ AC_ARG_WITH([ffmpeg], + AS_HELP_STRING([--with-ffmpeg], + [Build with support for FFmpeg [autodetect] @<:@default: yes@:>@] + ), +- [with_ffmpeg=$enableval], [with_ffmpeg=yes]) ++ [with_ffmpeg=$withval], [with_ffmpeg=yes]) + + AC_ARG_ENABLE([release], + AS_HELP_STRING([--disable-release], +-- +2.26.2 + diff --git a/app-emulation/punes/punes-0.106.ebuild b/app-emulation/punes/punes-0.107.ebuild index 1cdb9cc4f012..db719a74f5f9 100644 --- a/app-emulation/punes/punes-0.106.ebuild +++ b/app-emulation/punes/punes-0.107.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -12,9 +12,10 @@ SRC_URI="https://github.com/punesemu/puNES/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2+" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="cg" +IUSE="cg ffmpeg" RDEPEND=" + ffmpeg? ( media-video/ffmpeg:= ) dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtsvg:5 @@ -30,6 +31,10 @@ BDEPEND=" S="${WORKDIR}/puNES-${PV}" +PATCHES=( + "${FILESDIR}/${P}_ffmpeg-configure.patch" +) + src_prepare() { default @@ -42,7 +47,8 @@ src_prepare() { src_configure() { econf \ - $(use_with cg opengl-nvidia-cg) + $(use_with cg opengl-nvidia-cg) \ + $(use_with ffmpeg) } pkg_postinst() { |