public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/kvazaar/
Date: Fri, 30 Nov 2018 22:45:02 +0000 (UTC)	[thread overview]
Message-ID: <1543617883.b01246dd43f29611331530be23b5f1f8a1a5053b.asturm@gentoo> (raw)

commit:     b01246dd43f29611331530be23b5f1f8a1a5053b
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 30 22:05:35 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Nov 30 22:44:43 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b01246dd

media-libs/kvazaar: EAPI-6 bump and general cleanup

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 media-libs/kvazaar/kvazaar-1.2.0.ebuild | 45 +++++++++++++------------------
 media-libs/kvazaar/kvazaar-9999.ebuild  | 47 ++++++++++++++-------------------
 2 files changed, 39 insertions(+), 53 deletions(-)

diff --git a/media-libs/kvazaar/kvazaar-1.2.0.ebuild b/media-libs/kvazaar/kvazaar-1.2.0.ebuild
index 3c2dc94003a..46bae358eb2 100644
--- a/media-libs/kvazaar/kvazaar-1.2.0.ebuild
+++ b/media-libs/kvazaar/kvazaar-1.2.0.ebuild
@@ -1,45 +1,40 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-
-SCM=""
+EAPI=6
 
 GREATEST_PV="1.2.1"
 
-if [ "${PV#9999}" != "${PV}" ] ; then
-	SCM="git-r3"
+if [[ ${PV} = *9999 ]] ; then
+	inherit git-r3
 	EGIT_REPO_URI="https://github.com/ultravideo/kvazaar"
-fi
-
-inherit eutils multilib autotools multilib-minimal toolchain-funcs flag-o-matic ${SCM}
-
-DESCRIPTION="An open-source HEVC encoder"
-HOMEPAGE="http://ultravideo.cs.tut.fi/ https://github.com/ultravideo/kvazaar"
-
-if [ "${PV#9999}" = "${PV}" ] ; then
+else
 	SRC_URI="https://github.com/ultravideo/kvazaar/archive/v${PV}.tar.gz -> ${P}.tar.gz
 		test? ( https://github.com/silentbicycle/greatest/archive/v${GREATEST_PV}.tar.gz -> greatest-${GREATEST_PV}.tar.gz )"
 	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
 fi
+inherit autotools flag-o-matic multilib-minimal toolchain-funcs
+
+DESCRIPTION="Open-source HEVC encoder"
+HOMEPAGE="http://ultravideo.cs.tut.fi/ https://github.com/ultravideo/kvazaar"
 
 LICENSE="LGPL-2.1"
 # subslot = libkvazaar major
 SLOT="0/4"
 IUSE="static-libs test"
-
-DEPEND=""
-RDEPEND="${DEPEND}"
 REQUIRED_USE="test? ( static-libs )"
 
 ASM_DEP=">=dev-lang/yasm-1.2.0"
-DEPEND="${DEPEND}
+RDEPEND=""
+DEPEND="${RDEPEND}
 	abi_x86_32? ( ${ASM_DEP} )
-	abi_x86_64? ( ${ASM_DEP} )"
+	abi_x86_64? ( ${ASM_DEP} )
+"
 
 src_prepare() {
+	default
 	eautoreconf
-	if use test && [ "${PV#9999}" = "${PV}" ]; then
+	if use test && [[ ${PV} != *9999 ]]; then
 		# https://bugs.gentoo.org/show_bug.cgi?id=595932
 		rmdir "${S}/greatest" || die
 		mv "${WORKDIR}/greatest-${GREATEST_PV}" "${S}/greatest" || die
@@ -49,13 +44,11 @@ src_prepare() {
 }
 
 multilib_src_configure() {
-	ECONF_SOURCE="${S}" \
-		econf \
-			--disable-werror \
-			--docdir "/usr/share/doc/${PF}" \
-			$(use_enable static-libs static)
+	ECONF_SOURCE="${S}" econf \
+		--disable-werror \
+		$(use_enable static-libs static)
 }
 
 multilib_src_install_all() {
-	find "${ED}" -name '*.la' -delete
+	find "${ED}" -name '*.la' -delete || die
 }

diff --git a/media-libs/kvazaar/kvazaar-9999.ebuild b/media-libs/kvazaar/kvazaar-9999.ebuild
index 17d2a2b7eca..46bae358eb2 100644
--- a/media-libs/kvazaar/kvazaar-9999.ebuild
+++ b/media-libs/kvazaar/kvazaar-9999.ebuild
@@ -1,45 +1,40 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-
-SCM=""
+EAPI=6
 
 GREATEST_PV="1.2.1"
 
-if [ "${PV#9999}" != "${PV}" ] ; then
-	SCM="git-r3"
+if [[ ${PV} = *9999 ]] ; then
+	inherit git-r3
 	EGIT_REPO_URI="https://github.com/ultravideo/kvazaar"
-fi
-
-inherit eutils multilib autotools multilib-minimal toolchain-funcs flag-o-matic ${SCM}
-
-DESCRIPTION="An open-source HEVC encoder"
-HOMEPAGE="http://ultravideo.cs.tut.fi/ https://github.com/ultravideo/kvazaar"
-
-if [ "${PV#9999}" = "${PV}" ] ; then
+else
 	SRC_URI="https://github.com/ultravideo/kvazaar/archive/v${PV}.tar.gz -> ${P}.tar.gz
 		test? ( https://github.com/silentbicycle/greatest/archive/v${GREATEST_PV}.tar.gz -> greatest-${GREATEST_PV}.tar.gz )"
-	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~x86"
+	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
 fi
+inherit autotools flag-o-matic multilib-minimal toolchain-funcs
+
+DESCRIPTION="Open-source HEVC encoder"
+HOMEPAGE="http://ultravideo.cs.tut.fi/ https://github.com/ultravideo/kvazaar"
 
 LICENSE="LGPL-2.1"
 # subslot = libkvazaar major
 SLOT="0/4"
 IUSE="static-libs test"
-
-DEPEND=""
-RDEPEND="${DEPEND}"
 REQUIRED_USE="test? ( static-libs )"
 
 ASM_DEP=">=dev-lang/yasm-1.2.0"
-DEPEND="${DEPEND}
+RDEPEND=""
+DEPEND="${RDEPEND}
 	abi_x86_32? ( ${ASM_DEP} )
-	abi_x86_64? ( ${ASM_DEP} )"
+	abi_x86_64? ( ${ASM_DEP} )
+"
 
 src_prepare() {
+	default
 	eautoreconf
-	if use test && [ "${PV#9999}" = "${PV}" ]; then
+	if use test && [[ ${PV} != *9999 ]]; then
 		# https://bugs.gentoo.org/show_bug.cgi?id=595932
 		rmdir "${S}/greatest" || die
 		mv "${WORKDIR}/greatest-${GREATEST_PV}" "${S}/greatest" || die
@@ -49,13 +44,11 @@ src_prepare() {
 }
 
 multilib_src_configure() {
-	ECONF_SOURCE="${S}" \
-		econf \
-			--disable-werror \
-			--docdir "/usr/share/doc/${PF}" \
-			$(use_enable static-libs static)
+	ECONF_SOURCE="${S}" econf \
+		--disable-werror \
+		$(use_enable static-libs static)
 }
 
 multilib_src_install_all() {
-	find "${ED}" -name '*.la' -delete
+	find "${ED}" -name '*.la' -delete || die
 }


             reply	other threads:[~2018-11-30 22:45 UTC|newest]

Thread overview: 81+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-30 22:45 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-04-07 23:37 [gentoo-commits] repo/gentoo:master commit in: media-libs/kvazaar/ Sam James
2024-04-07 23:35 Sam James
2024-03-12  4:29 Ionen Wolkens
2024-03-11 16:17 Viorel Munteanu
2024-03-08 20:02 Sam James
2023-12-22  5:14 Ionen Wolkens
2023-12-02 17:26 Arthur Zamarin
2023-12-01 19:13 Arthur Zamarin
2023-06-01 16:42 Arthur Zamarin
2023-06-01 16:41 Arthur Zamarin
2023-04-08  6:47 Viorel Munteanu
2023-04-05 13:32 WANG Xuerui
2023-04-05 13:32 WANG Xuerui
2023-03-26 16:22 Arthur Zamarin
2023-03-20 13:57 Yixun Lan
2023-03-20  5:36 Sam James
2022-12-02 18:44 WANG Xuerui
2022-11-12 17:48 Matt Turner
2022-11-12 16:09 Arthur Zamarin
2022-11-12 16:07 Arthur Zamarin
2022-11-12 16:06 Arthur Zamarin
2022-11-12 16:06 Arthur Zamarin
2022-09-05  3:56 Sam James
2022-09-03  5:27 Sam James
2022-03-15 13:27 Alexis Ballier
2021-08-24 14:33 Marek Szuba
2021-05-17 21:02 Sergei Trofimovich
2021-05-13 17:02 Sam James
2021-05-13 17:01 Sam James
2021-05-13 17:01 Sam James
2021-05-13 16:58 Sam James
2021-05-13 16:58 Sam James
2021-05-13 16:39 Sam James
2020-08-31  9:10 Alexis Ballier
2020-04-14  7:28 Sergei Trofimovich
2019-02-12 21:03 Sergei Trofimovich
2019-02-04 20:16 Markus Meier
2019-01-30 13:20 Tobias Klausmann
2019-01-17 21:32 Mikle Kolyada
2019-01-13 10:01 Sergei Trofimovich
2019-01-04  0:02 Thomas Deutschmann
2019-01-03 15:03 Sergei Trofimovich
2019-01-03 14:58 Sergei Trofimovich
2018-12-04 14:08 Craig Andrews
2018-11-30 22:45 Andreas Sturmlechner
2018-11-30 22:45 Andreas Sturmlechner
2018-04-16 19:03 Sergei Trofimovich
2018-03-25 23:29 Sergei Trofimovich
2018-03-06 22:35 Sergei Trofimovich
2018-03-06 22:35 Sergei Trofimovich
2017-11-30 13:57 Alexis Ballier
2017-07-15  5:03 Markus Meier
2017-07-04 15:49 Agostino Sarubbo
2017-07-04 10:17 Agostino Sarubbo
2017-07-01 20:58 Sergei Trofimovich
2017-06-16  9:44 Alexis Ballier
2017-06-10 20:14 Sergei Trofimovich
2017-06-10 20:14 Sergei Trofimovich
2017-04-05 14:07 Tobias Klausmann
2017-03-10 12:08 Alexis Ballier
2017-03-02 15:52 Tobias Klausmann
2017-02-23 12:35 Michael Weber
2017-02-22 13:24 Michael Weber
2017-02-22 13:19 Jeroen Roovers
2017-02-18  8:51 Jeroen Roovers
2017-02-17 17:28 Markus Meier
2017-02-15 15:56 Agostino Sarubbo
2017-02-15 15:05 Agostino Sarubbo
2016-10-15 11:47 Pacho Ramos
2016-10-15 11:47 Pacho Ramos
2016-10-15 11:47 Pacho Ramos
2016-10-15  9:42 Alexis Ballier
2016-10-15  5:17 Jeroen Roovers
2016-10-03  9:04 Alexis Ballier
2016-07-26 10:51 Chí-Thanh Christopher Nguyễn
2016-07-26  9:27 Alexis Ballier
2016-01-29 19:41 Alexis Ballier
2016-01-18 15:13 Alexis Ballier
2015-11-13  9:11 Alexis Ballier
2015-10-30 12:40 Alexis Ballier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1543617883.b01246dd43f29611331530be23b5f1f8a1a5053b.asturm@gentoo \
    --to=asturm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox