libx11: fix PROVIDES and policy warnings

This commit is contained in:
François Revol
2016-01-18 15:17:30 +01:00
parent 696dbc70af
commit d56dce1fd5

View File

@@ -66,7 +66,7 @@ COPYRIGHT="2003-2006,2008 Jamey Sharp, Josh Triplett
"
# TODO: check all the licenses in the COPYING file in the next century.
LICENSE="MIT"
REVISION="1"
REVISION="2"
SOURCE_URI="http://xorg.freedesktop.org/releases/individual/lib/libX11-1.6.3.tar.gz"
CHECKSUM_SHA256="0b03b9d22f4c9e59b4ba498f294e297f013cae27050dfa0f3496640200db5376"
SOURCE_DIR="libX11-$portVersion"
@@ -79,15 +79,19 @@ ARCHITECTURES="?x86 x86_gcc2 ?x86_64"
PROVIDES="
libx11$secondaryArchSuffix = $portVersion
lib:libx11$secondaryArchSuffix = $portVersion
lib:libx11$secondaryArchSuffix = 6.3.0 compat >= 6
lib:libx11_xcb$secondaryArchSuffix = 1.0.0 compat >= 1
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libxcb$secondaryArchSuffix
lib:libxau$secondaryArchSuffix
"
PROVIDES_devel="
libx11${secondaryArchSuffix}_devel = $portVersion
devel:libx11$secondaryArchSuffix = $portVersion
devel:libx11$secondaryArchSuffix = 6.3.0 compat >= 6
devel:libx11_xcb$secondaryArchSuffix = 1.0.0 compat >= 1
"
REQUIRES_devel="
libx11$secondaryArchSuffix == $portVersion base
@@ -104,7 +108,7 @@ BUILD_REQUIRES="
devel:xcb_proto$secondaryArchSuffix
devel:libxslt$secondaryArchSuffix
devel:libpthread_stubs$secondaryArchSuffix
devel:libxcb_composite$secondaryArchSuffix
devel:libxcb$secondaryArchSuffix
devel:libxau$secondaryArchSuffix
devel:xextproto$secondaryArchSuffix
"
@@ -132,7 +136,8 @@ INSTALL()
make install
prepareInstalledDevelLibs \
libX11
libX11 \
libX11-xcb
fixPkgconfig