1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00

x11/libxcb: Update to 1.14

Update x11/libxcb to 1.14.
Clean up the makefile:
* Remove the dependency on check and libxslt, they are only needed for tests
  which aren't built and installed anyway.
* No need to use gmake
* Correct configure options
* Have libxcb use pkgconfig to figure out cflags and ldflags, instead of
  hardcoding some cflags and ldflags in the Makefile.
This commit is contained in:
Niclas Zeising 2020-09-13 17:00:01 +00:00
parent 079e4f2ad4
commit d3728889b8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=548487
2 changed files with 7 additions and 24 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= libxcb
PORTVERSION= 1.13.1
PORTVERSION= 1.14
CATEGORIES= x11 python
MASTER_SITES= https://xcb.freedesktop.org/dist/
@ -12,33 +12,16 @@ COMMENT= The X protocol C-language Binding (XCB) library
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${LOCALBASE}/lib/libcheck.a:devel/check \
xcb-proto>=1.9:x11/xcb-proto \
BUILD_DEPENDS= xcb-proto>=1.9:x11/xcb-proto \
${LOCALBASE}/libdata/pkgconfig/pthread-stubs.pc:devel/libpthread-stubs
RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/pthread-stubs.pc:devel/libpthread-stubs
CONFIGURE_ARGS+= --disable-build-docs --without-doxygen --enable-xinput
CONFIGURE_ARGS= --disable-devel-docs --without-doxygen --enable-xinput --enable-xkb
USES= cpe gmake gnome python:build xorg xorg-cat:lib
USE_GNOME= libxslt:build
USES= cpe python:build tar:xz xorg xorg-cat:lib
USE_XORG= xau xdmcp
INSTALL_TARGET= install-strip
CPE_VENDOR= x
OPTIONS_DEFINE= DOCS
.for f in XPROTO_CFLAGS XPROTO_LIBS XDMCP_CFLAGS XDMCP_LIBS NEEDED_CFLAGS NEEDED_LIBS
CONFIGURE_ARGS+=${f}="${${f}}"
.endfor
CONFIGURE_ARGS+=--enable-xkb
NEEDED_CFLAGS= -I${LOCALBASE}/include
NEEDED_LIBS= -L${LOCALBASE}/lib -lXau `pkg-config --libs pthread-stubs`
XDMCP_CFLAGS= -I${LOCALBASE}/include
XDMCP_LIBS= -L${LOCALBASE}/lib -lXdmcp
XPROTO_CFLAGS= -I${LOCALBASE}/include
XPROTO_LIBS= -L${LOCALBASE}/lib
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1538162049
SHA256 (xorg/lib/libxcb-1.13.1.tar.bz2) = a89fb7af7a11f43d2ce84a844a4b38df688c092bf4b67683aef179cdf2a647c4
SIZE (xorg/lib/libxcb-1.13.1.tar.bz2) = 506778
TIMESTAMP = 1599995472
SHA256 (xorg/lib/libxcb-1.14.tar.xz) = a55ed6db98d43469801262d81dc2572ed124edc3db31059d4e9916eb9f844c34
SIZE (xorg/lib/libxcb-1.14.tar.xz) = 439404