gnu: freedink: Make "freedink-engine" and "freedink-data" public.
* gnu/packages/games.scm: (freedink-engine): Make public. [arguments]: Add 'delete-freedinkedit-desktop' phase. (freedink-data): Make public. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
		
							parent
							
								
									4423cadc9a
								
							
						
					
					
						commit
						0fa3d89fbc
					
				
					 1 changed files with 12 additions and 3 deletions
				
			
		| 
						 | 
					@ -2726,7 +2726,7 @@ interface or via an external visual interface such as GNU XBoard.")
 | 
				
			||||||
                  (ftp-directory . "/chess")))
 | 
					                  (ftp-directory . "/chess")))
 | 
				
			||||||
    (license license:gpl3+)))
 | 
					    (license license:gpl3+)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define freedink-engine
 | 
					(define-public freedink-engine
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "freedink-engine")
 | 
					    (name "freedink-engine")
 | 
				
			||||||
    (version "109.6")
 | 
					    (version "109.6")
 | 
				
			||||||
| 
						 | 
					@ -2756,7 +2756,16 @@ interface or via an external visual interface such as GNU XBoard.")
 | 
				
			||||||
	     (invoke "autoreconf")
 | 
						     (invoke "autoreconf")
 | 
				
			||||||
	     ;; Build fails when autom4te.cache exists.
 | 
						     ;; Build fails when autom4te.cache exists.
 | 
				
			||||||
	     (delete-file-recursively "autom4te.cache")
 | 
						     (delete-file-recursively "autom4te.cache")
 | 
				
			||||||
             #t)))))
 | 
					             #t))
 | 
				
			||||||
 | 
					         (add-after 'install 'delete-freedinkedit-desktop
 | 
				
			||||||
 | 
					           (lambda* (#:key outputs #:allow-other-keys)
 | 
				
			||||||
 | 
					             (let ((out (assoc-ref outputs "out")))
 | 
				
			||||||
 | 
					             ;; freedinkedit does not know where to find freedink data
 | 
				
			||||||
 | 
					             ;; freedink data is read-only, so it cannot be edited anyway.
 | 
				
			||||||
 | 
					             ;; TODO: fix freedink.desktop
 | 
				
			||||||
 | 
					             (delete-file-recursively (string-append
 | 
				
			||||||
 | 
					                            out "/share/applications"))
 | 
				
			||||||
 | 
					             #t))))))
 | 
				
			||||||
    (native-inputs `(("autoconf" ,autoconf)
 | 
					    (native-inputs `(("autoconf" ,autoconf)
 | 
				
			||||||
                     ("automake" ,automake)
 | 
					                     ("automake" ,automake)
 | 
				
			||||||
                     ("cxxtest" ,cxxtest)
 | 
					                     ("cxxtest" ,cxxtest)
 | 
				
			||||||
| 
						 | 
					@ -2778,7 +2787,7 @@ game data files but it also supports user-produced game mods or \"D-Mods\".
 | 
				
			||||||
To that extent, it also includes a front-end for managing all of your D-Mods.")
 | 
					To that extent, it also includes a front-end for managing all of your D-Mods.")
 | 
				
			||||||
    (license license:gpl3+)))
 | 
					    (license license:gpl3+)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define freedink-data
 | 
					(define-public freedink-data
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "freedink-data")
 | 
					    (name "freedink-data")
 | 
				
			||||||
    (version "1.08.20190120")
 | 
					    (version "1.08.20190120")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue