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-video/gpac/
Date: Thu, 29 Nov 2018 23:01:51 +0000 (UTC)	[thread overview]
Message-ID: <1543532491.f7cd7ef9a95742dee1a05ea0d4fde02b938df4e6.asturm@gentoo> (raw)

commit:     f7cd7ef9a95742dee1a05ea0d4fde02b938df4e6
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 29 22:29:28 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Nov 29 23:01:31 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7cd7ef9

media-video/gpac: Someone claimed it works with jack2

So let them have it.

Reported-by: gerion <gerion.entrup <AT> flump.de>
Closes: https://bugs.gentoo.org/636598
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 media-video/gpac/gpac-0.7.1-r1.ebuild | 141 ++++++++++++++++++++++++++++++++++
 1 file changed, 141 insertions(+)

diff --git a/media-video/gpac/gpac-0.7.1-r1.ebuild b/media-video/gpac/gpac-0.7.1-r1.ebuild
new file mode 100644
index 00000000000..9b94d9fe254
--- /dev/null
+++ b/media-video/gpac/gpac-0.7.1-r1.ebuild
@@ -0,0 +1,141 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+if [[ ${PV} == *9999 ]] ; then
+	SCM="git-r3"
+	EGIT_REPO_URI="https://github.com/gpac/gpac"
+else
+	SRC_URI="https://github.com/gpac/gpac/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+fi
+
+inherit flag-o-matic toolchain-funcs ${SCM}
+
+DESCRIPTION="Implementation of the MPEG-4 Systems standard developed from scratch in ANSI C"
+HOMEPAGE="https://gpac.wp.imt.fr/"
+
+LICENSE="GPL-2"
+# subslot == libgpac major
+SLOT="0/7"
+IUSE="a52 aac alsa debug dvb ffmpeg ipv6 jack jpeg jpeg2k libav libressl mad opengl oss png
+	pulseaudio sdl ssl static-libs theora truetype vorbis xml xvid X"
+
+RDEPEND="
+	a52? ( media-libs/a52dec )
+	aac? ( >=media-libs/faad2-2.0 )
+	alsa? ( media-libs/alsa-lib )
+	dvb? ( media-tv/linuxtv-dvb-apps )
+	ffmpeg? (
+		!libav? ( media-video/ffmpeg:0= )
+		libav? ( media-video/libav:0= ) )
+	jack? ( virtual/jack )
+	jpeg? ( virtual/jpeg:0 )
+	mad? ( >=media-libs/libmad-0.15.1b )
+	opengl? ( virtual/opengl media-libs/freeglut virtual/glu )
+	>=media-libs/libogg-1.1
+	png? ( >=media-libs/libpng-1.4:0= )
+	vorbis? ( >=media-libs/libvorbis-1.1 )
+	theora? ( media-libs/libtheora )
+	truetype? ( >=media-libs/freetype-2.1.4:2 )
+	xml? ( >=dev-libs/libxml2-2.6.0:2 )
+	xvid? ( >=media-libs/xvid-1.0.1 )
+	sdl? ( media-libs/libsdl )
+	jpeg2k? ( media-libs/openjpeg:0 )
+	ssl? (
+		!libressl? ( dev-libs/openssl:0= )
+		libressl? ( dev-libs/libressl:0= ) )
+	pulseaudio? ( media-sound/pulseaudio )
+	X? (
+		x11-libs/libXt
+		x11-libs/libX11
+		x11-libs/libXv
+		x11-libs/libXext
+	)
+"
+# disabled upstream, see applications/Makefile
+# wxwidgets? ( =x11-libs/wxGTK-2.8* )
+DEPEND="${RDEPEND}
+	virtual/pkgconfig"
+
+# DOCS="AUTHORS BUGS Changelog README.md TODO doc/CODING_STYLE doc/*.doc doc/*.bt doc/SceneGenerators doc/ipmpx_syntax.bt doc/*.txt"
+PATCHES=(
+	"${FILESDIR}/${PN}-0.7.1-configure.patch"
+	"${FILESDIR}/ffmpeg4.patch"
+	"${FILESDIR}/${PN}-freetype.patch"
+	"${FILESDIR}/${P}-openssl-1.1.patch"
+)
+
+DOCS=(
+	doc/CODING_STYLE
+	doc/GPAC\ UPnP.doc
+	doc/ISO\ 639-2\ codes.txt
+	doc/SceneGenerators
+	doc/ipmpx_syntax.bt
+	Changelog
+	AUTHORS
+	BUGS
+	README.md
+	TODO
+)
+HTML_DOCS="doc/*.html"
+
+my_use() {
+	local flag="$1" pflag="${2:-$1}"
+	if use ${flag}; then
+		echo "--use-${pflag}=system"
+	else
+		echo "--use-${pflag}=no"
+	fi
+}
+
+src_prepare() {
+	default
+	sed -i -e "s:\(--disable-.*\)=\*):\1):" configure || die
+}
+
+src_configure() {
+	tc-export CC CXX AR RANLIB
+
+	econf \
+		--enable-svg \
+		--enable-pic \
+		--disable-amr \
+		--use-js=no \
+		--use-ogg=system \
+		$(use_enable alsa) \
+		$(use_enable debug) \
+		$(use_enable ipv6) \
+		$(use_enable jack jack yes) \
+		$(use_enable opengl 3d) \
+		$(use_enable oss oss-audio) \
+		$(use_enable pulseaudio pulseaudio yes) \
+		$(use_enable sdl) \
+		$(use_enable ssl) \
+		$(use_enable static-libs static-lib) \
+		$(use_enable X x11) $(use_enable X x11-shm) $(use_enable X x11-xv) \
+		--disable-wx \
+		$(my_use a52) \
+		$(my_use aac faad) \
+		$(my_use dvb dvbx) \
+		$(my_use ffmpeg) \
+		$(my_use jpeg) \
+		$(my_use jpeg2k openjpeg) \
+		$(my_use mad) \
+		$(my_use png) \
+		$(my_use theora) \
+		$(my_use truetype ft) \
+		$(my_use vorbis) \
+		$(my_use xvid) \
+		--extra-cflags="${CFLAGS}" \
+		--cc="$(tc-getCC)" \
+		--libdir="/$(get_libdir)" \
+		--verbose
+}
+
+src_install() {
+	einstalldocs
+	emake STRIP="true" DESTDIR="${D}" install
+	emake STRIP="true" DESTDIR="${D}" install-lib
+}


             reply	other threads:[~2018-11-29 23:01 UTC|newest]

Thread overview: 67+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-29 23:01 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-23 18:04 [gentoo-commits] repo/gentoo:master commit in: media-video/gpac/ Arthur Zamarin
2025-03-13  4:24 Ionen Wolkens
2025-03-13  4:24 Ionen Wolkens
2025-03-13  4:24 Ionen Wolkens
2024-10-18 12:09 Sam James
2024-10-18 12:09 Sam James
2024-10-18 12:09 Sam James
2023-09-29 10:33 Sam James
2023-06-10 18:15 Andreas Sturmlechner
2023-06-05  8:01 Alexis Ballier
2023-06-01  6:22 Sam James
2023-06-01  5:36 Sam James
2023-05-29 13:11 Andreas Sturmlechner
2022-11-12 17:48 Matt Turner
2022-11-12 17:48 Matt Turner
2022-11-12 17:48 Matt Turner
2022-11-12 17:48 Matt Turner
2022-04-10 17:38 Arthur Zamarin
2022-04-10 17:38 Arthur Zamarin
2022-04-09 19:49 Arthur Zamarin
2022-04-07 20:58 Jakov Smolić
2022-04-07 20:58 Jakov Smolić
2021-05-03  9:26 Mikle Kolyada
2021-01-20  0:39 Sam James
2021-01-19 15:09 Sam James
2021-01-18 16:51 Sam James
2021-01-18 15:02 Sam James
2020-12-29  1:05 Sam James
2020-10-09  8:41 Agostino Sarubbo
2020-10-09  8:31 Agostino Sarubbo
2020-09-12 21:42 Sam James
2020-09-12 21:42 Sam James
2020-09-12 21:42 Sam James
2020-09-08 22:42 Sam James
2020-08-30  4:06 Sam James
2020-08-30  3:57 Sam James
2020-08-25 15:22 Sam James
2020-08-25 12:18 Sam James
2020-08-25 10:15 Sam James
2020-04-26  9:06 Mikle Kolyada
2019-01-30 16:04 Tobias Klausmann
2018-12-15 12:50 Sergei Trofimovich
2018-12-13 15:39 Mikle Kolyada
2018-12-08  9:44 Sergei Trofimovich
2018-12-08  9:36 Sergei Trofimovich
2018-12-07  2:41 Thomas Deutschmann
2018-11-29 23:01 Andreas Sturmlechner
2018-11-29 23:01 Andreas Sturmlechner
2018-11-29 23:01 Andreas Sturmlechner
2018-11-29 23:01 Andreas Sturmlechner
2018-11-29 23:01 Andreas Sturmlechner
2018-10-30 15:13 Andreas Sturmlechner
2018-10-30 15:13 Andreas Sturmlechner
2017-07-29 10:06 Alexis Ballier
2017-02-24  0:13 Michael Weber
2017-02-12 17:01 Agostino Sarubbo
2017-02-04 15:21 Agostino Sarubbo
2017-01-31 18:16 Tobias Klausmann
2016-10-09 16:19 Pacho Ramos
2016-10-09 16:19 Pacho Ramos
2016-10-09 16:19 Pacho Ramos
2016-09-15 16:32 Alexis Ballier
2016-05-26 11:42 Tobias Klausmann
2016-03-16 18:25 Alexis Ballier
2016-03-14 22:12 Agostino Sarubbo
2015-08-22  9:29 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=1543532491.f7cd7ef9a95742dee1a05ea0d4fde02b938df4e6.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