From a5d09fa6902a9ffe90fa24a91d1d57e813e48553 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Sat, 25 Jan 2020 22:29:21 +0100 Subject: [PATCH] media-libs/libsixel: initial import of version 1.8.6 --- .../libsixel/libsixel-1.8.6.exheres-0 | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 packages/media-libs/libsixel/libsixel-1.8.6.exheres-0 diff --git a/packages/media-libs/libsixel/libsixel-1.8.6.exheres-0 b/packages/media-libs/libsixel/libsixel-1.8.6.exheres-0 new file mode 100644 index 0000000..06200ce --- /dev/null +++ b/packages/media-libs/libsixel/libsixel-1.8.6.exheres-0 @@ -0,0 +1,49 @@ +# Copyright 2020 Julian Ospald +# Distributed under the terms of the GNU General Public License v2 + +require github [ user="saitoha" release="v${PV}" suffix="tar.gz" ] +require bash-completion zsh-completion + +SUMMARY="A lightweight, fast implementation of DEC SIXEL graphics codec" + +LICENCES="MIT public-domain" +SLOT="0" +PLATFORMS="~amd64 ~x86" +MYOPTIONS=" + ( providers: ijg-jpeg jpeg-turbo ) [[ number-selected = exactly-one ]] +" + +DEPENDENCIES=" + build: + virtual/pkg-config + build+run: + dev-libs/glib:2 + media-libs/gd + media-libs/libpng:= + net-misc/curl + sys-libs/zlib + x11-libs/gdk-pixbuf:2.0 + providers:ijg-jpeg? ( media-libs/jpeg:= ) + providers:jpeg-turbo? ( media-libs/libjpeg-turbo ) +" + +BUGS_TO="hasufell@posteo.de" + +DEFAULT_SRC_CONFIGURE_PARAMS=( + --disable-python + --with-bash-completion-dir=${BASHCOMPLETIONDIR} + --with-curl + --with-gd + --with-gdk-pixbuf2 + --with-jpeg + --with-png + --with-zshcompletiondir=${ZSHCOMPLETIONDIR} + ) + +WORK=${WORKBASE}/sixel-${PV} + +src_install() { + default + emagicdocs +} +