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 895D7138334 for ; Sat, 8 Sep 2018 22:04:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 44868E0839; Sat, 8 Sep 2018 22:04:54 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 1B078E0833 for ; Sat, 8 Sep 2018 22:04:52 +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 5EC3C34067D for ; Sat, 8 Sep 2018 22:04:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C07183C0 for ; Sat, 8 Sep 2018 22:04:49 +0000 (UTC) From: "Thomas Deutschmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Deutschmann" Message-ID: <1536444281.c2ba61f77034815605f470745da96bb979d4004f.whissi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libde265/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/libde265/libde265-9999.ebuild X-VCS-Directories: media-libs/libde265/ X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: c2ba61f77034815605f470745da96bb979d4004f X-VCS-Branch: master Date: Sat, 8 Sep 2018 22:04:49 +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-Archives-Salt: 7b095d87-8f9c-4e52-a562-26da72b800b0 X-Archives-Hash: 0b30e7e910c95c8b719fb131f46873eb commit: c2ba61f77034815605f470745da96bb979d4004f Author: Thomas Deutschmann gentoo org> AuthorDate: Sat Sep 8 19:27:33 2018 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Sat Sep 8 22:04:41 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2ba61f7 media-libs/libde265: update live ebuild - Bump to EAPI=7 Package-Manager: Portage-2.3.49, Repoman-2.3.10 media-libs/libde265/libde265-9999.ebuild | 40 ++++++++++++++++++++++++-------- 1 file changed, 30 insertions(+), 10 deletions(-) diff --git a/media-libs/libde265/libde265-9999.ebuild b/media-libs/libde265/libde265-9999.ebuild index 5fd5bc2676d..271e443495b 100644 --- a/media-libs/libde265/libde265-9999.ebuild +++ b/media-libs/libde265/libde265-9999.ebuild @@ -1,15 +1,22 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI="7" -AUTOTOOLS_IN_SOURCE_BUILD=1 -AUTOTOOLS_AUTORECONF=1 -inherit git-r3 autotools-multilib +inherit autotools multilib-minimal + +PATCHES=( "${FILESDIR}/${PN}-1.0.2-qtbindir.patch" ) + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="https://github.com/strukturag/${PN}.git" + inherit git-r3 +else + SRC_URI="https://github.com/strukturag/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi DESCRIPTION="Open h.265 video codec implementation" HOMEPAGE="https://github.com/strukturag/libde265" -EGIT_REPO_URI="https://github.com/strukturag/${PN}.git" LICENSE="GPL-3" SLOT="0" @@ -27,9 +34,16 @@ DEPEND=" " RDEPEND="${DEPEND}" -PATCHES=( "${FILESDIR}/${PN}-1.0.2-qtbindir.patch" ) +src_prepare() { + default + + eautoreconf -src_configure() { + # without this, headers would be missing and make would fail + multilib_copy_sources +} + +multilib_src_configure() { local myeconfargs=( $(use_enable cpu_flags_x86_sse sse) $(use_enable static-libs static) @@ -38,8 +52,14 @@ src_configure() { $(use_enable debug log-trace) $(use_enable qt5 dec265) $(use_enable qt5 sherlock265) - --disable-silent-rules --enable-log-error ) - autotools-multilib_src_configure "${myeconfargs[@]}" + econf "${myeconfargs[@]}" +} + +multilib_src_install_all() { + find "${ED}" -name '*.la' -delete || die + if ! use static-libs ; then + find "${ED}" -name "*.a" -delete || die + fi }