From bad87971dcdddc27e679131f5c1b6c3b285c775c Mon Sep 17 00:00:00 2001 From: kenmays Date: Sat, 6 Jun 2020 06:26:24 -0700 Subject: [PATCH] libvpx: remove legacy recipe (#5087) --- media-libs/libvpx/libvpx3-1.5.0.recipe | 132 ------------------------- 1 file changed, 132 deletions(-) delete mode 100644 media-libs/libvpx/libvpx3-1.5.0.recipe diff --git a/media-libs/libvpx/libvpx3-1.5.0.recipe b/media-libs/libvpx/libvpx3-1.5.0.recipe deleted file mode 100644 index 699447c54..000000000 --- a/media-libs/libvpx/libvpx3-1.5.0.recipe +++ /dev/null @@ -1,132 +0,0 @@ -SUMMARY="WebM VP8 video codec library" -DESCRIPTION="The WebM VP8 SDK allows you to integrate your applications with \ -the VP8 video codec, a high quality, royalty free, open source codec deployed \ -on millions of computers and devices worldwide. - -This distribution of the WebM VP8 Codec SDK includes the following support: -- WebM VP8 Encoder -- WebM VP8 Decoder" -HOMEPAGE="https://www.webmproject.org/" -COPYRIGHT="2009-2012 Google Inc., - The Mozilla Foundation and - The Xiph.Org Foundation" -LICENSE="BSD (3-clause)" -REVISION="3" -SOURCE_URI="http://storage.googleapis.com/downloads.webmproject.org/releases/webm/libvpx-$portVersion.tar.bz2" -CHECKSUM_SHA256="306d67908625675f8e188d37a81fbfafdf5068b09d9aa52702b6fbe601c76797" -SOURCE_DIR="libvpx-$portVersion" -PATCHES="libvpx-$portVersion.patchset" - -ARCHITECTURES="!x86_gcc2 x86 x86_64" -SECONDARY_ARCHITECTURES="!x86_gcc2 x86" - -commandSuffix=$secondaryArchSuffix -commandBinDir=$binDir -if [ "$targetArchitecture" = x86_gcc2 ]; then - commandSuffix= - commandBinDir=$prefix/bin -fi - -libVersion="3.0.0" -libVersionCompat="$libVersion compat >= ${libVersion%%.*}" -portVersionCompat="$portVersion compat >= ${portVersion%.*}" - -PROVIDES=" - libvpx3$secondaryArchSuffix = $portVersion - lib:libvpx$secondaryArchSuffix = $libVersionCompat - " -REQUIRES=" - haiku$secondaryArchSuffix - " - -PROVIDES_bin=" - libvpx3${secondaryArchSuffix}_bin = $portVersion - cmd:vpxdec$commandSuffix = $portVersionCompat - cmd:vpxenc$commandSuffix = $portVersionCompat - " -REQUIRES_bin=" - haiku$secondaryArchSuffix - libvpx3$secondaryArchSuffix == $portVersion base - " -CONFLICTS_bin=" - libvpx${secondaryArchSuffix}_bin - " -if [ -n "$secondaryArchSuffix" -a "$commandBinDir" = "$prefix"/bin ]; then -CONFLICTS_bin+=" - libvpx_bin - " -fi - -PROVIDES_devel=" - libvpx3${secondaryArchSuffix}_devel = $portVersion - devel:libvpx$secondaryArchSuffix = $libVersionCompat - " -REQUIRES_devel=" - libvpx3$secondaryArchSuffix == $portVersion base - " -CONFLICTS_devel=" - libvpx${secondaryArchSuffix}_devel - " - -BUILD_REQUIRES=" - haiku${secondaryArchSuffix}_devel - " - # Note: The build system also looks for libvorbis and SDL, but that seems - # to be needed only for building the sample player, which we don't need. -BUILD_PREREQUIRES=" - cmd:gcc$secondaryArchSuffix - cmd:ld$secondaryArchSuffix - cmd:awk - cmd:make - cmd:perl - cmd:yasm - cmd:egrep - cmd:grep - cmd:sed - cmd:find - cmd:xargs - cmd:diff - " - -BUILD() -{ - # not an auto tools configure - ./configure \ - --prefix="$prefix" \ - --libdir="$libDir" \ - --as=yasm \ - --enable-pic \ - --enable-shared \ - --enable-vp8 - make $jobArgs -} - -INSTALL() -{ - make install - - prepareInstalledDevelLibs libvpx - fixPkgconfig - - mkdir -p $includeDir - mv $prefix/include/* $includeDir - rmdir $prefix/include - - if [ -n "$secondaryArchSuffix" -a "$commandBinDir" != "$prefix/bin" ]; then - mkdir -p "$commandBinDir" - mv "$prefix"/bin/vpxdec "$commandBinDir" - mv "$prefix"/bin/vpxenc "$commandBinDir" - fi - - # devel package - packageEntries devel \ - "$developDir" - - # bin package - packageEntries bin \ - "$commandBinDir" - - if [ -n "$secondaryArchSuffix" -a "$commandBinDir" != "$prefix"/bin ]; then - rmdir "$prefix"/bin - fi -}