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 A8A2E138331 for ; Sat, 24 Mar 2018 01:53:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9BE27E0878; Sat, 24 Mar 2018 01:53:42 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 5A751E0878 for ; Sat, 24 Mar 2018 01:53:42 +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 03C46335C2E for ; Sat, 24 Mar 2018 01:53:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5FBB6260 for ; Sat, 24 Mar 2018 01:53:39 +0000 (UTC) From: "Tim Harder" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Tim Harder" Message-ID: <1521856407.48be0e5ccf9de8b0691d9199b6ba06d850b9e4cf.radhermit@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libmediainfo/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/libmediainfo/Manifest media-libs/libmediainfo/libmediainfo-18.03.ebuild X-VCS-Directories: media-libs/libmediainfo/ X-VCS-Committer: radhermit X-VCS-Committer-Name: Tim Harder X-VCS-Revision: 48be0e5ccf9de8b0691d9199b6ba06d850b9e4cf X-VCS-Branch: master Date: Sat, 24 Mar 2018 01:53:39 +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: ee773dde-4437-4f79-aa41-23111347af31 X-Archives-Hash: 22051df0312f8c7dcf18cf2eb711e78f commit: 48be0e5ccf9de8b0691d9199b6ba06d850b9e4cf Author: Tim Harder gentoo org> AuthorDate: Sat Mar 24 01:52:10 2018 +0000 Commit: Tim Harder gentoo org> CommitDate: Sat Mar 24 01:53:27 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48be0e5c media-libs/libmediainfo: version bump to 18.03 media-libs/libmediainfo/Manifest | 1 + media-libs/libmediainfo/libmediainfo-18.03.ebuild | 83 +++++++++++++++++++++++ 2 files changed, 84 insertions(+) diff --git a/media-libs/libmediainfo/Manifest b/media-libs/libmediainfo/Manifest index 4a5869c2bed..45fe4486f55 100644 --- a/media-libs/libmediainfo/Manifest +++ b/media-libs/libmediainfo/Manifest @@ -1 +1,2 @@ DIST libmediainfo_17.12.tar.xz 1612420 BLAKE2B 1e1bd62efe45783d4973bbe0ff264db1ed20b064dc18fe3ab4fa3614c1b41663fe6727e469ef1769b4736827f89940edd959b270ec1c673a190c9078a81f3955 SHA512 c425612ca84f4655c851332a4c13bdd75df094fa5468b2d61db512ff8431b41e94068d2f645b669dbee286ccae3979a38a5f4ebbb5cda8abdbadf0313df5680d +DIST libmediainfo_18.03.tar.xz 1627584 BLAKE2B 02ee429fe22af753e8a62a621999b949541e2db4f83705eaf1ce90bda29062fffa76cb1e85e860c7b02d5892044fed5954635b0680965949864cb220868133aa SHA512 d903309fbf9ee78633e833372b13b9676dae2d3d0aa19e584d4972ca2c76cff5524a08201e73b2a6d97a84a0fd469c5bc136d09a27ce0363a7e743e889719c6d diff --git a/media-libs/libmediainfo/libmediainfo-18.03.ebuild b/media-libs/libmediainfo/libmediainfo-18.03.ebuild new file mode 100644 index 00000000000..7be3ed1e791 --- /dev/null +++ b/media-libs/libmediainfo/libmediainfo-18.03.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools ltprune flag-o-matic + +MY_PN="MediaInfo" +DESCRIPTION="MediaInfo libraries" +HOMEPAGE="https://mediaarea.net/mediainfo/ https://github.com/MediaArea/MediaInfoLib" +SRC_URI="https://mediaarea.net/download/source/${PN}/${PV}/${P/-/_}.tar.xz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="curl doc mms static-libs" + +RDEPEND="sys-libs/zlib + dev-libs/tinyxml2:= + >=media-libs/libzen-0.4.37[static-libs=] + curl? ( net-misc/curl ) + mms? ( >=media-libs/libmms-0.6.1[static-libs=] )" +DEPEND="${RDEPEND} + virtual/pkgconfig + doc? ( app-doc/doxygen )" + +# tests try to fetch data from online sources +RESTRICT="test" + +S=${WORKDIR}/${MY_PN}Lib/Project/GNU/Library + +src_prepare() { + eapply -p4 "${FILESDIR}"/${PN}-0.7.63-pkgconfig.patch + eapply_user + + sed -i 's:-O2::' configure.ac || die + append-cppflags -DMEDIAINFO_LIBMMS_DESCRIBE_SUPPORT=0 + + eautoreconf +} + +src_configure() { + econf \ + --enable-shared \ + --with-libtinyxml2 \ + $(use_with curl libcurl) \ + $(use_with mms libmms) \ + $(use_enable static-libs static) \ + $(use_enable static-libs staticlibs) +} + +src_compile() { + default + + if use doc; then + cd "${WORKDIR}"/${MY_PN}Lib/Source/Doc + doxygen Doxyfile || die + fi +} + +src_install() { + if use doc; then + local HTML_DOCS=( "${WORKDIR}"/${MY_PN}Lib/Doc/*.html ) + fi + + default + + edos2unix ${PN}.pc #414545 + insinto /usr/$(get_libdir)/pkgconfig + doins ${PN}.pc + + for x in ./ Archive Audio Duplicate Export Image Multiple Reader Tag Text Video; do + insinto /usr/include/${MY_PN}/${x} + doins "${WORKDIR}"/${MY_PN}Lib/Source/${MY_PN}/${x}/*.h + done + + insinto /usr/include/${MY_PN}DLL + doins "${WORKDIR}"/${MY_PN}Lib/Source/${MY_PN}DLL/*.h + + dodoc "${WORKDIR}"/${MY_PN}Lib/*.txt + + prune_libtool_files +}