public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alexis Ballier" <aballier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/x264-encoder/
Date: Fri, 21 Aug 2015 13:51:37 +0000 (UTC)	[thread overview]
Message-ID: <1440165079.36c01700498b3b61d12f07102e4e8bea16f072a5.aballier@gentoo> (raw)

commit:     36c01700498b3b61d12f07102e4e8bea16f072a5
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 21 13:50:44 2015 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Fri Aug 21 13:51:19 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36c01700

media-video/x264-encoder: bump a new snapshot

Package-Manager: portage-2.2.20.1

 media-video/x264-encoder/Manifest                  |  1 +
 .../x264-encoder/x264-encoder-0.0.20150820.ebuild  | 71 ++++++++++++++++++++++
 2 files changed, 72 insertions(+)

diff --git a/media-video/x264-encoder/Manifest b/media-video/x264-encoder/Manifest
index 3d91188..203faf6 100644
--- a/media-video/x264-encoder/Manifest
+++ b/media-video/x264-encoder/Manifest
@@ -1 +1,2 @@
 DIST x264-snapshot-20140308-2245.tar.bz2 624712 SHA256 b179cb1e1d4f51418d292011a7494d5b62145571c05c22007f28d8fd89d2ebbe SHA512 42dc8183aa7af2bd4c360edc0349193cf69a119450880af0c1586e8f27490d7c6784c464b29c9f07ae972aaf661672ab4f2094a46a3d19b6df35be1f9d9a1629 WHIRLPOOL b1ac3341647d9d8d8ff6177f179ee8b5d6a49a38a48791748c24d5cd3c53858758785a0d21d42fbe373ec74465d947b69526a487da15fbca1a1f9aa50064288c
+DIST x264-snapshot-20150820-2245.tar.bz2 718209 SHA256 0ea86849d1a9b0a5b88fe6e0281359d7f5675c68fb83f6397b3e02896ccd77e3 SHA512 6b85f96f7cc85e1e938dad06c01b777aaf866796fb1763a02b4b7fa9c44f70bf15fc1bef123f7b24bb2c58b23f7276d4eb2b8f99b2e4fef3c716ed7f66d66e44 WHIRLPOOL daf5a63dbe2cb77a496a3eec1b1687ef6c4a008328064c46bd0e90139d328a6ff4e7dbd17b8dad57c357717c0b665293c86883213b483e85d25a06ec93c81024

diff --git a/media-video/x264-encoder/x264-encoder-0.0.20150820.ebuild b/media-video/x264-encoder/x264-encoder-0.0.20150820.ebuild
new file mode 100644
index 0000000..64e7ddc
--- /dev/null
+++ b/media-video/x264-encoder/x264-encoder-0.0.20150820.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit flag-o-matic multilib toolchain-funcs
+
+DESCRIPTION="A free commandline encoder for X264/AVC streams"
+HOMEPAGE="http://www.videolan.org/developers/x264.html"
+if [[ ${PV} == 9999 ]]; then
+	inherit git-2
+	EGIT_REPO_URI="git://git.videolan.org/x264.git"
+	SRC_URI=""
+else
+	inherit versionator
+	MY_P="x264-snapshot-$(get_version_component_range 3)-2245"
+	SRC_URI="http://download.videolan.org/pub/videolan/x264/snapshots/${MY_P}.tar.bz2"
+	KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+	S="${WORKDIR}/${MY_P}"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="10bit avs custom-cflags ffmpeg ffmpegsource +interlaced mp4 +threads"
+
+REQUIRED_USE="ffmpegsource? ( ffmpeg )"
+
+RDEPEND="ffmpeg? ( virtual/ffmpeg )
+	~media-libs/x264-${PV}[10bit=,interlaced=,threads=]
+	ffmpegsource? ( media-libs/ffmpegsource )
+	mp4? ( >=media-video/gpac-0.4.1_pre20060122 )"
+
+ASM_DEP=">=dev-lang/yasm-1.2.0"
+DEPEND="${RDEPEND}
+	amd64? ( ${ASM_DEP} )
+	x86? ( ${ASM_DEP} )
+	x86-fbsd? ( ${ASM_DEP} )
+	virtual/pkgconfig"
+
+src_configure() {
+	tc-export CC
+
+	# let upstream pick the optimization level by default
+	use custom-cflags || filter-flags -O?
+
+	./configure \
+		--prefix="${EPREFIX}"/usr \
+		--libdir="${EPREFIX}"/usr/$(get_libdir) \
+		--system-libx264 \
+		--host="${CHOST}" \
+		--disable-lsmash \
+		$(usex 10bit "--bit-depth=10" "") \
+		$(usex avs "" "--disable-avs") \
+		$(usex ffmpeg "" "--disable-lavf --disable-swscale") \
+		$(usex ffmpegsource "" "--disable-ffms") \
+		$(usex interlaced "" "--disable-interlaced") \
+		$(usex mp4 "" "--disable-gpac") \
+		$(usex threads "" "--disable-thread") || die
+
+	# this is a nasty workaround for bug #376925 for x264 that also applies
+	# here, needed because as upstream doesn't like us fiddling with their CFLAGS
+	if use custom-cflags; then
+		local cflags
+		cflags="$(grep "^CFLAGS=" config.mak | sed 's/CFLAGS=//')"
+		cflags="${cflags//$(get-flag O)/}"
+		cflags="${cflags//-O? /$(get-flag O) }"
+		cflags="${cflags//-g /}"
+		sed -i "s:^CFLAGS=.*:CFLAGS=${cflags//:/\\:}:" config.mak
+	fi
+}


             reply	other threads:[~2015-08-21 13:51 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-21 13:51 Alexis Ballier [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-10-12  7:57 [gentoo-commits] repo/gentoo:master commit in: media-video/x264-encoder/ Alexis Ballier
2016-05-24 14:12 Alexis Ballier
2016-07-13 13:24 Alexis Ballier
2016-12-06 12:21 Agostino Sarubbo
2016-12-06 12:21 Agostino Sarubbo
2017-01-31 14:04 Alexis Ballier
2017-07-02 10:04 Alexis Ballier
2017-07-02 10:04 Alexis Ballier
2017-07-29 10:06 Alexis Ballier
2018-02-25 19:41 Andreas Sturmlechner
2018-02-25 20:16 Thomas Deutschmann
2018-02-26 14:25 Jason Zaman
2018-05-20 20:17 Andreas Sturmlechner
2019-01-17  2:47 Andreas Sturmlechner
2019-01-17  2:47 Andreas Sturmlechner
2019-01-17  2:47 Andreas Sturmlechner
2019-02-15 12:36 Alexis Ballier
2019-05-05 19:05 Mike Gilbert
2019-07-01 19:23 Thomas Deutschmann
2019-07-02 10:33 Agostino Sarubbo
2019-07-28 11:24 Andreas Sturmlechner
2019-09-04 14:46 Alexis Ballier
2020-04-25 19:14 Mikle Kolyada
2020-09-15 18:34 Mike Gilbert
2021-01-04  3:31 Sam James
2021-01-07 19:04 Sam James
2022-01-05 10:01 David Seifert
2022-03-10 12:45 Alexis Ballier
2022-09-03  5:27 Sam James
2022-09-03  5:27 Sam James
2022-11-12 17:48 Matt Turner
2023-12-26 21:39 Sam James
2024-03-17 19:29 Arthur Zamarin
2024-03-18  4:45 Sam James
2024-08-25 18:03 Sam James
2024-11-23 13:02 Arthur Zamarin
2024-11-23 18:02 Arthur Zamarin

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=1440165079.36c01700498b3b61d12f07102e4e8bea16f072a5.aballier@gentoo \
    --to=aballier@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