mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
Removed the full-stop and repeating package name in SUMMARY. Removed hard line breaks, broke up some very long paragraphs and use bullet lists where possible. All done by browsing through HaikuDepot. There may be (many) more left in the whole haikuports repo... Included 10 extended desriptions done by soyoye14 for GCI 2014 (https://www.google-melange.com/gci/task/view/google/gci2014/5240373098053632) Removed/insert whitespace where it seems to be the custom in recipes. Sometimes rearranged elements of a recipe (moving license and copyright up, for example).
72 lines
1.6 KiB
Plaintext
72 lines
1.6 KiB
Plaintext
SUMMARY="A library for encoding and decoding WebP image files"
|
|
DESCRIPTION="
|
|
A library for encoding and decoding WebP image files.
|
|
"
|
|
HOMEPAGE="https://developers.google.com/speed/webp"
|
|
SRC_URI="http://downloads.webmproject.org/releases/webp/libwebp-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="00b646e6f66550a8faa998711fe70aabee9ed3bc562a8437c89042901674d027"
|
|
LICENSE="BSD (3-clause)"
|
|
COPYRIGHT="2011 Google Inc."
|
|
REVISION="1"
|
|
|
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
|
|
|
PROVIDES="
|
|
libwebp$secondaryArchSuffix = $portVersion compat >= 0.4
|
|
lib:libwebp$secondaryArchSuffix = 5.0.1 compat >= 5
|
|
cmd:cwebp$secondaryArchSuffix
|
|
cmd:dwebp$secondaryArchSuffix
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libjpeg$secondaryArchSuffix
|
|
lib:libgif$secondaryArchSuffix
|
|
lib:libpng$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
BUILD_REQUIRES="
|
|
devel:libjpeg$secondaryArchSuffix
|
|
devel:libgif$secondaryArchSuffix
|
|
devel:libpng$secondaryArchSuffix
|
|
devel:libz$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:autoconf
|
|
cmd:libtool
|
|
cmd:aclocal
|
|
cmd:make
|
|
cmd:m4
|
|
cmd:find
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
./autogen.sh
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
prepareInstalledDevelLibs libwebp
|
|
fixPkgconfig
|
|
|
|
#devel package
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|
|
|
|
PROVIDES_devel="
|
|
libwebp${secondaryArchSuffix}_devel = $portVersion compat >= 0.4
|
|
devel:libwebp$secondaryArchSuffix = 5.0.1 compat >= 5
|
|
"
|
|
REQUIRES_devel="
|
|
libwebp$secondaryArchSuffix == $portVersion base
|
|
"
|