From 276017bbd9e85d1b492367fe4688ea6625d69415 Mon Sep 17 00:00:00 2001 From: extrowerk <5569059+extrowerk@users.noreply.github.com> Date: Tue, 15 Mar 2022 19:39:07 +0100 Subject: [PATCH] x264: bump, _bin, debug (#6727) --- ...4-20210929.recipe => x264-20220222.recipe} | 23 +++++++++++++++---- 1 file changed, 18 insertions(+), 5 deletions(-) rename media-libs/x264/{x264-20210929.recipe => x264-20220222.recipe} (76%) diff --git a/media-libs/x264/x264-20210929.recipe b/media-libs/x264/x264-20220222.recipe similarity index 76% rename from media-libs/x264/x264-20210929.recipe rename to media-libs/x264/x264-20220222.recipe index a1c39f052..f485ae028 100644 --- a/media-libs/x264/x264-20210929.recipe +++ b/media-libs/x264/x264-20220222.recipe @@ -1,13 +1,13 @@ SUMMARY="An encoder for x264 h.264/AVC" DESCRIPTION="x264 is a h.264/AVC encoder library." HOMEPAGE="https://www.videolan.org/developers/x264.html" -COPYRIGHT="2003-2021 VideoLan.org" +COPYRIGHT="2003-2022 VideoLan.org" LICENSE="GNU GPL v2" REVISION="1" -srcGitRev="66a5bc1bd1563d8227d5d18440b525a09bcf17ca" +srcGitRev="bfc87b7a330f75f5c9a21e56081e4b20344f139e" SOURCE_URI="https://github.com/mirror/x264/archive/$srcGitRev.tar.gz" SOURCE_FILENAME="x264-$portVersion-$srcGitRev.tar.gz" -CHECKSUM_SHA256="781891aa10349f53e20c86e27d38fc730e12dabc3bcc610eb9d2650d58541739" +CHECKSUM_SHA256="2ca2344fc2d657150599687e128dac8816b07e8d5c991fa2281e51fe647bbbe7" SOURCE_DIR="x264-$srcGitRev" ARCHITECTURES="all !x86_gcc2" @@ -18,7 +18,6 @@ libVersionCompat="$libVersion compat >= ${libVersion}" PROVIDES=" x264$secondaryArchSuffix = $portVersion - cmd:x264$secondaryArchSuffix lib:libx264$secondaryArchSuffix = $libVersionCompat " REQUIRES=" @@ -33,6 +32,15 @@ REQUIRES_devel=" x264$secondaryArchSuffix == $portVersion base " +PROVIDES_bin=" + x264${secondaryArchSuffix}_bin = $portVersion + cmd:x264$secondaryArchSuffix + " +REQUIRES_bin=" + x264$secondaryArchSuffix == $portVersion base + haiku$secondaryArchSuffix + " + BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel " @@ -48,7 +56,8 @@ BUILD_PREREQUIRES=" " defineDebugInfoPackage x264$secondaryArchSuffix \ - "$libDir"/libx264.so.$libVersion + "$libDir"/libx264.so.$libVersion \ + "$(getPackagePrefix bin)/$relativeBinDir"/x264$secondaryArchSuffix BUILD() { @@ -66,6 +75,10 @@ INSTALL() prepareInstalledDevelLibs libx264 fixPkgconfig + # bin package + packageEntries bin \ + $binDir + # devel package packageEntries devel \ $developDir