summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2019-03-17 11:33:16 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2019-03-17 11:33:16 +0300
commite887f378ce7860f2a6a48d345b842807d24fe54c (patch)
treec7b53e5524a7d1136ce100fe3d1f5996336e4e9b
parenta4a4eabc5395c4500701a5de24693608e2a195e1 (diff)
imlib2-heic added
-rw-r--r--packages/media-libs/imlib2-heic/imlib2-heic-scm.exheres-06
-rw-r--r--packages/media-libs/imlib2-heic/imlib2-heic.exlib30
-rw-r--r--packages/media-libs/libaom/.libaom.exlib.swpbin12288 -> 0 bytes
-rw-r--r--packages/net-im/spectrum/spectrum-scm.exheres-05
4 files changed, 41 insertions, 0 deletions
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 <sss@sss.chaoslab.ru>
+
+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 <sss@sss.chaoslab.ru>
+
+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
--- a/packages/media-libs/libaom/.libaom.exlib.swp
+++ /dev/null
Binary files 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 <sss@sss.chaoslab.ru>
+SCM_REVISION="61a247c5d4a748e43599e1733154bb29296fb21f"
+
require spectrum
PLATFORMS="~amd64 ~x86"
+#DEFAULT_SRC_PREPARE_PATCHES=(
+# "${FILES}"/scm-build-fix.patch
+#)