mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-19 01:46:00 +01:00
doxygen: bump version to 1.14.0 (#12793)
* cleanup dependencies * add tests * build the GUI in another build directory
This commit is contained in:
@@ -16,18 +16,18 @@ Doxygen can also visualize the relations between the various elements \
|
|||||||
by means of include dependency graphs, inheritance diagrams, and \
|
by means of include dependency graphs, inheritance diagrams, and \
|
||||||
collaboration diagrams, which are all generated automatically."
|
collaboration diagrams, which are all generated automatically."
|
||||||
HOMEPAGE="http://www.doxygen.org/"
|
HOMEPAGE="http://www.doxygen.org/"
|
||||||
COPYRIGHT="1997-2024 Dimitri van Heesch"
|
COPYRIGHT="1997-2025 Dimitri van Heesch"
|
||||||
LICENSE="GNU GPL v2"
|
LICENSE="GNU GPL v2"
|
||||||
REVISION="2"
|
REVISION="1"
|
||||||
SOURCE_URI="https://github.com/doxygen/doxygen/archive/Release_${portVersion//./_}.tar.gz"
|
SOURCE_URI="https://github.com/doxygen/doxygen/archive/Release_${portVersion//./_}.tar.gz"
|
||||||
CHECKSUM_SHA256="5ca35e1258020df5fe8b21c3656aed156c317def4a81b7fe52f452edc9f35768"
|
CHECKSUM_SHA256="5663bf33e979381f470c2f4055c3b162e0abe41bdd6c5dccefd8d8775780bcc3"
|
||||||
SOURCE_DIR="doxygen-Release_${portVersion//./_}"
|
SOURCE_DIR="doxygen-Release_${portVersion//./_}"
|
||||||
ADDITIONAL_FILES="doxygen.rdef.in"
|
ADDITIONAL_FILES="doxygen.rdef.in"
|
||||||
|
|
||||||
ARCHITECTURES="all !x86_gcc2"
|
ARCHITECTURES="all !x86_gcc2"
|
||||||
SECONDARY_ARCHITECTURES="x86"
|
SECONDARY_ARCHITECTURES="x86"
|
||||||
|
|
||||||
portVersionCompat="$portVersion compat >= 1.12"
|
portVersionCompat="$portVersion compat >= 1.14"
|
||||||
|
|
||||||
PROVIDES="
|
PROVIDES="
|
||||||
doxygen$secondaryArchSuffix = $portVersionCompat
|
doxygen$secondaryArchSuffix = $portVersionCompat
|
||||||
@@ -45,31 +45,36 @@ BUILD_REQUIRES="
|
|||||||
BUILD_PREREQUIRES="
|
BUILD_PREREQUIRES="
|
||||||
cmd:bison
|
cmd:bison
|
||||||
cmd:cmake
|
cmd:cmake
|
||||||
cmd:date
|
|
||||||
cmd:flex
|
cmd:flex
|
||||||
cmd:git
|
|
||||||
cmd:gcc$secondaryArchSuffix
|
cmd:gcc$secondaryArchSuffix
|
||||||
cmd:ld$secondaryArchSuffix
|
cmd:ld$secondaryArchSuffix
|
||||||
cmd:make
|
cmd:make
|
||||||
cmd:perl
|
|
||||||
cmd:python3
|
cmd:python3
|
||||||
cmd:sed
|
"
|
||||||
|
|
||||||
|
TEST_REQUIRES="
|
||||||
|
#cmd:bibtex # needed for test 12, but that doesn't work
|
||||||
|
cmd:diff
|
||||||
|
#cmd:perl # needed for test 12, but that doesn't work
|
||||||
"
|
"
|
||||||
|
|
||||||
BUILD()
|
BUILD()
|
||||||
{
|
{
|
||||||
# doesn't use GNUInstallDirs so we can't use $cmakeDirArgs
|
cmake -Bbuild -S. -DCMAKE_BUILD_TYPE=Release \
|
||||||
cmake . -DCMAKE_BUILD_TYPE=Release \
|
|
||||||
$cmakeDirArgs \
|
$cmakeDirArgs \
|
||||||
-DCMAKE_INSTALL_BINDIR=$prefix/bin \
|
-DCMAKE_INSTALL_BINDIR=$prefix/bin \
|
||||||
-Dbuild_wizard=OFF
|
-Dbuild_wizard=OFF
|
||||||
make $jobArgs
|
make -Cbuild $jobArgs
|
||||||
}
|
}
|
||||||
|
|
||||||
INSTALL()
|
INSTALL()
|
||||||
{
|
{
|
||||||
make install
|
make -Cbuild install
|
||||||
install -d "$manDir"/man1
|
}
|
||||||
sed -e "s/@VERSION@/$portVersion/;" -e "s/@DATE@/`date -r VERSION \
|
|
||||||
+%F`/;" doc/doxygen.1 > "$manDir"/man1/doxygen.1
|
TEST()
|
||||||
|
{
|
||||||
|
#The following tests FAILED:
|
||||||
|
# 12 - 012_cite (Failed)
|
||||||
|
ctest --test-dir build --output-on-failure
|
||||||
}
|
}
|
||||||
@@ -16,11 +16,11 @@ Doxygen can also visualize the relations between the various elements \
|
|||||||
by means of include dependency graphs, inheritance diagrams, and \
|
by means of include dependency graphs, inheritance diagrams, and \
|
||||||
collaboration diagrams, which are all generated automatically."
|
collaboration diagrams, which are all generated automatically."
|
||||||
HOMEPAGE="http://www.doxygen.org/"
|
HOMEPAGE="http://www.doxygen.org/"
|
||||||
COPYRIGHT="1997-2024 Dimitri van Heesch"
|
COPYRIGHT="1997-2025 Dimitri van Heesch"
|
||||||
LICENSE="GNU GPL v2"
|
LICENSE="GNU GPL v2"
|
||||||
REVISION="1"
|
REVISION="1"
|
||||||
SOURCE_URI="https://github.com/doxygen/doxygen/archive/Release_${portVersion//./_}.tar.gz"
|
SOURCE_URI="https://github.com/doxygen/doxygen/archive/Release_${portVersion//./_}.tar.gz"
|
||||||
CHECKSUM_SHA256="5ca35e1258020df5fe8b21c3656aed156c317def4a81b7fe52f452edc9f35768"
|
CHECKSUM_SHA256="5663bf33e979381f470c2f4055c3b162e0abe41bdd6c5dccefd8d8775780bcc3"
|
||||||
SOURCE_DIR="doxygen-Release_${portVersion//./_}"
|
SOURCE_DIR="doxygen-Release_${portVersion//./_}"
|
||||||
ADDITIONAL_FILES="doxygen.rdef.in"
|
ADDITIONAL_FILES="doxygen.rdef.in"
|
||||||
|
|
||||||
@@ -50,30 +50,25 @@ BUILD_REQUIRES="
|
|||||||
BUILD_PREREQUIRES="
|
BUILD_PREREQUIRES="
|
||||||
cmd:bison
|
cmd:bison
|
||||||
cmd:cmake
|
cmd:cmake
|
||||||
cmd:date
|
|
||||||
cmd:flex
|
cmd:flex
|
||||||
cmd:git
|
|
||||||
cmd:gcc$secondaryArchSuffix
|
cmd:gcc$secondaryArchSuffix
|
||||||
cmd:ld$secondaryArchSuffix
|
cmd:ld$secondaryArchSuffix
|
||||||
cmd:make
|
cmd:make
|
||||||
cmd:perl
|
|
||||||
cmd:python3
|
cmd:python3
|
||||||
cmd:sed
|
|
||||||
"
|
"
|
||||||
|
|
||||||
BUILD()
|
BUILD()
|
||||||
{
|
{
|
||||||
# doesn't use GNUInstallDirs so we can't use $cmakeDirArgs
|
cmake -Bbuild-gui -S. -DCMAKE_BUILD_TYPE=Release \
|
||||||
cmake -Bbuild -S. -DCMAKE_BUILD_TYPE=Release \
|
|
||||||
$cmakeDirArgs \
|
$cmakeDirArgs \
|
||||||
-DCMAKE_INSTALL_BINDIR=$prefix/bin \
|
-DCMAKE_INSTALL_BINDIR=$prefix/bin \
|
||||||
-Dbuild_wizard=ON
|
-Dbuild_wizard=ON
|
||||||
make -Cbuild $jobArgs
|
make -Cbuild-gui $jobArgs
|
||||||
}
|
}
|
||||||
|
|
||||||
INSTALL()
|
INSTALL()
|
||||||
{
|
{
|
||||||
make -Cbuild install
|
make -Cbuild-gui install
|
||||||
|
|
||||||
# use base cmd:doxygen
|
# use base cmd:doxygen
|
||||||
rm -rf $prefix/bin/doxygen
|
rm -rf $prefix/bin/doxygen
|
||||||
Reference in New Issue
Block a user