diff options
Diffstat (limited to 'media-sound/gramofile')
-rw-r--r-- | media-sound/gramofile/Manifest | 11 | ||||
-rw-r--r-- | media-sound/gramofile/files/gramofile-1.6-strlen_and_exit.patch | 56 | ||||
-rw-r--r-- | media-sound/gramofile/files/gramofile-1.6_p9-gentoo.patch | 39 | ||||
-rw-r--r-- | media-sound/gramofile/files/gramofile-1.6_p9-strlen_and_exit.patch | 20 | ||||
-rw-r--r-- | media-sound/gramofile/gramofile-1.6-r1.ebuild | 39 | ||||
-rw-r--r-- | media-sound/gramofile/gramofile-1.6_p9.ebuild | 45 | ||||
-rw-r--r-- | media-sound/gramofile/metadata.xml | 18 |
7 files changed, 228 insertions, 0 deletions
diff --git a/media-sound/gramofile/Manifest b/media-sound/gramofile/Manifest new file mode 100644 index 000000000000..79838180bbb6 --- /dev/null +++ b/media-sound/gramofile/Manifest @@ -0,0 +1,11 @@ +AUX gramofile-1.6-strlen_and_exit.patch 1296 SHA256 e03b7cf88428b05228f377e03e36db8d8cf98952bb0e97db2820fdddc1d3efce SHA512 ec630b85aa7099968a84e73e4efa014488c10e899080e2745dacd36808502d24f965905f08b02f11dbed6230cf33f3ce63fc2593d9b0f2bb2e268b75b9a10513 WHIRLPOOL b09a7989d35713d176d0e461b235c7195a62c28b831a8d2ec1f179806f84a97e8b063097015b7c08cb3310d2fa7bd0159b1ac7bdea293c24a8952eefa533c9e1 +AUX gramofile-1.6_p9-gentoo.patch 1100 SHA256 ea00d629bb73ffb57c5c859d0fd8ac75f2aa96d160302db4f62f0d3701aee193 SHA512 bd385cf856c6463e0e04a61b0e02bc2b15fced806fa9fed6612451da99823d526dba3f077c773c14cc0b860301ba56b7a8903c5df12c6ed23b31014b60c8ee3e WHIRLPOOL 7fa55892fe03ae1f74ff828d21ea6844b601aeab4dadda29c1ea09fb8898de81df307684eaa03dcb30c5498daae9c51ee1f7554b16e11e7d1338b74455340f62 +AUX gramofile-1.6_p9-strlen_and_exit.patch 392 SHA256 d199ab63870df7d15a326701c8e43b9af3036276809f149c1c79092226792809 SHA512 266dcbce4654c31e120d97e30e56764bac9f44dd412015c602bd43d902c38eb9fd9aa47dd7fe64961a1ea28eee1bcc992ec1d83a024cb1482a2b8d9e70c55034 WHIRLPOOL 4b122b8d0b3130ced9fc54d654e1f07153080374fb0366f5ad2bafdb7a72f450d69ec9efdc3c42c3dac4b045a9f750ca16b2105e2aaaed3d87082186296b060f +DIST gramofile_1.6-8.diff.gz 26697 SHA256 ec4f879885daf542a1cae8c9f77a5dcd37cf33ac4400159b0d5243486617cc34 SHA512 f03ab82de0aa8fca44bd5be4e64c0606c08a083ed09039728e163a2e535348c8984acd958bc6589139907101faf867e3030ff2ad09abdc8e3b292864f69e64ae WHIRLPOOL 83cce33030cf2feaa5096129c87ea51387f4856eae82359ca050cb46b91ee25e9d47ab7b37519d28086632e611b6dfeeb2a382e7a208c1e856e8f06874c622ae +DIST gramofile_1.6-9.diff.gz 25244 SHA256 f18fba5fba9889cf8090c22643fa39e6e93011d66a75e6274311f70244d8826e SHA512 2c3b0131afcbae680432e5fc1bb753bae7c19d5bb4372808a0f86ef704800aea218e3bfe625bffe46ee3cd4a38f89a488141223d22b8f467cab45ee4a962c249 WHIRLPOOL f51ed79b6a61d728dccfd1cb61195909dbd188d16612f3680573b1463027f15d1ed4d8feced4ea9e28a719997041148679c1f796c09b51e4fe499989f27dcb49 +DIST gramofile_1.6.orig.tar.gz 108596 SHA256 d1c9fe01f3b49c8c9141c3e09c15f519dcb9ffdcaabcfa51ece0c41540ba69e2 SHA512 171a7cff4066d625b9263f5462bf3e8fba30a02b629f20f7b38031cf037eb0940cfb54b73671d10948ac3326e272b3576de785310022007e0d4dca4f164815a5 WHIRLPOOL 19c739b5c654f2180740f2d11ce567950d83431844807bc27cedc209378d4105de075946b42999019be3007ed30e0f25b23d40f4263ce6184fc480ce83d057ac +EBUILD gramofile-1.6-r1.ebuild 1023 SHA256 016c3f4407e34ce29ab768f3cc70e70a8dd858a4606402d0911e994fc23e20bd SHA512 bbce995fc183f5ad06fc4f3eddd8cb494f0b4af852124cba710d118ece440062fa9b685c4aa1299202165397619b149213d079c0d0f6b916c0b8858842cbe178 WHIRLPOOL 6c733f0e2da4a06679234fe650b40fd8616e203db508c63a201808806a9b7af116a86a9930848384cfb041a2da4212b0ff96bdb33ddc67cbfbef714e5a871cfe +EBUILD gramofile-1.6_p9.ebuild 1032 SHA256 068dc9a959a2571d8681388a24187e525c8c0256665961e053a472af6419cee7 SHA512 434acf8bb4d7c6dd0b657a2842ee14ffcaa42fa6b4f8a02d4128136899caa573290c444f4ea4617e835222f2f1bd596be611c8f8aeb5ba3122272a28e4637d54 WHIRLPOOL 5be4b30ad0b1fd17979d4ea63d479bd1c306d0c78c8e4b66cee971bc13acbb4ce5e72fa5ac4746c3b2ad1673d476bb4b4b6f53d684a1ffd0cd966916a6ed6ec5 +MISC ChangeLog 2631 SHA256 bcce379effaa88402f6cdfa72756cdfe236ef85b90660bec87c750f92ca2bc11 SHA512 e7d807eb222113630f02773d83510dac114c0f41c56b24538f09e5b11fb1b69260b3ee40658437415f6987b8835044796aa5cb67130bdaebb089dab54cb23ecb WHIRLPOOL 7a0c850c1c71362b9a862e8bb4fc4907a558efee56263cc8b46126112942fcb3b45e490fe9afb0e36ee0298f83e7e47f42ba3af9c2e1279dbddcfa304293df25 +MISC ChangeLog-2015 3360 SHA256 db31b995b982450b8f56401bf789de70903e92117be4bbd87c9cfbcf3444bdfb SHA512 15925421fb94a7226bf5316428ce531eb5dfc2492d326db5a0b53e399e08158292808f0307a9b00eb95ce59927ebd2c76cf78314154e275db0b24f83a967ae1e WHIRLPOOL 644c8ed6910e36326cec95e13201ffe0f3942de6554bcbb2f6ddc1349558d84f341361da1b94865fdacbc43957ba42714ebc04e136c9d999c1b6cf01b15ee0b2 +MISC metadata.xml 871 SHA256 62ff0a049d8326d81314ea2efec177d60fa2085a5fb7ef93b7a244c6b44b9def SHA512 12ff2b2a524bb2e9b3d54c4a1cb4f1739f4ff5a664a01074a1759cf34593e110ddd80f5128a2d2ed222e20f80e329cd3af231ec726665c23bc36cd25cd384b22 WHIRLPOOL d00f4ec53c606bbf52c1ec6e6fa14972ab1c07e287497a72729cd2d083a5237d0d79365ad1e3a78eaf43cd2293157ccd8c82c33f3e4ed5db7d19d46e6e9c7a83 diff --git a/media-sound/gramofile/files/gramofile-1.6-strlen_and_exit.patch b/media-sound/gramofile/files/gramofile-1.6-strlen_and_exit.patch new file mode 100644 index 000000000000..4c35dd3eb2ff --- /dev/null +++ b/media-sound/gramofile/files/gramofile-1.6-strlen_and_exit.patch @@ -0,0 +1,56 @@ +--- a/bplaysrc/Makefile ++++ b/bplaysrc/Makefile +@@ -6,13 +6,12 @@ + ../clrscr.o ../secshms.o + #SRCS = bplay.c sndfunc.o shmbuf.c + +-CC = gcc +-LDFLAGS = ++CC ?= gcc + + ########## CHOOSE YOUR ARCHITECTURE: (NOTE: also see ../Makefile!) + + # For Linux (and maybe others), use these: +-CFLAGS = -Wall -O2 -DUSEBUFFLOCK -DLP2CD -DVUMETER # -DDEBUG ++CFLAGS += -Wall -DUSEBUFFLOCK -DLP2CD -DVUMETER + LIBS = -lncurses + + # For FreeBSD (and maybe others), use these: +--- a/gramofile.c ++++ b/gramofile.c +@@ -11,6 +11,7 @@ + #include "splashscr.h" + #include <signal.h> + #include <unistd.h> ++#include <stdlib.h> + #include <string.h> + #ifndef OLD_CURSES + #include <ncurses.h> +--- a/Makefile ++++ b/Makefile +@@ -14,13 +14,12 @@ + OBJS = $(SRCS:.c=.o) + SHELL = /bin/sh + +-CC = gcc +-LDFLAGS = ++CC ?= gcc + + ########## CHOOSE YOUR ARCHITECTURE: (NOTE: also see bplaysrc/Makefile!) + + # For Linux (and maybe others), use these: +-CFLAGS = -Wall -O2 -funroll-loops -DTURBO_MEDIAN -DTURBO_BUFFER ++CFLAGS += -Wall -DTURBO_MEDIAN -DTURBO_BUFFER + DEPS = $(OBJS) makebplay + LIBS = -lncurses -lrfftw -lfftw -lm + COPY_A = -a +--- a/signpr_cmf3.c ++++ b/signpr_cmf3.c +@@ -34,6 +34,7 @@ + #include <stdlib.h> + #include <stdio.h> + #include <math.h> ++#include <string.h> + #ifndef OLD_CURSES + #include <ncurses.h> + #else diff --git a/media-sound/gramofile/files/gramofile-1.6_p9-gentoo.patch b/media-sound/gramofile/files/gramofile-1.6_p9-gentoo.patch new file mode 100644 index 000000000000..9fdbe1477233 --- /dev/null +++ b/media-sound/gramofile/files/gramofile-1.6_p9-gentoo.patch @@ -0,0 +1,39 @@ +--- a/Makefile ++++ b/Makefile +@@ -14,15 +14,12 @@ + OBJS = $(SRCS:.c=.o) + SHELL = /bin/sh + +-CC = gcc +-LDFLAGS = +- + ########## CHOOSE YOUR ARCHITECTURE: (NOTE: also see bplaysrc/Makefile!) + + # For Linux (and maybe others), use these: +-CFLAGS = -Wall -O2 -funroll-loops -DTURBO_MEDIAN -DTURBO_BUFFER ++CFLAGS += -Wall -DTURBO_MEDIAN -DTURBO_BUFFER + DEPS = $(OBJS) makebplay +-LIBS = -lncurses -lrfftw -lfftw -lm ++LIBS = $(shell ${PKG_CONFIG} --libs ncurses) -lrfftw -lfftw -lm + COPY_A = -a + + # For FreeBSD (and maybe others), use these: +--- a/bplaysrc/Makefile ++++ b/bplaysrc/Makefile +@@ -6,14 +6,11 @@ + ../clrscr.o ../secshms.o + #SRCS = bplay.c sndfunc.o shmbuf.c + +-CC = gcc +-LDFLAGS = +- + ########## CHOOSE YOUR ARCHITECTURE: (NOTE: also see ../Makefile!) + + # For Linux (and maybe others), use these: +-CFLAGS = -Wall -O2 -DUSEBUFFLOCK -DLP2CD -DVUMETER # -DDEBUG +-LIBS = -lncurses ++CFLAGS += -Wall -DUSEBUFFLOCK -DLP2CD -DVUMETER # -DDEBUG ++LIBS = $(shell ${PKG_CONFIG} --libs ncurses) + + # For FreeBSD (and maybe others), use these: + #CFLAGS = -Wall -O2 -DLP2CD -DVUMETER # -DDEBUG diff --git a/media-sound/gramofile/files/gramofile-1.6_p9-strlen_and_exit.patch b/media-sound/gramofile/files/gramofile-1.6_p9-strlen_and_exit.patch new file mode 100644 index 000000000000..0369914779fd --- /dev/null +++ b/media-sound/gramofile/files/gramofile-1.6_p9-strlen_and_exit.patch @@ -0,0 +1,20 @@ +--- a/gramofile.c ++++ b/gramofile.c +@@ -11,6 +11,7 @@ + #include "splashscr.h" + #include <signal.h> + #include <unistd.h> ++#include <stdlib.h> + #include <string.h> + #ifndef OLD_CURSES + #include <ncurses.h> +--- a/signpr_cmf3.c ++++ b/signpr_cmf3.c +@@ -33,6 +33,7 @@ + #include <stdlib.h> + #include <stdio.h> + #include <math.h> ++#include <string.h> + #ifndef OLD_CURSES + #include <ncurses.h> + #else diff --git a/media-sound/gramofile/gramofile-1.6-r1.ebuild b/media-sound/gramofile/gramofile-1.6-r1.ebuild new file mode 100644 index 000000000000..bd252d4a6936 --- /dev/null +++ b/media-sound/gramofile/gramofile-1.6-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=2 +PATCH_LEVEL=8 +inherit eutils multilib toolchain-funcs + +DESCRIPTION="Transfer sound from gramophone records to CD" +HOMEPAGE="http://www.opensourcepartners.nl/~costar/gramofile" +SRC_URI="mirror://debian/pool/main/g/${PN}/${PN}_${PV}.orig.tar.gz + mirror://debian/pool/main/g/${PN}/${PN}_${PV}-${PATCH_LEVEL}.diff.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc x86" +IUSE="" + +RDEPEND="sys-libs/ncurses + sci-libs/fftw:2.1" +DEPEND="${RDEPEND}" + +src_prepare() { + epatch "${WORKDIR}"/${PN}_${PV}-${PATCH_LEVEL}.diff + EPATCH_SUFFIX="dpatch" EPATCH_FORCE="yes" epatch ${P}/debian + epatch "${FILESDIR}"/${P}-strlen_and_exit.patch +} + +src_compile() { + tc-export CC + emake || die "emake failed" +} + +src_install() { + dobin ${PN} || die "dobin failed" + exeinto /usr/$(get_libdir)/${PN} + doexe bplay_gramo brec_gramo || die "doexe failed" + dodoc ChangeLog README TODO *.txt + newdoc ${P}/debian/changelog ChangeLog.debian +} diff --git a/media-sound/gramofile/gramofile-1.6_p9.ebuild b/media-sound/gramofile/gramofile-1.6_p9.ebuild new file mode 100644 index 000000000000..1ed1c4b6e0f8 --- /dev/null +++ b/media-sound/gramofile/gramofile-1.6_p9.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils multilib toolchain-funcs + +DESCRIPTION="Transfer sound from gramophone records to CD" +HOMEPAGE="http://www.opensourcepartners.nl/~costar/gramofile" +SRC_URI=" + mirror://debian/pool/main/g/${PN}/${PN}_${PV/_p*}.orig.tar.gz + mirror://debian/pool/main/g/${PN}/${PN}_${PV/_p*}-${PV/*_p}.diff.gz +" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +RDEPEND=" + sys-libs/ncurses + sci-libs/fftw:2.1 +" +DEPEND=" + ${RDEPEND} + virtual/pkgconfig +" + +S=${WORKDIR}/${P/_p*} + +src_prepare() { + epatch "${WORKDIR}"/${PN}_${PV/_p*}-${PV/*_p}.diff + EPATCH_SUFFIX="patch" EPATCH_FORCE="yes" epatch ${P/_p*}/debian/patches + + epatch "${FILESDIR}"/${P}-gentoo.patch + epatch "${FILESDIR}"/${P}-strlen_and_exit.patch + + tc-export CC PKG_CONFIG +} + +src_install() { + dobin ${PN} + exeinto /usr/$(get_libdir)/${PN} + doexe bplay_gramo brec_gramo + dodoc ChangeLog README TODO *.txt + newdoc ${P/_p*}/debian/changelog ChangeLog.debian +} diff --git a/media-sound/gramofile/metadata.xml b/media-sound/gramofile/metadata.xml new file mode 100644 index 000000000000..5b2e2819c938 --- /dev/null +++ b/media-sound/gramofile/metadata.xml @@ -0,0 +1,18 @@ +<?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> +<longdescription lang="en"> +GramoFile is intended primarily for transferring gramophone records to CDs, but +has many other possible uses. It can record very long .wav files with a bargraph +signal peak-level meter, playback any part of the files, split long .wav files +into separate tracks (with automatic track location), and process the signal +with filters to reduce ticks and pops (multiple filters are provided, they can +be applied in any order (multiple instances) with user-adjustable parameters). +Track splitting and signal processing are done in the same run, and don't need +any temporary files. +</longdescription> +</pkgmetadata> |