mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
libpng: bump version
* remove old 1.6 recipes.
This commit is contained in:
@@ -5,21 +5,21 @@ features, is extensible, and has been extensively tested for over 17 years
|
||||
"
|
||||
HOMEPAGE="http://www.libpng.org"
|
||||
COPYRIGHT="
|
||||
1998-2013 Glenn Randers-Pehrson
|
||||
1998-2014 Glenn Randers-Pehrson
|
||||
1996-1997 Andreas Dilger
|
||||
1995-1996 Guy Eric Schalnat, Group 42, Inc.
|
||||
"
|
||||
LICENSE="LibPNG"
|
||||
SRC_URI="http://prdownloads.sourceforge.net/libpng/libpng-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="b0206a22b49c91fc5521b2cfb1c251433a37aed0a645bc504ab3d061f27e4d51"
|
||||
CHECKSUM_SHA256="73bec855f265e86cf247c8e60069338bba7f16deade54b459b6465ffa86f7076"
|
||||
REVISION="1"
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64 arm"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
PROVIDES="
|
||||
libpng$secondaryArchSuffix = $portVersion compat >= 1.6
|
||||
lib:libpng$secondaryArchSuffix = 16.10.0 compat >= 16
|
||||
lib:libpng16$secondaryArchSuffix = 16.10.0 compat >= 16
|
||||
lib:libpng$secondaryArchSuffix = 16.12.0 compat >= 16
|
||||
lib:libpng16$secondaryArchSuffix = 16.12.0 compat >= 16
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
@@ -41,10 +41,7 @@ BUILD_PREREQUIRES="
|
||||
|
||||
BUILD()
|
||||
{
|
||||
aclocal
|
||||
libtoolize --force --copy --install
|
||||
aclocal
|
||||
autoconf
|
||||
autoreconf -f -i
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
@@ -71,8 +68,8 @@ PROVIDES_devel="
|
||||
cmd:libpng16_config$secondaryArchSuffix = $portVersion compat >= 1.6
|
||||
cmd:pngfix$secondaryArchSuffix = $portVersion compat >= 1.6
|
||||
cmd:png_fix_itxt$secondaryArchSuffix = $portVersion compat >= 1.6
|
||||
devel:libpng$secondaryArchSuffix = 16.10.0 compat >= 16
|
||||
devel:libpng16$secondaryArchSuffix = 16.10.0 compat >= 16
|
||||
devel:libpng$secondaryArchSuffix = 16.12.0 compat >= 16
|
||||
devel:libpng16$secondaryArchSuffix = 16.12.0 compat >= 16
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libpng$secondaryArchSuffix == $portVersion base
|
||||
@@ -1,81 +0,0 @@
|
||||
SUMMARY="Portable Network Graphics library"
|
||||
DESCRIPTION="
|
||||
libpng is the official PNG reference library. It supports almost all PNG \
|
||||
features, is extensible, and has been extensively tested for over 17 years
|
||||
"
|
||||
HOMEPAGE="http://www.libpng.org"
|
||||
COPYRIGHT="
|
||||
1998-2013 Glenn Randers-Pehrson
|
||||
1996-1997 Andreas Dilger
|
||||
1995-1996 Guy Eric Schalnat, Group 42, Inc.
|
||||
"
|
||||
LICENSE="LibPNG"
|
||||
SRC_URI="http://prdownloads.sourceforge.net/libpng/libpng-1.6.8.tar.gz"
|
||||
CHECKSUM_SHA256="32c7acf1608b9c8b71b743b9780adb7a7b347563dbfb4a5263761056da44cc96"
|
||||
REVISION="1"
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
PROVIDES="
|
||||
libpng$secondaryArchSuffix = $portVersion compat >= 1.6
|
||||
lib:libpng$secondaryArchSuffix = 16.8.0 compat >= 16
|
||||
lib:libpng16$secondaryArchSuffix = 16.8.0 compat >= 16
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
devel:libz$secondaryArchSuffix >= 1.0.4
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:automake
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:libtool >= 2.4.2
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
aclocal
|
||||
libtoolize --force --copy --install
|
||||
aclocal
|
||||
autoconf
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLibs libpng libpng16
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$binDir \
|
||||
$developDir \
|
||||
$manDir/man3
|
||||
}
|
||||
|
||||
# ----- devel package -------------------------------------------------------
|
||||
|
||||
PROVIDES_devel="
|
||||
libpng${secondaryArchSuffix}_devel = $portVersion compat >= 1.6
|
||||
cmd:libpng_config$secondaryArchSuffix = $portVersion compat >= 1.6
|
||||
cmd:libpng16_config$secondaryArchSuffix = $portVersion compat >= 1.6
|
||||
cmd:pngfix$secondaryArchSuffix = $portVersion compat >= 1.6
|
||||
cmd:png_fix_itxt$secondaryArchSuffix = $portVersion compat >= 1.6
|
||||
devel:libpng$secondaryArchSuffix = 16.8.0 compat >= 16
|
||||
devel:libpng16$secondaryArchSuffix = 16.8.0 compat >= 16
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libpng$secondaryArchSuffix == $portVersion base
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
Reference in New Issue
Block a user