From 7b28287743532892818ab2e1272e613f5c632aef Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Fri, 15 May 2015 09:19:07 +0000 Subject: [PATCH] opus: renamed from libopus. to match Gentoo nomenclature. --- .../opus-1.1.recipe} | 24 ++++++++++++------- 1 file changed, 15 insertions(+), 9 deletions(-) rename media-libs/{libopus/libopus-1.1.recipe => opus/opus-1.1.recipe} (70%) diff --git a/media-libs/libopus/libopus-1.1.recipe b/media-libs/opus/opus-1.1.recipe similarity index 70% rename from media-libs/libopus/libopus-1.1.recipe rename to media-libs/opus/opus-1.1.recipe index b240db603..6f806fdba 100644 --- a/media-libs/libopus/libopus-1.1.recipe +++ b/media-libs/opus/opus-1.1.recipe @@ -9,14 +9,14 @@ technology from Skype's SILK codec and Xiph.Org's CELT codec. HOMEPAGE="http://www.opus-codec.org" COPYRIGHT="2001-2014 Xiph.org" LICENSE="BSD (3-clause)" -SRC_URI="http://downloads.xiph.org/releases/opus/opus-1.1.tar.gz" +SRC_URI="http://downloads.xiph.org/releases/opus/opus-$portVersion.tar.gz" CHECKSUM_SHA256="b9727015a58affcf3db527322bf8c4d2fcf39f5f6b8f15dbceca20206cbe1d95" -REVISION="2" +REVISION="1" ARCHITECTURES="x86_gcc2 x86 x86_64" SECONDARY_ARCHITECTURES="x86_gcc2 x86" PROVIDES=" - libopus$secondaryArchSuffix = $portVersion compat >= 1 - lib:libopus$secondaryArchSuffix = 0.5.0 compat >= 0.5 + opus$secondaryArchSuffix = $portVersion compat >= 1 + lib:libopus$secondaryArchSuffix = 0.5.0 compat >= 0 " REQUIRES=" haiku$secondaryArchSuffix @@ -31,7 +31,6 @@ BUILD_PREREQUIRES=" cmd:sed cmd:awk " -SOURCE_DIR="opus-1.1" BUILD() { @@ -41,8 +40,15 @@ BUILD() INSTALL() { make install + + # remove libtool library file + rm $libDir/libopus.la + prepareInstalledDevelLibs libopus - packageEntries devel $developDir + fixPkgconfig + + packageEntries devel $developDir \ + $dataDir } @@ -50,9 +56,9 @@ INSTALL() PROVIDES_devel=" - libopus${secondaryArchSuffix}_devel = $portVersion compat >= 1 - devel:libopus$secondaryArchSuffix = 0.5.0 compat >= 0.5 + opus${secondaryArchSuffix}_devel = $portVersion compat >= 1 + devel:libopus$secondaryArchSuffix = 0.5.0 compat >= 0 " REQUIRES_devel=" - libopus$secondaryArchSuffix == $portVersion base + opus$secondaryArchSuffix == $portVersion base "