Skip to content

Commit

Permalink
Merge pull request #1460 from mariux64/update-evince-3341
Browse files Browse the repository at this point in the history
evince: update to 3.34.1
  • Loading branch information
wwwutz authored Nov 7, 2019
2 parents beaf4aa + ed8afa7 commit 3ccdc36
Show file tree
Hide file tree
Showing 3 changed files with 96 additions and 57 deletions.
38 changes: 38 additions & 0 deletions appstream-glib.be0
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
#!/usr/bin/env beesh

# BEE_VERSION appstream-glib-0.7.16-0


SRCURL[0]="https://github.com/hughsie/appstream-glib/archive/appstream_glib_${PKGVERSION//./_}.tar.gz"

# PATCHURL+=()

# build_in_sourcedir

# sourcesubdir_append src

#mee_extract() {
# bee_extract "${@}"
#}

#mee_patch() {
# bee_patch "${@}"
#}

mee_configure() {
bee_configure \
-Dstemmer=false
}


#mee_build() {
# bee_build
#}

#mee_install() {
# bee_install
#}

#mee_install_post() {
# exit
#}
74 changes: 17 additions & 57 deletions evince.be0
Original file line number Diff line number Diff line change
@@ -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 "${@}"
#}
Expand All @@ -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() {
Expand All @@ -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/
##
41 changes: 41 additions & 0 deletions json-glib.be0
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
#!/usr/bin/env beesh

# BEE_VERSION json-glib-1.4.4-0

SRCURL[0]="https://ftp.gnome.org/pub/gnome/sources/json-glib/${PKGVERSION[2]}/json-glib-${PKGVERSION}.tar.xz"

# PATCHURL+=()

# build_in_sourcedir

# sourcesubdir_append src

BEE_BUILDTYPE=meson

#mee_extract() {
# bee_extract "${@}"
#}

#mee_patch() {
# bee_patch "${@}"
#}

mee_patch_post() {
echo "" > po/LINGUAS
}

#mee_configure() {
#
#}

#mee_build() {
# bee_build
#}

mee_install() {
bee_install
# rm /usr/share/installed-tests
rm -rvf ${D}/usr/share
# rm ./usr/libexec/installed-tests
rm -rvf ${D}/usr/libexec
}

0 comments on commit 3ccdc36

Please sign in to comment.