[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#34283] [PATCH-4/4]Add: address@hidden
From: |
Yoshinori Arai |
Subject: |
[bug#34283] [PATCH-4/4]Add: address@hidden |
Date: |
Fri, 8 Feb 2019 16:27:00 +0900 |
User-agent: |
NeoMutt/20180716 |
>From 624bcd336536880cf802e87bb25aeac8aac97c0a Mon Sep 17 00:00:00 2001
From: Yoshinori Arai <address@hidden>
Date: Fri, 8 Feb 2019 13:07:44 +0900
Subject: [PATCH 4/4] Add: address@hidden
---
gnu/packages/graphics.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index 03b411a50..325a9dd51 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -944,3 +944,35 @@ requirements.")
(sha256
(base32
"0ap2b6n20lnvdm06x91qawk1k8jmxnf7zffxrqxw60fgqd4whwjm"))))))
+
+(define-public mypaint-2
+ (package (inherit mypaint)
+ (version "2.0.0-alpha.2")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/mypaint/mypaint/"
+ "archive/v" version ".tar.gz"))
+ (sha256
+ (base32
+ "0nmcvma2vg2iqlvg8v96d3mppc5cn46591hh8jhppgibcvifc81m"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:python ,python-2
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-for-buildconfig-and-test
+ (lambda _
+ (for-each make-file-writable (find-files "." ".*"))
+ ;; FATAL: Cannot create cache dir '/homeless-shelter
+ (setenv "HOME" "/tmp")))
+ (add-before 'build 'set-cflags
+ (lambda _
+ (setenv "CFLAGS" "-Ofast -ftree-vectorize
-fopt-info-vec-optimized -march=native -mtune=native
-funsafe-math-optimizations -funsafe-loop-optimizations")))
+ (replace 'install
+ (lambda _
+ (invoke "python" "setup.py" "managed_install"
+ (string-append "--prefix=" (assoc-ref %outputs
"out"))))))))
+ (inputs
+ `(("gettext" ,gettext-minimal)
+ ("libmypaint" ,libmypaint-2)
+ ("mypaint-brushes" ,mypaint-brushes-2)))))
--
2.20.1
- [bug#34283] [PATCH]Add: mypaint, (continued)
[bug#34283] [PATCH]Add: mypaint, Yoshinori Arai, 2019/02/07
[bug#34283] [PATCH-1/4]Add: address@hidden, Yoshinori Arai, 2019/02/08
[bug#34283] [PATCH-2/4]Add: address@hidden, Yoshinori Arai, 2019/02/08
[bug#34283] [PATCH-3/4]Add: address@hidden, Yoshinori Arai, 2019/02/08
[bug#34283] [PATCH-4/4]Add: address@hidden,
Yoshinori Arai <=