From ed8afa7ecde1c3b51dcd5e77d3d754313ae34baf Mon Sep 17 00:00:00 2001 From: Peter Marquardt Date: Thu, 7 Nov 2019 11:36:15 +0100 Subject: [PATCH] evince: update to 3.34.1 - rebuild --- evince.be0 | 74 +++++++++++++----------------------------------------- 1 file changed, 17 insertions(+), 57 deletions(-) diff --git a/evince.be0 b/evince.be0 index cf0b5b596..2972800b5 100755 --- a/evince.be0 +++ b/evince.be0 @@ -1,52 +1,21 @@ #!/usr/bin/env beesh -# BEE_VERSION evince-3.30.0-1 +# BEE_VERSION evince-3.34.1-1 -BEE_BUILDTYPE=configure - -## 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.) +# requires: +# bee update json-glib-1.4.4-0 +# bee update appstream-glib-0.7.16-0 -############################################################################### -## 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_BUILDTYPE=configure SRCURL[0]="https://download.gnome.org/sources/evince/${PKGVERSION[2]}/evince-${PKGVERSION}.tar.xz" -############################################################################### -## 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. - -# 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 "${@}" #} @@ -56,7 +25,13 @@ SRCURL[0]="https://download.gnome.org/sources/evince/${PKGVERSION[2]}/evince-${P #} mee_configure() { - bee_configure --enable-introspection --disable-static + bee_configure \ + --enable-introspection \ + --disable-static \ + --disable-nls \ + --disable-libgnome-desktop \ + --disable-nautilus \ + --disable-thumbnailer } #mee_build() { @@ -69,25 +44,10 @@ mee_configure() { ## by default this may be 'make install DESTDIR="${D}"' mee_install_post() { - start_cmd mv -v ${D}${DATAROOTDIR}/applications/{org.gnome.Evince-previewer,evince-previewer}.desktop - start_cmd mv -v ${D}${DATAROOTDIR}/applications/{org.gnome.Evince,evince}.desktop + start_cmd mv -v ${D}${DATAROOTDIR}/applications/{org.gnome.Evince-previewer,evince-previewer}.desktop + start_cmd mv -v ${D}${DATAROOTDIR}/applications/{org.gnome.Evince,evince}.desktop + for i in bg ca cs da de el en_GB es eu fi fr gl hu id it ja ko lv nl oc pl pt_BR ro ru sl sr sv te uk vi zh_CN zh_HK zh_TW; do + rm -rf ${D}/usr/share/help/${i} + done } - -############################################################################### -## -## 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/ -##