Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #1412 from mariux64/update-graphviz-2.42.0-to-2.42.2
Update graphviz 2.42.0 to 2.42.2
  • Loading branch information
pmenzel committed Oct 24, 2019
2 parents 8c32977 + 5106543 commit 4661f8d
Showing 1 changed file with 43 additions and 55 deletions.
98 changes: 43 additions & 55 deletions graphviz.be0
@@ -1,61 +1,63 @@
#!/usr/bin/env beesh

# BEE_VERSION graphviz-2.42.0-1

## 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 graphviz-2.42.2-0
# by cmd --version, you will get 2.43.0

SRCURL[0]="https://gitlab.com/graphviz/graphviz/-/archive/stable_release_${PKGVERSION}/${PKGNAME}-stable_release_${PKGVERSION}.tar.gz ${PKGNAME}-${PKGVERSION}.tar.gz"

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

# 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.

# EXCLUDE+=()

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

# build_in_sourcedir
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 "${@}"
#}

#mee_patch() {
# bee_patch "${@}"
#}
mee_patch() {
cd ${S}
start_cmd sed -i '/LIBPOSTFIX="64"/s/64//' configure.ac
./autogen.sh &> /dev/null
}

mee_configure() {
bee_configure -DCMAKE_COLOR_MAKEFILE=OFF -DCMAKE_VERBOSE_MAKEFILE=ON \
-DCMAKE_EXE_LINKER_FLAGS=-Wl,-rpath,/usr/lib/graphviz
bee_configure --disable-swig \
--with-webp=no \
--with-poppler=no \
--with-rsvg=no \
--with-visio=no \
--with-gdk=no \
--with-gdk-pixbuf=no \
--with-gtk=no \
--with-gtkgl=no \
--with-gtkglext=no \
--with-gts=no \
--with-ann=no \
--with-glade=no \
--with-qt=no \
--with-smyrna=no \
--with-ortho=no \
--with-digcola=no \
--with-ipsepcola=no \
--disable-sharp \
--disable-go \
--with-ghostscript=no \
--disable-guile \
--disable-lua \
--disable-tcl \
--with-freetype2=no \
--with-fontconfig=no \
--without-x \
--without-glut \
--disable-perl \
--without-libgd
}

#mee_build() {
Expand All @@ -65,22 +67,8 @@ mee_configure() {
#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(){
start_cmd rm -rf ${D}${DATAROOTDIR}/graphviz/doc
}
## by default this may be 'make install DESTDIR="${D}"'

0 comments on commit 4661f8d

Please sign in to comment.