summaryrefslogtreecommitdiff
path: root/media-video/bbtools
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-12-15 18:09:03 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-12-15 18:09:03 +0000
commit7bc9c63c9da678a7e6fceb095d56c634afd22c56 (patch)
tree4a67d50a439e9af63947e5f8b6ba3719af98b6c9 /media-video/bbtools
parentb284a3168fa91a038925d2ecf5e4791011ea5e7d (diff)
gentoo resync : 15.12.2019
Diffstat (limited to 'media-video/bbtools')
-rw-r--r--media-video/bbtools/Manifest4
-rw-r--r--media-video/bbtools/bbtools-1.9.ebuild15
-rw-r--r--media-video/bbtools/files/bbtools-1.9-gentoo.patch16
3 files changed, 19 insertions, 16 deletions
diff --git a/media-video/bbtools/Manifest b/media-video/bbtools/Manifest
index 079650858952..2f882c11b880 100644
--- a/media-video/bbtools/Manifest
+++ b/media-video/bbtools/Manifest
@@ -1,4 +1,4 @@
-AUX bbtools-1.9-gentoo.patch 2816 BLAKE2B a7c944ae07d9151eebde047b275889353257e3f0451ece8f19c8ac4a9d1998969818d733219b6f542bd44374bd5dd5fb12f8e26d51aedc929049a3fdb06a3a23 SHA512 7ed795bbf5042b8ae70234d2d90139d7f6cf0b610c94688d0c5e401a028f733df9f53894e61b01f91acf8fd58f1253e6db229628775d5cb4a7e8c278f3e23e09
+AUX bbtools-1.9-gentoo.patch 2688 BLAKE2B 13203a771aef5d3ca2cff45aa0e61b95a1a2f7dd543f756d41b1701d40b6b855cbf8e9f4d3220a678c6685dd02213acf67894b1693a94c61e0e9c8dfb4c26183 SHA512 fb406f85ae4c4bcc46689ad92de47585d4b0b46a14f767e24c52bcc083253f4e80caf0b97d33ca1f14a43caa0f86f15aba7f6526f4bf2b00f0506c826aef0539
DIST bbtool19_src.zip 68080 BLAKE2B b831d5fa2f6321df31f55970851049fd1e361dfcdc5f1f03617f5c3ffda547ef3b350c26cd6de83d463d93c13d0d37fd814d2f7598632fa4288612e55300a259 SHA512 7d22a3934e0b5a8fa228963989b20387b493a672026adcac1761256030f64681fdc936f15934bb7ecf019db43f3bdfbebbf94782534b21883c5c5c3674d073c7
-EBUILD bbtools-1.9.ebuild 783 BLAKE2B 24b4e46f535f43c2a85369fd3bb84fee7dfcb9f08a5f046832ff1218ad751171fc5d69468103f152467ac22977f6328e6dcd0ff610634dea0b2e85e8472480e0 SHA512 de5abc7824c872a710bf940377369127430803c1248dbcf3832deb174075413ae494d1c57acd5523f779c2dd8a5237d073f287a182bf49447e6a0959448b5891
+EBUILD bbtools-1.9.ebuild 814 BLAKE2B 136b86e19f71d67a9b502b41877fc117747cdd747ab9878308a06478080889cfb17d7e03a8bdf2a843713c93435b3607dc5e700feb21e99ec8124d6d37b90a71 SHA512 90c960fee4d512bbdfedb0fe2f968b14baaf8f09a951299dd2e38f9951779142957a8f48aaba4659c1a678173ab0f077671e544ac99ed6e58eaaac34fc7f6547
MISC metadata.xml 554 BLAKE2B ed3c9c52f0e914b48bdae335870acfd84b25b9b7c06119234e665c4eb432037feb8b69980246e93ec3d6360c09f59051b87fb1953d1c88cbe8cd06896985bcff SHA512 ca7a79616518939ae835c8d2e327aadd7f7d48d9ab28af61ad61b7ab435b9384c285d45614f0ee10a0222fa556739b02cfe4ed0f78b9233a4007fbb8b41f0ad7
diff --git a/media-video/bbtools/bbtools-1.9.ebuild b/media-video/bbtools/bbtools-1.9.ebuild
index f824754bccb5..392e8c0d3afe 100644
--- a/media-video/bbtools/bbtools-1.9.ebuild
+++ b/media-video/bbtools/bbtools-1.9.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=4
+EAPI=7
inherit eutils flag-o-matic toolchain-funcs
@@ -12,22 +12,25 @@ SRC_URI="http://files.digital-digest.com/downloads/files/encode/bbtool${PV/./}_s
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
-IUSE=""
-DEPEND="app-arch/unzip"
+BDEPEND="app-arch/unzip"
S=${WORKDIR}
+PATCHES=( "${FILESDIR}"/bbtools-${PV}-gentoo.patch )
+
src_prepare() {
mv BBINFO.cpp bbinfo.cpp || die
mv BITS.CPP bits.cpp || die
mv BITS.H bits.h || die
mv bbdmux.CPP bbdmux.cpp || die
- rm *.ide
+ rm *.ide || die
edos2unix *.cpp *.h
- epatch "${FILESDIR}"/bbtools-${PV}-gentoo.patch
+ default
+}
+src_configure() {
append-lfs-flags
tc-export CXX
}
diff --git a/media-video/bbtools/files/bbtools-1.9-gentoo.patch b/media-video/bbtools/files/bbtools-1.9-gentoo.patch
index 7f9ff7ab6279..98efb8e534de 100644
--- a/media-video/bbtools/files/bbtools-1.9-gentoo.patch
+++ b/media-video/bbtools/files/bbtools-1.9-gentoo.patch
@@ -1,13 +1,13 @@
---- bits.h
-+++ bits.h 2003-10-20 22:04:30.000000000 +0000
+--- a/bits.h
++++ b/bits.h
@@ -15,4 +15,4 @@
int seek_sync(unsigned int sync, int N);
unsigned int look_ahead(int N);
-
+#define strlwr(x)
---- bbainfo.cpp
-+++ bbainfo.cpp 2003-10-20 22:19:15.000000000 +0000
+--- a/bbainfo.cpp
++++ b/bbainfo.cpp
@@ -97,8 +97,8 @@
{
int i, framesize, skip;
@@ -19,8 +19,8 @@
if (padding_bit)
framesize++;
---- bbinfo.cpp
-+++ bbinfo.cpp 2003-10-20 22:16:43.000000000 +0000
+--- a/bbinfo.cpp
++++ b/bbinfo.cpp
@@ -984,7 +984,7 @@
bit_rate = (k & 0xF0) >> 4;
freq = (k & 0x0C) >> 2;
@@ -48,8 +48,8 @@
frequency[freq]) * slots[3 - layer]) - 4;
if (padding_bit)
streams[PID]->audio_sync += 1;
---- Makefile
-+++ Makefile 2003-10-20 22:26:07.000000000 +0000
+--- a/Makefile
++++ b/Makefile
@@ -0,0 +1,25 @@
+all: bbainfo bbdmux bbinfo bbvinfo
+