summaryrefslogtreecommitdiff
path: root/media-sound/bladeenc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-sound/bladeenc
reinit the tree, so we can have metadata
Diffstat (limited to 'media-sound/bladeenc')
-rw-r--r--media-sound/bladeenc/Manifest6
-rw-r--r--media-sound/bladeenc/bladeenc-0.94.2-r1.ebuild23
-rw-r--r--media-sound/bladeenc/files/bladeenc-0.94.2-secfix.diff11
-rw-r--r--media-sound/bladeenc/metadata.xml8
4 files changed, 48 insertions, 0 deletions
diff --git a/media-sound/bladeenc/Manifest b/media-sound/bladeenc/Manifest
new file mode 100644
index 000000000000..1cb527f34a3b
--- /dev/null
+++ b/media-sound/bladeenc/Manifest
@@ -0,0 +1,6 @@
+AUX bladeenc-0.94.2-secfix.diff 394 SHA256 e57d8d91881e15889e7cb4f965c6f026061f0f7dbd33c24ad43e5060aed20d5e SHA512 6f590d4f9bdc34f36cb9aef3fc1a590893dd4aa52f9caeaeee9375653f1a80658dc1c52ec6bd679ef5836335b05d6ec02a3987392d3220294a78a23adac09400 WHIRLPOOL 514d33107daefb698ddfad35382bf096be02bcd2a4f931a6b7f401eafbeca32bcc2dd8e24d107df77b72da0655c55830e64fb8388e14d851d505324a23c2eeaa
+DIST bladeenc-0.94.2-src-stable.tar.gz 142949 SHA256 c5e9dd180f28d1865599d0755e36fa1a4c146bb5e1b7ba9ad099955261fc1164 SHA512 570202a201c3582483078248fae7330d978d69018e4367d51322f84f26875cf84250de6c46527d11624cd6f19d4a98e30421447358b15ce9f256cade28e604ef WHIRLPOOL 530dcb738c6e335437122bb7c31540ff4181581ca9f4cc54ab4730ca2dffb0bd1f9d88cb94f4826ac9ee9052f61911dc2677e0e32205f6f943f3445eff25c83e
+EBUILD bladeenc-0.94.2-r1.ebuild 504 SHA256 bcdebdf28f84dcd101bd27de4b0b242d6818d07f99102aec8dea8fe7096d759b SHA512 88dc0edd54f2df014dd437d402dd759a02ab0c99fdc46f499716e65bd08543ef389a8553eddc4e767cbfb91eba1806c7c332edbdc7f0e7a50cff2d9d4806c851 WHIRLPOOL b851d4b84ecdb4b9a6ca8d157b3c514e0ebc5440eb5a844f2ced81b463ad0afe116178a68290274dcbfaaea6a390924de2cbb57f8b36b2a36af10e7a3aac7519
+MISC ChangeLog 2479 SHA256 5d4d59fe862c7ce6be0ff50984a0d8051ffa5c692cb16dba30e26ab261b43271 SHA512 67b19a8ddec0aa71abb274ea6a8e3dc7db6275b0ecea47774c50392b703af6cf515567921d3104b1952aafc61077be35f595045bd6c8b01eb2e9e0fe6a310f2a WHIRLPOOL 28d639038e4e00b0f1cae7d520cc3d1ab0c8f17398b2d95b43c13ab49abbd8913dad049f0471240a39953f3cc5bc211ee9a1071b01ad18f6f29ca1c246f61030
+MISC ChangeLog-2015 2095 SHA256 c51c2f069610f8ada78ac2e966ae94dfddbc462fb136d7ad36cb2d80b2d1a0bf SHA512 bd9e25d0b0a31a344872e811ca9fe55eded6a39830e939e6e6252e4c42643ebb81d29707d35282c9a64e5cf3ee7a7d1517f625d2f8d2faac32086e08662ead63 WHIRLPOOL 538217b8487f5b5fb9027dab78429431b8d9be9b6dbcd643dd190944640d67f3679e0f96e0cdeccd1bc8aa8c1014d34093e9c3b9366956859c009de12f8f8a2a
+MISC metadata.xml 249 SHA256 a591aa91a9c413e7f7e24fd25b924ce2dfef686da8b4ce38bebb088ebfdba9db SHA512 9a100fb26586365eda99724330a03a512f4d0be18d39c3a195ba02c2fc841edeee99d22512acf5a058a3b978d3a74f4d963a5aff9aa343b6cb4086cdfefe6343 WHIRLPOOL ae5b0c583f3a07ed1ccf651b5b9c8d6c8c637fba2d505fc4b028ea60239fc0a84e37a169b5114f879712ae74f7f41960a2cc6b59e67cacc7f964b105b5fb8723
diff --git a/media-sound/bladeenc/bladeenc-0.94.2-r1.ebuild b/media-sound/bladeenc/bladeenc-0.94.2-r1.ebuild
new file mode 100644
index 000000000000..2f80c8918298
--- /dev/null
+++ b/media-sound/bladeenc/bladeenc-0.94.2-r1.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=2
+inherit eutils
+
+DESCRIPTION="An mp3 encoder"
+SRC_URI="http://bladeenc.mp3.no/source/${P}-src-stable.tar.gz"
+HOMEPAGE="http://bladeenc.mp3.no/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 sparc x86"
+IUSE=""
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-secfix.diff
+}
+
+src_install () {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS ChangeLog README TODO
+}
diff --git a/media-sound/bladeenc/files/bladeenc-0.94.2-secfix.diff b/media-sound/bladeenc/files/bladeenc-0.94.2-secfix.diff
new file mode 100644
index 000000000000..5a126f2ceedd
--- /dev/null
+++ b/media-sound/bladeenc/files/bladeenc-0.94.2-secfix.diff
@@ -0,0 +1,11 @@
+diff -Naur bladeenc-0.94.2/bladeenc/samplein.c bladeenc-0.94.2-fixed/bladeenc/samplein.c
+--- bladeenc-0.94.2/bladeenc/samplein.c 2001-05-08 14:11:53.000000000 +0200
++++ bladeenc-0.94.2-fixed/bladeenc/samplein.c 2003-02-05 11:19:59.000000000 +0100
+@@ -616,6 +616,7 @@
+ static int myFseek (FILE *fp, int offset)
+ {
+ char dummy[256];
++ offset = abs(offset);
+
+ while (offset >= 256)
+ {
diff --git a/media-sound/bladeenc/metadata.xml b/media-sound/bladeenc/metadata.xml
new file mode 100644
index 000000000000..c870d0eef0ab
--- /dev/null
+++ b/media-sound/bladeenc/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>