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 /app-mobilephone/vmoconv |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-mobilephone/vmoconv')
-rw-r--r-- | app-mobilephone/vmoconv/Manifest | 8 | ||||
-rw-r--r-- | app-mobilephone/vmoconv/files/vmoconv-1.0-external-libgsm.patch | 36 | ||||
-rw-r--r-- | app-mobilephone/vmoconv/files/vmoconv-1.0-flags.patch | 17 | ||||
-rw-r--r-- | app-mobilephone/vmoconv/files/vmoconv-1.0-glibc28.patch | 24 | ||||
-rw-r--r-- | app-mobilephone/vmoconv/metadata.xml | 9 | ||||
-rw-r--r-- | app-mobilephone/vmoconv/vmoconv-1.0-r1.ebuild | 30 |
6 files changed, 124 insertions, 0 deletions
diff --git a/app-mobilephone/vmoconv/Manifest b/app-mobilephone/vmoconv/Manifest new file mode 100644 index 000000000000..03570cec863c --- /dev/null +++ b/app-mobilephone/vmoconv/Manifest @@ -0,0 +1,8 @@ +AUX vmoconv-1.0-external-libgsm.patch 863 SHA256 9e815f6b1da3956ba9e42c13d8336dbb827c50eb8cdcac731ea74cc0b447c210 SHA512 d02dc343c59ef15d21b08478d3e9f6393f95c59ecf340afb09945d4897481e9c859f83752b6d79e1ae03563b9d9deb129a0a1db5e0acd69ed1a815b5be408058 WHIRLPOOL 0aab2340b189d22651bd1c515900ee1ae88421fa17108bd638f69fdea38a73b65d4b978b0b0500f47ddc0eba52c54f5caf2ceba906bcc4862e9cd4db10420948 +AUX vmoconv-1.0-flags.patch 683 SHA256 7e9cc3832f4d81c2f55cd1faf69670c000d25caa37a572cc06ff8ace06011fe5 SHA512 431e10787bed24cc775a43f44c60a64610f03c25956efb8892d7117476e01261ae06c644a1ac9ada6f9dc94ad5a38745beb8fb2dbe3dfe8546ecfa51902f0770 WHIRLPOOL e0cd70c4558f2b4016b3355b2aa63296375135269c80cf295ab82ec0c8a4f1660c151864f380f6e566fb3bd66ad9c57bbbb80776fbe434fc11690bab44741411 +AUX vmoconv-1.0-glibc28.patch 876 SHA256 432bd2b4796d12c9a100029a70729e7b4c3defe7d2d69a7c0072ba3c1ce95e8e SHA512 14477a9c13fabae162dfe8fc4b701019fb52e387198c70542275b1e9562a683532f8b88a96a9b8c7d9aea8e5f27224baa27046a04ce164adcd2d260f0a22e011 WHIRLPOOL df0fe2c8dfa385eb56600055f1459506f0642144cf0039552de7f81a7c974ff50fdb0a4b9513536116ee9f718ef5ef18bcebcaca2b3d09bcac5ba4b50c8872d1 +DIST vmoconv-1.0.tar.gz 315028 SHA256 1a20cab89f4f7f30bf5d14243b944921420b482e1f7c0d5dd1c4ad9df9e37528 SHA512 c4bd65f2c034317e43736198eaea6a3cfbbc6be015dc1ac5efa51633c2779bf5af87ea037084173b377a7521538e4a235f264b5f09fedcdaf7f4a815289a7ec2 WHIRLPOOL 1afe830d72e150741e5a9cce954a0618a86a192329bf6ead5eae44579397e48caea9542239ca874c27c7d022f6b99385e5e3ea0a88d8b7f14945d0f405beaff2 +EBUILD vmoconv-1.0-r1.ebuild 751 SHA256 8263e72960039eda77ed0e9042341a69e2cafa959ac85f35a3ae49113a44c5a6 SHA512 ed7b048011083c1e0869993a269c7b60644aea0fb046bf5cf15bd959c8c2e641d1a5e7b2933d4afc1b621a0644a21064ba1c078750ad4587b854560797f0e90f WHIRLPOOL 6658b2149b798df8c8737b3fba22d38be62746ad5493801505df336ebdf5e1b7b0a51c3a93b7560eaf01bf3edaf405f0fbde5cbe9e3bfa3e2575103de85a6788 +MISC ChangeLog 2641 SHA256 c600bc6f280c7683845edf72e80d4049b72d93b09155528a407b92942bccf799 SHA512 3379c67753c4609bcd88433a9c33f6419123759180596eff74c7f3a2c2bb8f8081322f76c5d82e1bc2ba43db6b25121a24bee0dc9640a4156e2a3eaf43135e6a WHIRLPOOL beea145dd315c2a15856db31c0ebc7ab20f5facf96524d5e43a0e20731d4e15b9d5b3162d3ff7502c983ae5cdcb057c71ee47f58e647aa85afe5fcd8752ec142 +MISC ChangeLog-2015 2270 SHA256 111d76de9cd5e36b7e5177fab8f22624cfac1b8421cf99911c88644f7fa730da SHA512 d3d1a6a08a54e3c97cc9f1b3bc5065df5b36f21aa03adcf5959e439a7ccecd480093a8973a9ce7c7d70b4705e8c69ea768ca0d33cc90e65b221ed0361b2c99f7 WHIRLPOOL 98f6033b12a772f36f67e1eae73c9ca03b55638cadcec6b4cd5f344076ab8e365f861166feda21bb582efb445d32a16d27670ab52f79e923264fcb974bd5034e +MISC metadata.xml 296 SHA256 4f48a1812b99742f2e9961665627087d044b6eb743cb8a8a9702b8e5162a2818 SHA512 725dd98a8cdf1814e9a91472eb7f51131193c3825fdce5507a397b1a833040de9fb067b9fc8b3fac3459b3e14f61257032164ed63c1fadaaa5107a508f5a069e WHIRLPOOL 80956d3af5c40b34c784b4b6889c5aa69bf7237d530e32f7934365b09243eca90fe33f4d1761bf4fbf7df2321096c1e9452df436630c5a910b59c900dcf0a4cb diff --git a/app-mobilephone/vmoconv/files/vmoconv-1.0-external-libgsm.patch b/app-mobilephone/vmoconv/files/vmoconv-1.0-external-libgsm.patch new file mode 100644 index 000000000000..8ab3670aa098 --- /dev/null +++ b/app-mobilephone/vmoconv/files/vmoconv-1.0-external-libgsm.patch @@ -0,0 +1,36 @@ +diff -Nru vmoconv-1.0.orig/src/Makefile.am vmoconv-1.0/src/Makefile.am +--- vmoconv-1.0.orig/src/Makefile.am 2003-02-17 21:39:18.000000000 +0000 ++++ vmoconv-1.0/src/Makefile.am 2009-03-03 21:24:12.000000000 +0000 +@@ -1,32 +1,6 @@ + +-noinst_LTLIBRARIES = libgsm.la +- + INCLUDES = -I. + +-libgsm_la_SOURCES = add.c \ +- code.c \ +- debug.c \ +- decode.c \ +- long_term.c \ +- lpc.c \ +- preprocess.c \ +- rpe.c \ +- gsm_destroy.c \ +- gsm_decode.c \ +- gsm_encode.c \ +- gsm_explode.c \ +- gsm_implode.c \ +- gsm_create.c \ +- gsm_print.c \ +- gsm_option.c \ +- short_term.c \ +- table.c \ +- proto.h \ +- unproto.h \ +- config.h \ +- private.h \ +- gsm.h +- + vmo2wav_LDADD = -lgsm + + vmo2wav_SOURCES = vmo2wav.c diff --git a/app-mobilephone/vmoconv/files/vmoconv-1.0-flags.patch b/app-mobilephone/vmoconv/files/vmoconv-1.0-flags.patch new file mode 100644 index 000000000000..031b6eefaaca --- /dev/null +++ b/app-mobilephone/vmoconv/files/vmoconv-1.0-flags.patch @@ -0,0 +1,17 @@ +diff -Nru vmoconv-1.0.orig/configure.in vmoconv-1.0/configure.in +--- vmoconv-1.0.orig/configure.in 2004-09-26 15:17:48.000000000 +0000 ++++ vmoconv-1.0/configure.in 2009-03-03 21:32:40.000000000 +0000 +@@ -26,10 +26,10 @@ + [printf(__func__)],, + [AC_DEFINE(__func__, "", [non-C99 fake support for __func__])]) + +-dnl Turn on debugging and all warnings when using gcc ++dnl Turn on all warnings when using gcc + if test "$ac_cv_prog_gcc" = "yes"; then +- CFLAGS="$CFLAGS -g -Wall -Wmissing-declarations -Wmissing-prototypes" +- LDFLAGS="$LDFLAGS -g -Wall" ++ CFLAGS="$CFLAGS -Wall -Wmissing-declarations -Wmissing-prototypes" ++ LDFLAGS="$LDFLAGS -Wall" + fi + + AC_SUBST(CFLAGS) diff --git a/app-mobilephone/vmoconv/files/vmoconv-1.0-glibc28.patch b/app-mobilephone/vmoconv/files/vmoconv-1.0-glibc28.patch new file mode 100644 index 000000000000..ec957b40c5cd --- /dev/null +++ b/app-mobilephone/vmoconv/files/vmoconv-1.0-glibc28.patch @@ -0,0 +1,24 @@ +diff -Naur vmoconv-1.0.orig/src/gsm2vmo.c vmoconv-1.0/src/gsm2vmo.c +--- vmoconv-1.0.orig/src/gsm2vmo.c 2008-06-15 12:57:07.000000000 -0400 ++++ vmoconv-1.0/src/gsm2vmo.c 2008-06-15 12:57:36.000000000 -0400 +@@ -27,7 +27,7 @@ + * 12 bit header and 260 bits standard GSM frame, as described + * in GSM 06.10 and GSM 06.12. The header is 0x2010 always. + */ +- ++#include <limits.h> + #include <stdio.h> + #include <stdlib.h> + #include <string.h> +diff -Naur vmoconv-1.0.orig/src/vmo2gsm.c vmoconv-1.0/src/vmo2gsm.c +--- vmoconv-1.0.orig/src/vmo2gsm.c 2008-06-15 12:57:07.000000000 -0400 ++++ vmoconv-1.0/src/vmo2gsm.c 2008-06-15 12:57:36.000000000 -0400 +@@ -27,7 +27,7 @@ + * 12 bit header and 260 bits standard GSM frame, as described + * in GSM 06.10 and GSM 06.12. The header is 0x2010 always. + */ +- ++#include <limits.h> + #include <stdio.h> + #include <stdlib.h> + #include <string.h> diff --git a/app-mobilephone/vmoconv/metadata.xml b/app-mobilephone/vmoconv/metadata.xml new file mode 100644 index 000000000000..fd8646d07b57 --- /dev/null +++ b/app-mobilephone/vmoconv/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- maintainer-needed --> + <longdescription lang="en"> + A tool that converts Siemens phones VMO and VMI audio files to gsm and + wav. + </longdescription> +</pkgmetadata> diff --git a/app-mobilephone/vmoconv/vmoconv-1.0-r1.ebuild b/app-mobilephone/vmoconv/vmoconv-1.0-r1.ebuild new file mode 100644 index 000000000000..d74ae6fce9e1 --- /dev/null +++ b/app-mobilephone/vmoconv/vmoconv-1.0-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +EAPI=5 + +inherit eutils autotools + +DESCRIPTION="A tool that converts Siemens phones VMO and VMI audio files to gsm and wav" +HOMEPAGE="http://triq.net/obex/" +SRC_URI="http://triq.net/obexftp/${P}.tar.gz" +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="amd64 ~ppc x86" +IUSE="" + +DEPEND="media-sound/gsm" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}/${P}-glibc28.patch" + epatch "${FILESDIR}/${P}-flags.patch" + epatch "${FILESDIR}/${P}-external-libgsm.patch" + sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.in || die + eautoreconf +} + +src_install() { + dobin src/vmo2gsm src/gsm2vmo src/vmo2wav + dodoc AUTHORS ChangeLog NEWS README THANKS +} |