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-video/mpgtx |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-video/mpgtx')
-rw-r--r-- | media-video/mpgtx/Manifest | 7 | ||||
-rw-r--r-- | media-video/mpgtx/files/mpgtx-1.3.1-configure.patch | 69 | ||||
-rw-r--r-- | media-video/mpgtx/files/mpgtx-1.3.1-dont-ignore-cxx-flags.patch | 11 | ||||
-rw-r--r-- | media-video/mpgtx/metadata.xml | 10 | ||||
-rw-r--r-- | media-video/mpgtx/mpgtx-1.3.1-r2.ebuild | 47 |
5 files changed, 144 insertions, 0 deletions
diff --git a/media-video/mpgtx/Manifest b/media-video/mpgtx/Manifest new file mode 100644 index 000000000000..10b13aa6b0e5 --- /dev/null +++ b/media-video/mpgtx/Manifest @@ -0,0 +1,7 @@ +AUX mpgtx-1.3.1-configure.patch 2414 SHA256 8825f978fdbf67af78722667b6971636da5f6dd1448eadc35b84cdd0c8ee23d3 SHA512 038ae7bb3ff09f65b01ebfe1d60c44d21f1c7347710191be86e65286de83b84ffe35c7f2a97795b4a6ac9eb50189e5a2b50bf452bb49cffa615c2bbc7ebfcad3 WHIRLPOOL ed755f6d3ac9c03c3407ef42e38a7055c1e27e55138eda7a7befd5b7a99aac0336ca31254cd7125c5331ad39a6d7b9d4939a144a299ba1f183999666a3f9f3b8 +AUX mpgtx-1.3.1-dont-ignore-cxx-flags.patch 364 SHA256 71352548c6b2e6cddb23811035e8238d4c2dd365b04f7882c2805d69c78bd46a SHA512 5845b7ad6d9ca7200074d8c90588b97cb623e08c2946c2902bca49e7861273468471db0b74d268d4ec458920f0c2c698208d768c6afd179c2ed9abd199e636aa WHIRLPOOL 589d95b3cdaa8468d76dfe09276fb0e299810d90809768d724c7045687bc8dfb44ec5d15f9bd8dea747e4b88518300c38a181a4193b022ed8fce2650d4c90e61 +DIST mpgtx-1.3.1.tar.gz 89170 SHA256 8815e73e98b862f12ba1ef5eaaf49407cf211c1f668c5ee325bf04af27f8e377 SHA512 0f568673811f709383b3f262b19d3ec69de6807671c05a98266b21f2bfa6a8b85d2a8b95c3cec38bb012afb9d8add19a3f38b74b3e90f66cf233a1d26aaca805 WHIRLPOOL 7e52a0f74609837c07d2b0792f862e05a37598c037c2828b1521220527fc08922250cd6974e932877f726cfc699fc884f615d0ad307db6aaa45e44a35d7e0d53 +EBUILD mpgtx-1.3.1-r2.ebuild 1216 SHA256 c5850ea2fd3a2f5b64393f032de33964b5d17f4f6fd3d44690d9e3cd25aa2fc8 SHA512 02e6b6af040c77e69ade0cc3d04e58f5c86a0a542839f7550adbbc2976796258bc08b06d0f6a693d2b1250fc3133bc11667d254299e42e9489bc4974848715c4 WHIRLPOOL ec23d954c0da1eea8b701b05698a6b93063358a030752fead545dedcdaa8ef0b927bdeb10b9866e13265f0635d66ce0fbe977ade03e69055791e76413c8d4ec4 +MISC ChangeLog 2518 SHA256 219a2579f96b46fd90f4ba7f4764bc55ed3c37c0ae328bf8929da5873e75dbba SHA512 952ca5642889d28bbc7a8db968d5f2bffc9dc7b61e80df5c8bc279c73365ae59e2581c74ad13a6186cace09d717bab1027c169d74822ce572d4873f5b0fbc888 WHIRLPOOL c5bee2ac88ed60381df2e65669fdaf608b44deb0aa3c1117d0d3cfb9c82b359b94196a30680225f4bd2bb2402c8b0a1102899c791f93189e033e293cb04fad56 +MISC ChangeLog-2015 3173 SHA256 37459d3d93b2785005c994225f17fe410cc75f81ffae53fbb887699fdd5ba280 SHA512 2f61f133cfdee7a15fba1c76484f3b3678f2a3c2ec77b7098aef3179091fb7f939c47d283220c094c703ca654b12e6f930d1497f918b44d887b8c7fb133ac0d1 WHIRLPOOL f361ea25b7d5c1de6f73d6973202dd2c8b50c199ef436148de7fd1fa3ec8b04505ac407e45f7c183b67800075b1b114b84d11e9c1fe6e45736aa9060a718f2b2 +MISC metadata.xml 306 SHA256 5cbd74f613b53c3c697b58c39cae3983d75d7be557b604de6665b973b2bd5272 SHA512 4ee62efce019bd77b49de68810efadafdd36db330b147d8bd24a4af29ba6a4e69a3ccb66545a4c42261ade86b3094b2e15d838ac8af7d06be1713b3b07193144 WHIRLPOOL 1a0a7b878bf6cb32eaabffc60023653014dfd0ca56631189a2bf6d127f6fb005b65d9ee979282963372378171fa00d47145bbc3dbfc63ce25461d177f9879fb9 diff --git a/media-video/mpgtx/files/mpgtx-1.3.1-configure.patch b/media-video/mpgtx/files/mpgtx-1.3.1-configure.patch new file mode 100644 index 000000000000..ec36e76ba641 --- /dev/null +++ b/media-video/mpgtx/files/mpgtx-1.3.1-configure.patch @@ -0,0 +1,69 @@ +--- configure.old 2006-12-07 19:51:08.000000000 +0100 ++++ configure 2006-12-07 19:51:02.000000000 +0100 +@@ -9,7 +9,6 @@ + prefix="/usr/local" + manprefix='$(PREFIX)' + #compiler flags +-CC="g++" + common_cflags="-Wall" + devel_cflags="-g -Werror -fno-builtin" + optimization_cflags="-O3" +@@ -36,7 +35,6 @@ + + if [ "${HOSTNAME}" = "powerpc-apple-darwin6.0" ]; then + #compiler flags +-CC="c++" + common_cflags="-pedantic -Wall" + #devel_cflags="-g -Werror -fno-builtin" + devel_cflags="-g -fno-builtin" +@@ -153,8 +151,15 @@ + if test "$gcc_minor" = "0" -o "$gcc_minor" = "1"; then + optimization_cflags="-O2"; + fi ++ if test "$gcc_minor" -ge 4; then ++ optimization_cflags="$optimization_cflags -fno-unit-at-a-time" ++ fi ++elif test "$gcc_major" -ge "4"; then ++ optimization_cflags="$optimization_cflags -fno-unit-at-a-time" + fi + ++ ++ + # Now check if the system handles large file support + # unless user has specified not to do so + if test $LFS = "yes"; then +@@ -165,7 +170,7 @@ + return (int)(fseeko(stdin,0,SEEK_SET)); + } + EOF +- $CC __LFStest.cpp -o __LFStestPASSED -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 1>__LFSout 2>__LFSerror ++ ${CXX:-c++} __LFStest.cpp -o __LFStestPASSED -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 1>__LFSout 2>__LFSerror + if test -f __LFStestPASSED; then + echo "PASSED"; + cflags="$cflags -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE"; +@@ -211,7 +211,6 @@ + fi + + if test $devel = "no" -a $debug = "no"; then +-lflags="$lflags -s"; + cflags="$cflags $optimization_cflags"; + fi + +@@ -293,15 +298,15 @@ + @echo "" + + mpgtx : commandline.cxx mpegOut.o mpeg.o chunkTab.o id3command.o common.hh +- $CC \$(CFLAGS) \$(OFLAGS) -o mpgtx commandline.cxx mpegOut.o mpeg.o chunkTab.o id3command.o \$(LFLAGS) ++ \$(CXX) \$(CFLAGS) \$(OFLAGS) \$(LDFLAGS) -o mpgtx commandline.cxx mpegOut.o mpeg.o chunkTab.o id3command.o \$(LFLAGS) + mpegOut.o : mpegOut.cxx mpegOut.hh mpeg.hh common.hh +- $CC \$(CFLAGS) \$(OFLAGS) -c mpegOut.cxx ++ \$(CXX) \$(CFLAGS) \$(OFLAGS) -c mpegOut.cxx + mpeg.o : mpeg.cxx mpeg.hh mpegOut.hh common.hh +- $CC \$(CFLAGS) \$(OFLAGS) -c mpeg.cxx ++ \$(CXX) \$(CFLAGS) \$(OFLAGS) -c mpeg.cxx + chunkTab.o : chunkTab.cxx chunkTab.hh common.hh +- $CC \$(CFLAGS) \$(OFLAGS) -c chunkTab.cxx ++ \$(CXX) \$(CFLAGS) \$(OFLAGS) -c chunkTab.cxx + id3command.o : id3command.cxx id3command.hh common.hh +- $CC \$(CFLAGS) \$(OFLAGS) -c id3command.cxx ++ \$(CXX) \$(CFLAGS) \$(OFLAGS) -c id3command.cxx diff --git a/media-video/mpgtx/files/mpgtx-1.3.1-dont-ignore-cxx-flags.patch b/media-video/mpgtx/files/mpgtx-1.3.1-dont-ignore-cxx-flags.patch new file mode 100644 index 000000000000..3a7f5da67458 --- /dev/null +++ b/media-video/mpgtx/files/mpgtx-1.3.1-dont-ignore-cxx-flags.patch @@ -0,0 +1,11 @@ +--- mpgtx-1.3.1/configure.old 2006-12-09 00:26:18.000000000 +0100 ++++ mpgtx-1.3.1/configure 2006-12-09 00:28:52.000000000 +0100 +@@ -11,7 +11,7 @@ + #compiler flags + common_cflags="-Wall" + devel_cflags="-g -Werror -fno-builtin" +-optimization_cflags="-O3" ++optimization_cflags="${CXXFLAGS}" + release_cflags=$optimization_cflags + OFLAGS="-ansi" + cflags=$common_cflags diff --git a/media-video/mpgtx/metadata.xml b/media-video/mpgtx/metadata.xml new file mode 100644 index 000000000000..b39193a1cd78 --- /dev/null +++ b/media-video/mpgtx/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>media-video@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="sourceforge">mpgtx</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-video/mpgtx/mpgtx-1.3.1-r2.ebuild b/media-video/mpgtx/mpgtx-1.3.1-r2.ebuild new file mode 100644 index 000000000000..91b95dde1ed1 --- /dev/null +++ b/media-video/mpgtx/mpgtx-1.3.1-r2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils toolchain-funcs + +DESCRIPTION="Command line MPEG audio/video/system file toolbox" +SRC_URI="mirror://sourceforge/mpgtx/${P}.tar.gz" +HOMEPAGE="http://mpgtx.sourceforge.net/" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +IUSE="" + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-configure.patch \ + "${FILESDIR}"/${P}-dont-ignore-cxx-flags.patch + tc-export CXX +} + +src_configure() { + ./configure --parachute || die +} + +src_install() { + dobin mpgtx + + dosym mpgtx /usr/bin/mpgjoin + dosym mpgtx /usr/bin/mpgsplit + dosym mpgtx /usr/bin/mpgcat + dosym mpgtx /usr/bin/mpginfo + dosym mpgtx /usr/bin/mpgdemux + dosym mpgtx /usr/bin/tagmp3 + + doman man/mpgtx.1 man/tagmp3.1 + + dosym /usr/share/man/man1/mpgtx.1 /usr/share/man/man1/mpgcat.1 + dosym /usr/share/man/man1/mpgtx.1 /usr/share/man/man1/mpgjoin.1 + dosym /usr/share/man/man1/mpgtx.1 /usr/share/man/man1/mpginfo.1 + dosym /usr/share/man/man1/mpgtx.1 /usr/share/man/man1/mpgsplit.1 + dosym /usr/share/man/man1/mpgtx.1 /usr/share/man/man1/mpgdemux.1 + + dodoc AUTHORS ChangeLog README TODO +} |