added ogre 3d
more/packages/games.scm
| 23 | 23 | #:use-module ((guix licenses) #:prefix license:) | |
| 24 | 24 | #:use-module (gnu packages) | |
| 25 | 25 | #:use-module (gnu packages audio) | |
| 26 | + | #:use-module (gnu packages boost) | |
| 27 | + | #:use-module (gnu packages check) | |
| 26 | 28 | #:use-module (gnu packages compression) | |
| 29 | + | #:use-module (gnu packages documentation) | |
| 30 | + | #:use-module (gnu packages fontutils) | |
| 27 | 31 | #:use-module (gnu packages gl) | |
| 28 | 32 | #:use-module (gnu packages image) | |
| 29 | 33 | #:use-module (gnu packages pkg-config) | |
| 30 | 34 | #:use-module (gnu packages sdl) | |
| 31 | - | #:use-module (gnu packages xiph)) | |
| 35 | + | #:use-module (gnu packages tbb) | |
| 36 | + | #:use-module (gnu packages xiph) | |
| 37 | + | #:use-module (gnu packages xml) | |
| 38 | + | #:use-module (gnu packages xorg) | |
| 39 | + | #:use-module (gnu packages zip)) | |
| 32 | 40 | ||
| 33 | 41 | (define-public lugaru | |
| 34 | 42 | (package | |
… | |||
| 65 | 73 | nearby den. Turner takes it upon himself to fight against their plot and save | |
| 66 | 74 | his fellow rabbits from slavery.") | |
| 67 | 75 | (license (list license:gpl2+ license:cc-by-sa3.0)))) | |
| 76 | + | ||
| 77 | + | (define-public ogre3d | |
| 78 | + | (package | |
| 79 | + | (name "ogre3d") | |
| 80 | + | (version "1.9.0") | |
| 81 | + | (source (origin | |
| 82 | + | (method url-fetch) | |
| 83 | + | (uri (string-append | |
| 84 | + | "https://bitbucket.org/sinbad/ogre/get/v" | |
| 85 | + | (string-map (lambda (x) (if (char=? x #\.) #\- x)) version) | |
| 86 | + | ".tar.gz")) | |
| 87 | + | (file-name (string-append name "-" version ".tar.gz")) | |
| 88 | + | (sha256 | |
| 89 | + | (base32 | |
| 90 | + | "0p8gyn293qn3iyiy1smfmjd9zpnjb8h2zgvff8778fwh0ylbmlpa")))) | |
| 91 | + | (build-system cmake-build-system) | |
| 92 | + | (native-inputs | |
| 93 | + | `(("doxygen" ,doxygen))) | |
| 94 | + | (inputs | |
| 95 | + | `(("freetype" ,freetype) | |
| 96 | + | ("boost" ,boost) | |
| 97 | + | ("sdl2" ,sdl2) | |
| 98 | + | ("cppunit" ,cppunit) | |
| 99 | + | ("freeimage" ,freeimage) | |
| 100 | + | ("glu" ,glu) | |
| 101 | + | ("libxt" ,libxt) | |
| 102 | + | ("libxaw" ,libxaw) | |
| 103 | + | ("libxxf86vm" ,libxxf86vm) | |
| 104 | + | ("libxrandr" ,libxrandr) | |
| 105 | + | ("mesa" ,mesa) | |
| 106 | + | ("tbb" ,tbb) | |
| 107 | + | ("tinyxml" ,tinyxml) | |
| 108 | + | ("zziplib" ,zziplib))) | |
| 109 | + | (arguments | |
| 110 | + | `(#:tests? #f | |
| 111 | + | #:configure-flags | |
| 112 | + | (list (string-append "-DFREETYPE_FT2BUILD_INCLUDE_DIR=" | |
| 113 | + | (assoc-ref %build-inputs "freetype") | |
| 114 | + | "/include")) | |
| 115 | + | #:phases | |
| 116 | + | (modify-phases %standard-phases | |
| 117 | + | (add-after 'build 'build-doc | |
| 118 | + | (lambda* _ | |
| 119 | + | (zero? (system* "make" "OgreDoc"))))))) | |
| 120 | + | (home-page "http://www.ogre3d.org") | |
| 121 | + | (synopsis "3D graphics engine") | |
| 122 | + | (description "3D graphics engine") | |
| 123 | + | (license license:expat))) | |