# HG changeset patch # User David Demelier # Date 1566498600 -7200 # Node ID 2a99d51e3ad354777c08ab3266c364962c99459b # Parent 89fe0fbb2e62d2e2d661901816f8e7242ed1284c graphics/wayland: many fixes and rename DOXYGEN to DOCS option diff -r 89fe0fbb2e62 -r 2a99d51e3ad3 graphics/wayland/wayland.sh --- a/graphics/wayland/wayland.sh Thu Aug 22 20:22:00 2019 +0200 +++ b/graphics/wayland/wayland.sh Thu Aug 22 20:30:00 2019 +0200 @@ -20,9 +20,9 @@ PKGREVISION=1 PKGLICENSE="MIT" PKGSUMMARY="displayer server protocol" -PKGDOWNLOAD="https://wayland.freedesktop.org/releases/wayland-1.16.93.tar.xz" +PKGDOWNLOAD="https://wayland.freedesktop.org/releases/$PKGNAME-$PKGVERSION.tar.xz" PKGDEPENDS="lib/expat" -PKGOPTIONS="DTD DOXYGEN" +PKGOPTIONS="DTD DOCS" : ${CHOST:=$(uname -m)-linux-musl} : ${CBUILD:=$(uname -m)-linux-musl} @@ -31,7 +31,7 @@ : ${LDFLAGS:=} : ${LIBS:=} : ${DTD:=yes} -: ${DOXYGEN:=yes} +: ${DOCS:=yes} if [ "$DTD" = "yes" ]; then PKGDEPENDS="text/libxml2 $PKGDEPENDS" @@ -40,11 +40,11 @@ with_dtd="--disable-dtd-validation" fi -if [ "$DOXYGEN" = "yes" ]; then - PKGDEPENDS="dev/doxygen $PKGDEPENDS" - with_doxygen="--enable-documentation" +if [ "$DOCS" = "yes" ]; then + PKGDEPENDS="graphics/graphviz:build dev/doxygen:build text/xmlto:build $PKGDEPENDS" + with_docs="--enable-documentation" else - with_doxygen="--disable-documentation" + with_docs="--disable-documentation" fi build() @@ -62,7 +62,7 @@ --host=$CHOST \ --prefix= \ $with_dtd \ - $with_doxygen + $with_docs make make install DESTDIR=$DESTDIR find $DESTDIR -type f -name "*.la" -delete