diff options
author | Azamat H. Hackimov <azamat.hackimov@gmail.com> | 2023-04-14 15:59:34 +0300 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2023-04-15 10:09:05 +0200 |
commit | c4f301107b1b81ebeae8e1399bc725927c833bd5 (patch) | |
tree | abbece0003f246542a5ec4c1224bd0460da0c220 /media-libs/libmp4v2 | |
parent | media-gfx/imagemagick: add 6.9.12.84 (diff) | |
download | gentoo-c4f301107b1b81ebeae8e1399bc725927c833bd5.tar.gz gentoo-c4f301107b1b81ebeae8e1399bc725927c833bd5.tar.bz2 gentoo-c4f301107b1b81ebeae8e1399bc725927c833bd5.zip |
media-libs/libmp4v2: add 2.1.2
New upstream, package migrated to cmake.eclass and EAPI=8.
Closes: https://bugs.gentoo.org/686174
Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/30592
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-libs/libmp4v2')
-rw-r--r-- | media-libs/libmp4v2/Manifest | 1 | ||||
-rw-r--r-- | media-libs/libmp4v2/libmp4v2-2.1.2.ebuild | 32 | ||||
-rw-r--r-- | media-libs/libmp4v2/metadata.xml | 2 |
3 files changed, 34 insertions, 1 deletions
diff --git a/media-libs/libmp4v2/Manifest b/media-libs/libmp4v2/Manifest index 1d76d432b5a9..4883c5ffed9c 100644 --- a/media-libs/libmp4v2/Manifest +++ b/media-libs/libmp4v2/Manifest @@ -1 +1,2 @@ DIST mp4v2-2.0.0.tar.bz2 495672 BLAKE2B 966c90b443bd6f7a81c96fd12f95b00c3ec89cd476aa0fff3e0450b315d54543578ef953c5e3f28d52ca800a0768c601dddc8e99a32ff512767cd65c12832bd5 SHA512 15eb882f33d72d4209053b54c883b67715f539c33096705a0e7bc79015b93f6f3ac80ae29c65a0ffe9eab1bf0dedf07198bdee23fa6eafcd6ccb34f984484be0 +DIST mp4v2-2.1.2.tar.bz2 594365 BLAKE2B ca7438ab34d826926bb39a9f1c09f24a65c2ea7aae45cb736ec4b285ef975f575c1c28ee88d47e623c8085e2800a52ac89d18bd7c42232c72d7d6ae89d78c850 SHA512 7996edbbaf4125cb406ea5dad82dd04e50bc04d6d3f7c32ba5f3be35872b5dc7048038a6e59c668578e8ee1898d56a3c77bcafc5cd42cff9cb6232ee20cdb406 diff --git a/media-libs/libmp4v2/libmp4v2-2.1.2.ebuild b/media-libs/libmp4v2/libmp4v2-2.1.2.ebuild new file mode 100644 index 000000000000..2b7c38415a27 --- /dev/null +++ b/media-libs/libmp4v2/libmp4v2-2.1.2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_P=${P/lib} + +inherit cmake + +DESCRIPTION="Functions for accessing ISO-IEC:14496-1:2001 MPEG-4 standard" +HOMEPAGE="https://mp4v2.org/" +SRC_URI="https://github.com/enzo1982/mp4v2/releases/download/v${PV}/${MY_P}.tar.bz2" + +LICENSE="MPL-1.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris" +IUSE="utils" +# Tests need DejaGnu but are non-existent (just an empty framework) +RESTRICT="test" + +S="${WORKDIR}/${MY_P}" + +PATCHES=( + "${FILESDIR}/${PN}-2.0.0-unsigned-int-cast.patch" +) + +src_configure() { + local mycmakeargs=( + -DBUILD_UTILS=$(usex utils) + ) + cmake_src_configure +} diff --git a/media-libs/libmp4v2/metadata.xml b/media-libs/libmp4v2/metadata.xml index 2a7b78b4b273..64bc58b332fa 100644 --- a/media-libs/libmp4v2/metadata.xml +++ b/media-libs/libmp4v2/metadata.xml @@ -9,6 +9,6 @@ <flag name="utils">Install command-line utilities</flag> </use> <upstream> - <remote-id type="google-code">mp4v2</remote-id> + <remote-id type="github">enzo1982/mp4v2</remote-id> </upstream> </pkgmetadata> |