From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E6688138359 for ; Fri, 31 Jul 2020 11:04:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 13A87E0977; Fri, 31 Jul 2020 11:04:25 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E0AA6E0977 for ; Fri, 31 Jul 2020 11:04:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 439C034EE04 for ; Fri, 31 Jul 2020 11:04:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4C1EB2F1 for ; Fri, 31 Jul 2020 11:04:20 +0000 (UTC) From: "Miroslav Šulc" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Miroslav Šulc" Message-ID: <1596193451.7a0000ce9816be9a732c0c4350564dab9f8aecd4.fordfrog@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-plugins/libvisual-plugins/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-plugins/libvisual-plugins/libvisual-plugins-0.4.0-r4.ebuild X-VCS-Directories: media-plugins/libvisual-plugins/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: 7a0000ce9816be9a732c0c4350564dab9f8aecd4 X-VCS-Branch: master Date: Fri, 31 Jul 2020 11:04:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ed9c880c-9288-4a70-93d7-33d9b15f4fae X-Archives-Hash: 9d75464f64922df8b8a385337d60240b commit: 7a0000ce9816be9a732c0c4350564dab9f8aecd4 Author: Miroslav Šulc gentoo org> AuthorDate: Fri Jul 31 11:03:56 2020 +0000 Commit: Miroslav Šulc gentoo org> CommitDate: Fri Jul 31 11:04:11 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a0000ce media-plugins/libvisual-plugins: switched to virtual/jack and eapi7 used patch from Jannis Achstetter kripserver.net> with some modifications Closes: https://github.com/gentoo/gentoo/pull/12454 Closes: https://bugs.gentoo.org/622434 Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Miroslav Šulc gentoo.org> .../libvisual-plugins-0.4.0-r4.ebuild | 79 ++++++++++++++++++++++ 1 file changed, 79 insertions(+) diff --git a/media-plugins/libvisual-plugins/libvisual-plugins-0.4.0-r4.ebuild b/media-plugins/libvisual-plugins/libvisual-plugins-0.4.0-r4.ebuild new file mode 100644 index 00000000000..2ed77031106 --- /dev/null +++ b/media-plugins/libvisual-plugins/libvisual-plugins-0.4.0-r4.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit autotools eutils multilib-minimal + +PATCHLEVEL=4 + +DESCRIPTION="collection of visualization plugins for use with the libvisual framework" +HOMEPAGE="http://libvisual.sourceforge.net/" +SRC_URI="mirror://sourceforge/libvisual/${P}.tar.gz + mirror://gentoo/${P}-patches-${PATCHLEVEL}.tar.bz2 + mirror://gentoo/${P}-m4-1.tar.bz2" + +LICENSE="GPL-2" +SLOT="0.4" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="alsa debug gtk jack mplayer opengl" + +RDEPEND=">=media-libs/fontconfig-2.10.92[${MULTILIB_USEDEP}] + ~media-libs/libvisual-${PV}[${MULTILIB_USEDEP}] + >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] + >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}] + >=x11-libs/libXrender-0.9.8[${MULTILIB_USEDEP}] + alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] ) + gtk? ( >=x11-libs/gtk+-2.24.23:2[${MULTILIB_USEDEP}] ) + jack? ( virtual/jack[${MULTILIB_USEDEP}] ) + opengl? ( + >=virtual/glu-9.0-r1[${MULTILIB_USEDEP}] + >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}] + )" +BDEPEND=">=virtual/pkgconfig-0-r1" + +DEPEND="${RDEPEND} + >=x11-libs/libXt-1.1.4[${MULTILIB_USEDEP}]" + +DOCS="AUTHORS ChangeLog NEWS README TODO" + +src_prepare() { + # Can't use eapply on ${WORKDIR}/patches since the patches use different + # values for -p. epatch handled that automatically, eapply doesn't + eapply -p1 "${WORKDIR}"/patches/005_all_cxxflags.patch + eapply -p1 "${WORKDIR}"/patches/010_all_LIBADD.patch + eapply -p1 "${WORKDIR}"/patches/020_all_64bit.patch + eapply -p1 "${WORKDIR}"/patches/030_all_analyser.patch + eapply -p1 "${WORKDIR}"/patches/040_all_gforce.patch + eapply -p0 "${WORKDIR}"/patches/050_all_automagic.patch + eapply -p0 "${WORKDIR}"/patches/060_all_gstreamer.patch + eapply -p1 "${WORKDIR}"/patches/070_all_gforce-fbsd.patch + eapply -p1 "${WORKDIR}"/patches/080_all_qa.patch + eapply -p1 "${WORKDIR}"/patches/090_all_nastyfft.patch + eapply_user + + AT_M4DIR=${WORKDIR}/m4 eautoreconf + + sed -i -e "s:@MKINSTALLDIRS@:${S}/mkinstalldirs:" po/Makefile.* || die +} + +multilib_src_configure() { + ECONF_SOURCE=${S} \ + econf \ + --disable-esd \ + $(use_enable jack) \ + $(use_enable gtk gdkpixbuf-plugin) \ + --disable-gstreamer-plugin \ + $(use_enable alsa) \ + $(use_enable mplayer) \ + $(use_enable debug inputdebug) \ + $(use_enable opengl gltest) \ + $(use_enable opengl nastyfft) \ + $(use_enable opengl madspin) \ + $(use_enable opengl flower) \ + $(use_enable debug) +} + +multilib_src_install_all() { + einstalldocs + find "${D}" -name "*.la" -delete || die +}