Skip to content

Provide cups-filters dependencies libjpeg-turbo and QPDF 8.4.0 #1080

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
34 changes: 16 additions & 18 deletions libjpeg-turbo-1.4.2-0.bee → libjpeg-turbo.be0
@@ -1,9 +1,6 @@
#!/usr/bin/env beesh

# Wed May 18 2016 -- kreitler

# conditionally add BEE_MAKEFLAGS
BEE_MAKEFLAGS=${BEE_MAKEFLAGS:-' -j7 '}
# BEE_VERSION libjpeg-turbo-2.0.2-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.)
Expand All @@ -12,7 +9,7 @@ BEE_MAKEFLAGS=${BEE_MAKEFLAGS:-' -j7 '}
## 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.

SRCURL[0]="http://ftp5.gwdg.de/pub/linux/slackware/slackware64-current/source/l/libjpeg-turbo/libjpeg-turbo-${PKGVERSION}.tar.xz"
SRCURL[0]="https://sourceforge.net/projects/libjpeg-turbo/files/${PKGVERSION}/libjpeg-turbo-${PKGVERSION}.tar.gz"

###############################################################################
## Add URLs/pathes to patch files to the PATCHURL array.
Expand Down Expand Up @@ -41,8 +38,6 @@ SRCURL[0]="http://ftp5.gwdg.de/pub/linux/slackware/slackware64-current/source/l/

# sourcesubdir_append src

[ $UID == 0 ] || PREFIX=/dev/shm/junk

###############################################################################
## Change the default (auto-detected) steps to
## extract, patch, configure/setup, build and install the software.
Expand All @@ -53,26 +48,29 @@ SRCURL[0]="http://ftp5.gwdg.de/pub/linux/slackware/slackware64-current/source/l/
# bee_extract "${@}"
#}

# enforce the usage of 'configure'
mee_patch() {
rm -v ${S}/CMakeLists.txt
# bee_patch "${@}"
}
#mee_patch() {
# bee_patch "${@}"
#}

# --with-jpeg7 Emulate libjpeg v7 API/ABI (this makes libjpeg-turbo
# backward incompatible with libjpeg v6b.)
# ### libjpeg v7 or v8 API/ABI Emulation
#
# Add `-DWITH_JPEG7=1` to the CMake command line to build a version of
# libjpeg-turbo that is API/ABI-compatible with libjpeg v7. Add `-DWITH_JPEG8=1`
# to the CMake command line to build a version of libjpeg-turbo that is
# API/ABI-compatible with libjpeg v8. See [README.md](README.md) for more
# information about libjpeg v7 and v8 emulation.

mee_configure() {
bee_configure --with-jpeg7
bee_configure -DWITH_JPEG7=1
}

#mee_build() {
# bee_build
#}

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

###############################################################################
Expand Down
81 changes: 81 additions & 0 deletions qpdf.be0
@@ -0,0 +1,81 @@
#!/usr/bin/env beesh

# BEE_VERSION qpdf-8.4.0-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.

SRCURL[0]="https://github.com/qpdf/qpdf/releases/download/release-qpdf-${PKGVERSION}/qpdf-${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+=()

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

###############################################################################
## 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_configure() {
bee_configure \
--disable-check-autofiles \
--disable-static
}

#mee_build() {
# bee_build
#}

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