summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--metadata/repository_mask.conf5
-rw-r--r--packages/media-gfx/nomacs/nomacs-3.8.1.exheres-02
-rw-r--r--packages/media-gfx/nomacs/nomacs-scm.exheres-010
-rw-r--r--packages/media-gfx/nomacs/nomacs.exlib3
4 files changed, 18 insertions, 2 deletions
diff --git a/metadata/repository_mask.conf b/metadata/repository_mask.conf
new file mode 100644
index 0000000..2cbf4b7
--- /dev/null
+++ b/metadata/repository_mask.conf
@@ -0,0 +1,5 @@
+media-gfx/nomacs[~scm] [[
+ date = [ 28 Jun 2018 ]
+ token = scm
+ description = [ Mask scm version, does not builds ]
+]]
diff --git a/packages/media-gfx/nomacs/nomacs-3.8.1.exheres-0 b/packages/media-gfx/nomacs/nomacs-3.8.1.exheres-0
index d9388e4..a7f1a68 100644
--- a/packages/media-gfx/nomacs/nomacs-3.8.1.exheres-0
+++ b/packages/media-gfx/nomacs/nomacs-3.8.1.exheres-0
@@ -1,7 +1,5 @@
# Distributed under the terms of the GNU General Public License v2
-WORK="${WORK}"/ImageLounge
-
require nomacs
PLATFORMS="~amd64 ~x86"
diff --git a/packages/media-gfx/nomacs/nomacs-scm.exheres-0 b/packages/media-gfx/nomacs/nomacs-scm.exheres-0
new file mode 100644
index 0000000..17b985d
--- /dev/null
+++ b/packages/media-gfx/nomacs/nomacs-scm.exheres-0
@@ -0,0 +1,10 @@
+# Distributed under the terms of the GNU General Public License v2
+
+require nomacs
+PLATFORMS="~amd64 ~x86"
+
+#for some reason github in scm mode + cmake exlibs causing problems, this workaround is necessary
+pkg_setup() {
+ edo mkdir "${WORKBASE}"/build
+ edo chmod 777 "${WORKBASE}"/build
+}
diff --git a/packages/media-gfx/nomacs/nomacs.exlib b/packages/media-gfx/nomacs/nomacs.exlib
index 570d9ac..519dfa0 100644
--- a/packages/media-gfx/nomacs/nomacs.exlib
+++ b/packages/media-gfx/nomacs/nomacs.exlib
@@ -1,5 +1,8 @@
# Distributed under the terms of the GNU General Public License v2
+
+WORK="${WORK}"/ImageLounge
+
require cmake [ api=2 ]
require github