Skip to content

Commit

Permalink
cmake: update from 3.14.5 to 3.16.2
Browse files Browse the repository at this point in the history
- update to 3.16.2
- apply patch for color/verbose defaults ( #1250 )
  • Loading branch information
wwwutz committed Jan 14, 2020
1 parent 3610cfe commit a649448
Showing 1 changed file with 18 additions and 60 deletions.
78 changes: 18 additions & 60 deletions cmake.be0
Original file line number Diff line number Diff line change
@@ -1,50 +1,17 @@
#!/usr/bin/env beesh

# BEE_VERSION cmake-3.14.5-0

## this file was created by bee init and should be executed to build a
## bee-package. (Additional hints are located at the end of this file.)

###############################################################################
## The source URL(s) define the location of the sources that will be
## downloaded. Version variables may be used to simplify reuse of this bee-file.
# BEE_VERSION cmake-3.16.2-0

SRCURL[0]="https://cmake.org/files/v${PKGVERSION[2]}/cmake-${PKGVERSION}.tar.gz"

###############################################################################
## Add URLs/pathes to patch files to the PATCHURL array.
## The sources will be patched in the order of the array.

# PATCHURL+=()

###############################################################################
## Add filename patterns to the EXCLUDE array of files that should not
## be added to you package but may be present in the image directory.
PATCHURL+=( /src/mariux/patches/cmake-3.16.2-color-off-verbose-on.patch )

# EXCLUDE+=()

###############################################################################
## Uncomment the next statement, if the software may not be able to be build
## outside the source directory and need to be build inside the source
## directory.

# build_in_sourcedir

###############################################################################
## bee cannot detect buildtypes specified in subdirectories.
## Sometimes packages "hide" the real sources in a subdirectory named
## 'src' or 'cmake' or ..
## use 'sourcesubdir_append' to specify this directory if known.

# sourcesubdir_append src


###############################################################################
## Change the default (auto-detected) steps to
## extract, patch, configure/setup, build and install the software.
## Make sure the mee_install function does install everything to the
## image directory "${D}"

#mee_extract() {
# bee_extract "${@}"
#}
Expand All @@ -58,7 +25,6 @@ mee_configure() {
--prefix=/usr \
--docdir=share/doc/cmake-${PKGVERSION[2]} \
--mandir=share/man \
--qt-qmake=/usr/local/qt4/bin/qmake \
--qt-gui
}

Expand All @@ -67,33 +33,25 @@ mee_configure() {
#}

mee_build_post() {
# Two GTK2-mm tests fail (570: GTK2Targets.giomm and
# 572: GTK2Targets.cairomm). This is not surprising,
# its owed to the old C++ abi used at compile time.
# The other two (5: kwsys.testSystemTools & 206: CTest.UpdateCVS)
# fail because they are run as root (ehemmm... :).

# fails:
# 5 - kwsys.testSystemTools (Failed)
# 205 - CTest.UpdateCVS (Failed)
# 210 - CTestCoverageCollectGCOV (Failed)
# 474 - RunCMake.CommandLine (Failed)
# 476 - RunCMake.install (Failed)
# 485 - RunCMake.IfacePaths_INCDIRS (Failed)
# 517 - RunCMake.CPack_TGZ (Failed)
# 594 - CMake.CheckSourceTree (Failed)

make test || true

}

#mee_install() {
# bee_install
#}
## by default this may be 'make install DESTDIR="${D}"'

###############################################################################
##
## Additional hints:
##
## The name of this bee-file should follow the following naming convention:
## pkgname-pkgversion-pkgrevision.bee
##
## You may remove all comments as long as SRCURL[0]="" is set.
##
## Everything in this file will be executed in a bash environment.
##
## Build the package by executing
## './pkg-version-N.bee' or
## 'beesh ./pkg-version-N.bee'
##
## see http://beezinga.org/
##

#mee_install_post() {
# exit
#}

0 comments on commit a649448

Please sign in to comment.