From e887f378ce7860f2a6a48d345b842807d24fe54c Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Sun, 17 Mar 2019 11:33:16 +0300 Subject: imlib2-heic added --- .../imlib2-heic/imlib2-heic-scm.exheres-0 | 6 +++++ packages/media-libs/imlib2-heic/imlib2-heic.exlib | 30 +++++++++++++++++++++ packages/media-libs/libaom/.libaom.exlib.swp | Bin 12288 -> 0 bytes packages/net-im/spectrum/spectrum-scm.exheres-0 | 5 ++++ 4 files changed, 41 insertions(+) create mode 100644 packages/media-libs/imlib2-heic/imlib2-heic-scm.exheres-0 create mode 100644 packages/media-libs/imlib2-heic/imlib2-heic.exlib delete mode 100644 packages/media-libs/libaom/.libaom.exlib.swp (limited to 'packages') diff --git a/packages/media-libs/imlib2-heic/imlib2-heic-scm.exheres-0 b/packages/media-libs/imlib2-heic/imlib2-heic-scm.exheres-0 new file mode 100644 index 0000000..c7fe230 --- /dev/null +++ b/packages/media-libs/imlib2-heic/imlib2-heic-scm.exheres-0 @@ -0,0 +1,6 @@ +# Distributed under the terms of the GNU General Public License v2 +# Copyright 2019 Gluzskiy Alexandr + +require imlib2-heic + +PLATFORMS="~amd64 ~x86" diff --git a/packages/media-libs/imlib2-heic/imlib2-heic.exlib b/packages/media-libs/imlib2-heic/imlib2-heic.exlib new file mode 100644 index 0000000..ec3cfc8 --- /dev/null +++ b/packages/media-libs/imlib2-heic/imlib2-heic.exlib @@ -0,0 +1,30 @@ +# Distributed under the terms of the GNU General Public License v2 +# Copyright 2019 Gluzskiy Alexandr + +require github [ user=vi ] + +export_exlib_phases src_install src_prepare + +SLOT="0" + +SUMMARY="Loader for HEIC for Imlib2 (i.e. for Feh). Based on libheif." + +LICENCES=="BSD-3 LGPL" + +MYOPTIONS="" +DEPENDENCIES=" + build+run: + media-libs/imlib2 + media-libs/libheif +" + +imlib2-heic_src_prepare() { + edo sed "s/pkg-config/$(exhost --target)-pkg-config/g" -i makefile + edo sed 's/strip $@//g' -i makefile + edo sed "s/CC=gcc/CC=$(exhost --target)-cc/g" -i commands.mk +} + +imlib2-heic_src_install() { + edo mkdir -p "${IMAGE}"/usr/$(exhost --target)/lib/imlib2/loaders + edo cp heic.so "${IMAGE}"/usr/$(exhost --target)/lib/imlib2/loaders +} diff --git a/packages/media-libs/libaom/.libaom.exlib.swp b/packages/media-libs/libaom/.libaom.exlib.swp deleted file mode 100644 index 246b8f0..0000000 Binary files a/packages/media-libs/libaom/.libaom.exlib.swp and /dev/null differ diff --git a/packages/net-im/spectrum/spectrum-scm.exheres-0 b/packages/net-im/spectrum/spectrum-scm.exheres-0 index 5ff3942..ba58455 100644 --- a/packages/net-im/spectrum/spectrum-scm.exheres-0 +++ b/packages/net-im/spectrum/spectrum-scm.exheres-0 @@ -1,7 +1,12 @@ # Distributed under the terms of the GNU General Public License v2 # Copyright 2018 Gluzskiy Alexandr +SCM_REVISION="61a247c5d4a748e43599e1733154bb29296fb21f" + require spectrum PLATFORMS="~amd64 ~x86" +#DEFAULT_SRC_PREPARE_PATCHES=( +# "${FILES}"/scm-build-fix.patch +#) -- cgit v1.2.3