Mercurial > vanilla
changeset 828:2a99d51e3ad3
graphics/wayland: many fixes and rename DOXYGEN to DOCS option
author | David Demelier <markand@malikania.fr> |
---|---|
date | Thu, 22 Aug 2019 20:30:00 +0200 |
parents | 89fe0fbb2e62 |
children | e6d4973b209d |
files | graphics/wayland/wayland.sh |
diffstat | 1 files changed, 8 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- 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