mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
libpng: fix provides
- There is no "libpng.so" in the packages, so remove the provides entry for that. - The compat for soname versions is strict: something built against libpng15 will not work with libpng16. So, do not use a >= constraint.
This commit is contained in:
@@ -7,7 +7,7 @@ COPYRIGHT="1998-2011 Glenn Randers-Pehrson
|
||||
1996-1997 Andreas Dilger
|
||||
1995-1996 Guy Eric Schalnat, Group 42, Inc."
|
||||
LICENSE="LibPNG"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="http://prdownloads.sourceforge.net/libpng/libpng-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="1e25d7937ecda0bad46ab1b70f6f906c86efefc365a6f6c97ae6ae3895b17aa3"
|
||||
|
||||
@@ -16,8 +16,7 @@ SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
PROVIDES="
|
||||
libpng$secondaryArchSuffix = $portVersion compat >= 1.5
|
||||
lib:libpng$secondaryArchSuffix = 15.25.0 compat >= 15
|
||||
lib:libpng15$secondaryArchSuffix = 15.25.0 compat >= 15
|
||||
lib:libpng15$secondaryArchSuffix = 15.25.0 compat == 15
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
|
||||
@@ -7,7 +7,7 @@ COPYRIGHT="1998-2014 Glenn Randers-Pehrson
|
||||
1996-1997 Andreas Dilger
|
||||
1995-1996 Guy Eric Schalnat, Group 42, Inc."
|
||||
LICENSE="LibPNG"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="http://prdownloads.sourceforge.net/libpng/libpng-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="3d3bdc16f973a62fb1d26464fe2fe19f51dde9b883feff3e059d18ec1457b199"
|
||||
SOURCE_DIR="libpng-$portVersion"
|
||||
@@ -17,8 +17,7 @@ SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
PROVIDES="
|
||||
libpng16$secondaryArchSuffix = $portVersion compat >= 1.6
|
||||
lib:libpng$secondaryArchSuffix = 16.20.0 compat >= 16
|
||||
lib:libpng16$secondaryArchSuffix = 16.20.0 compat >= 16
|
||||
lib:libpng16$secondaryArchSuffix = 16.20.0 compat == 16
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
|
||||
Reference in New Issue
Block a user