diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-sound/ogmtools |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-sound/ogmtools')
-rw-r--r-- | media-sound/ogmtools/Manifest | 9 | ||||
-rw-r--r-- | media-sound/ogmtools/files/ogmtools-1.5-comments.patch | 21 | ||||
-rw-r--r-- | media-sound/ogmtools/files/ogmtools-1.5-endian-fix.patch | 11 | ||||
-rw-r--r-- | media-sound/ogmtools/files/ogmtools-1.5-summary_length.patch | 12 | ||||
-rw-r--r-- | media-sound/ogmtools/files/ogmtools-1.5-vorbis_verbosity.patch | 12 | ||||
-rw-r--r-- | media-sound/ogmtools/metadata.xml | 8 | ||||
-rw-r--r-- | media-sound/ogmtools/ogmtools-1.5-r2.ebuild | 41 |
7 files changed, 114 insertions, 0 deletions
diff --git a/media-sound/ogmtools/Manifest b/media-sound/ogmtools/Manifest new file mode 100644 index 000000000000..9ba336f0004f --- /dev/null +++ b/media-sound/ogmtools/Manifest @@ -0,0 +1,9 @@ +AUX ogmtools-1.5-comments.patch 1028 SHA256 f6eb56592d5456dcfc60c01115f2fd59b54addfdf48348c1230f6c89ce9880b9 SHA512 65aac830c44f73ce68eccfcd9e1d1616f62e5b340b2335c75b7363a99a94ae62b9b7d23a0e06de103dc7ea054373191e0fbfc6cfe06df3e03961bf7cc91c75d9 WHIRLPOOL 4f8bac27f92d72cd94adee6b9bb5338ddadbdf1901c00c8a3f1309f7a33de5b26cc3a96db7d2b4f2bf1d052c7457ce1671b1227b23f88b6ee0a4d6db9bf172ff +AUX ogmtools-1.5-endian-fix.patch 406 SHA256 a2c7f6d5a8a532e55c8655f3f26dab3f4aab3310fb4a8ed4c6fc2eaa126b0052 SHA512 eeefe3bca9d39486a090a2735badc3996f087488d8b2e4121479efc247b9bfe53148f2ef60d95031fc0e0452e891d9ff6c3715bcf0e833266c946ac22b71d934 WHIRLPOOL 3dde8f44af11bc000d86edc7dbf8b85f01338b6dd57d954cd3d7ec4826d2127329fdf58266bb2bcba098af32832222001eb597da41ba660107f45d84020d65e5 +AUX ogmtools-1.5-summary_length.patch 489 SHA256 33fa479ce314ee61d8c14c86624f2c51f4b2601987814efa22564606a46c007e SHA512 ddbde11040a9426455fa91fa5c92ce4d729da91b661014b7abdb25614d3108c2f32321bf738fb984c6869a6ffcddb651541dbdd53446cb33cb9c5dc902cd6c99 WHIRLPOOL 2c1d67f4f9cafcb85394adb1aaa4c9fa6cd0855b291d6058a41ae4991e85473eac27bc4ec617060f2df86c7cb189859a7746b43a7b1f3fa570d254d561bfd63b +AUX ogmtools-1.5-vorbis_verbosity.patch 524 SHA256 4067a23b45666c2943e2e24c7294590f5e816265d92f7e77b71e448762edaf2d SHA512 5f3b1a76aa6f414ebd29805f1a986e7050879a72610518f35025b783985d3eaa5157be7e1084541cc52dc5ad2f380ef3395d7ebaf33c73098f0844d8e0822146 WHIRLPOOL 558544871e8c4420619beb5b73281dc9c4b6db5b54936d08cd470f5e230aa77bda6ead3cb6ae81d1796e78a1eda51c68909709ef4094a5304f48d70f155d1bbb +DIST ogmtools-1.5.tar.bz2 214934 SHA256 c8d61d1dbceb981dc7399c1a85e43b509fd3d071fb8d3ca89ea9385e6e40fdea SHA512 1ed573531f9783c491a01e419667229b28540ad48c08b46131ae09ce3a4d771e3a54cde5dd09c585c0b85952e82abb3d1353864dc5223736f6eb6480158badee WHIRLPOOL 86e5d76b50fc5515f36161a8b23fa4e27cd7fe4002f2e6b987fe34a9b8cbeab219cf8ab6b59f1d9f3977caff72882a25a973465b2830eed1ba10b0b4e954c3a1 +EBUILD ogmtools-1.5-r2.ebuild 921 SHA256 a442f870b5d72eeb2e7521daa11aaf2b2003d607616e3d07aacf6f6fbe47b2a4 SHA512 9f677033ba90ca407081ea7264754289efb5d2fbd3a3ec65fdac51458a083555ed374fe3b8c1716a0fe41c29b54081788b7336e78dc5c96478d5222dda545339 WHIRLPOOL af763c7ce51a3a329d3f704400565b6dfcee8cb4bdb9cd5bf0f6cab3e0ba4eab6a2d0f134cde5a49e7707e596e19bd8ec0db8b22bd6713ad85616bcd5d3e69d3 +MISC ChangeLog 2601 SHA256 b653cfaedfe38517f18e03c59d8c846f7323e1cdcd9c4adc463e843f482b2486 SHA512 87afa2551b264e1b80497092bafd8acc84215382d6691e4ccaa6cf7674b81e6ec9ef11b5be56e25a7c621496822236da1eaca91ab584e2148ae4cb0c3b91ae25 WHIRLPOOL 2271e435dd26846f2652fb8d27ac3deaa6a0615d2bb64e7b16c6cb63c9794e5a2b590b16c9d96ae300a5400aab6466b7bfdde0d01abf14186887dd10b879abf1 +MISC ChangeLog-2015 4651 SHA256 c1fa3f6bfd56fdfae35c3b5ab82bf970ddab82a4822607bd5b4bfe4c2a718ff9 SHA512 6e0ebbe184a50040a687cab3def2b1a048086caea33999d9edeac16a58722dfca00438d569513b279d5d19314bf633da807bad059b5d870991aeae6681867923 WHIRLPOOL c332f760585d9093eb6280521214e1de901eeb271b570a168b1a00b40894f3aa64295e49b3082c116c60c9db125b79a3dcce36e084acb07f43c88b6fc54cf0f4 +MISC metadata.xml 253 SHA256 6b992cbf9f9d479cdf83d3f9a1ec920aa0be988f39ee4f1f41fd12b917f1b36b SHA512 78b724be3e1dbd6fc3c2e92cdbacc15ea4b0e8ee6fa22f76ebdd882b3a7bbedeaf8f80a29e36ec67e0432d2dfad3f57de4bc46480f92c8e544322755292df894 WHIRLPOOL 73df5c8f06d7079d8407b50207f0c217cf57ae161fbaf3c39e168b6f11b2bfac4f61b6191a5b9beecc981c003191844660c330dc8679580e1d2d336ff4e38e00 diff --git a/media-sound/ogmtools/files/ogmtools-1.5-comments.patch b/media-sound/ogmtools/files/ogmtools-1.5-comments.patch new file mode 100644 index 000000000000..0440a8040b8c --- /dev/null +++ b/media-sound/ogmtools/files/ogmtools-1.5-comments.patch @@ -0,0 +1,21 @@ +--- vorbis_header_utils.c.orig Fri Aug 31 14:47:55 2007 ++++ vorbis_header_utils.c Fri Aug 31 14:51:23 2007 +@@ -153,15 +153,15 @@ + die("malloc"); + + memcpy(new_vc, vc, sizeof(vorbis_comment)); +- new_vc->user_comments = (char **)malloc((vc->comments + 1) * sizeof(char *)); +- new_vc->comment_lengths = (int *)malloc((vc->comments + 1) * sizeof(int)); ++ new_vc->user_comments = (char **)malloc((vc->comments + 1) * sizeof(*new_vc->user_comments)); ++ new_vc->comment_lengths = (int *)malloc((vc->comments + 1) * sizeof(*new_vc->comment_lengths)); + if ((new_vc->user_comments == NULL) || (new_vc->comment_lengths == NULL)) + die("malloc"); + for (i = 0; i < vc->comments; i++) + new_vc->user_comments[i] = strdup(vc->user_comments[i]); + new_vc->user_comments[vc->comments] = 0; + memcpy(new_vc->comment_lengths, vc->comment_lengths, +- (vc->comments + 1) * sizeof(char *)); ++ (vc->comments + 1) * sizeof(*new_vc->comment_lengths)); + new_vc->vendor = strdup(vc->vendor); + + return new_vc; diff --git a/media-sound/ogmtools/files/ogmtools-1.5-endian-fix.patch b/media-sound/ogmtools/files/ogmtools-1.5-endian-fix.patch new file mode 100644 index 000000000000..8945ca47c082 --- /dev/null +++ b/media-sound/ogmtools/files/ogmtools-1.5-endian-fix.patch @@ -0,0 +1,11 @@ +--- avilib/avidump.c.orig 2004-11-02 15:30:16.000000000 +0000 ++++ avilib/avidump.c 2004-11-17 19:12:02.730255128 +0000 +@@ -54,7 +54,7 @@ + ((x<<8) & 0x00ff0000) |\ + ((x<<24) & 0xff000000)) + # define SWAP8(x) (((SWAP4(x)<<32) & 0xffffffff00000000ULL) |\ +- (SWAP4(x))) ++ SWAP4(x)) + #else + # define SWAP2(a) (a) + # define SWAP4(a) (a) diff --git a/media-sound/ogmtools/files/ogmtools-1.5-summary_length.patch b/media-sound/ogmtools/files/ogmtools-1.5-summary_length.patch new file mode 100644 index 000000000000..8457918beb8f --- /dev/null +++ b/media-sound/ogmtools/files/ogmtools-1.5-summary_length.patch @@ -0,0 +1,12 @@ +diff -ur ogmtools-1.5.orig/ogminfo.c ogmtools-1.5/ogminfo.c +--- ogmtools-1.5.orig/ogminfo.c 2003-11-21 00:21:36.000000000 +0200 ++++ ogmtools-1.5/ogminfo.c 2009-05-12 12:41:58.000000000 +0300 +@@ -513,7 +513,7 @@ + stream->serial, stream->size, + (stream->size * 8.0 / 1000.0) / now, + (stream->size / 1024.0) / now, +- stream->num_packets, now * 1000.0); ++ stream->num_packets, now); + stream = stream->next; + } + } diff --git a/media-sound/ogmtools/files/ogmtools-1.5-vorbis_verbosity.patch b/media-sound/ogmtools/files/ogmtools-1.5-vorbis_verbosity.patch new file mode 100644 index 000000000000..085cc5d978d3 --- /dev/null +++ b/media-sound/ogmtools/files/ogmtools-1.5-vorbis_verbosity.patch @@ -0,0 +1,12 @@ +diff -ur ogmtools-1.5.orig/ogminfo.c ogmtools-1.5/ogminfo.c +--- ogmtools-1.5.orig/ogminfo.c 2003-11-21 00:21:36.000000000 +0200 ++++ ogmtools-1.5/ogminfo.c 2009-05-12 12:42:56.000000000 +0300 +@@ -188,7 +188,7 @@ + } + vorbis_comment_clear(&vc); + } else if ((stream->stype == 'a') && stream->vorbis) { +- if (verbose < 1) ++ if (verbose < 2) + return; + fprintf(stdout, "(%s) a%d: % 7ld bytes granulepos: % 10lld pno: % 10lld ", + __FILE__, stream->sno, pack->bytes, ogg_page_granulepos(page), diff --git a/media-sound/ogmtools/metadata.xml b/media-sound/ogmtools/metadata.xml new file mode 100644 index 000000000000..ee7258ac28eb --- /dev/null +++ b/media-sound/ogmtools/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sound@gentoo.org</email> + <name>Gentoo Sound project</name> + </maintainer> +</pkgmetadata> diff --git a/media-sound/ogmtools/ogmtools-1.5-r2.ebuild b/media-sound/ogmtools/ogmtools-1.5-r2.ebuild new file mode 100644 index 000000000000..8e6971a61fc0 --- /dev/null +++ b/media-sound/ogmtools/ogmtools-1.5-r2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=2 +inherit eutils + +DESCRIPTION="Information, extraction or creation for OGG media streams" +HOMEPAGE="http://www.bunkus.org/videotools/ogmtools/" +SRC_URI="http://www.bunkus.org/videotools/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 sparc x86" +IUSE="dvd" + +RDEPEND="dvd? ( media-libs/libdvdread ) + media-sound/vorbis-tools" +DEPEND="${RDEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${P}-comments.patch \ + "${FILESDIR}"/${P}-endian-fix.patch \ + "${FILESDIR}"/${P}-vorbis_verbosity.patch \ + "${FILESDIR}"/${P}-summary_length.patch +} + +src_configure() { + econf \ + $(use_with dvd dvdread) +} + +src_install() { + dobin ogmmerge ogmdemux ogminfo ogmsplit ogmcat || die "dobin failed" + + if use dvd; then + dobin dvdxchap || die "dobin failed" + fi + + dodoc ChangeLog README TODO + doman *.1 +} |