Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 308241 Details for
Bug 411295
new ebuild: games-engines/openmw
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
openmw-0.13.0-cmake.patch
openmw-0.13.0-cmake.patch (text/plain), 2.48 KB, created by
Julian Ospald
on 2012-04-08 21:57:54 UTC
(
hide
)
Description:
openmw-0.13.0-cmake.patch
Filename:
MIME Type:
Creator:
Julian Ospald
Created:
2012-04-08 21:57:54 UTC
Size:
2.48 KB
patch
obsolete
>From: hasufell <julian.ospald@googlemail.com> >Date: Sun Apr 8 18:48:34 UTC 2012 > >add proper install rules > >--- CMakeLists.txt >+++ CMakeLists.txt >@@ -32,6 +32,14 @@ > option(USE_MPG123 "use mpg123 + libsndfile for sound" ON) > > find_program(DPKG_PROGRAM dpkg DOC "dpkg program of Debian-based systems") >+ >+# paths >+set(BINDIR "bin" CACHE PATH "Where to install binaries") >+set(DATAROOTDIR "${CMAKE_INSTALL_PREFIX}/share" CACHE PATH "Sets the root of data directories to a non-default location") >+set(DATADIR "${CMAKE_INSTALL_PREFIX}/share/openmw" CACHE PATH "Sets the openmw data directories to a non-default location") >+set(DOCDIR "${DATAROOTDIR}/doc/openmw" CACHE PATH "Sets the doc directory to a non-default location.") >+set(MANDIR "${DATAROOTDIR}/man" CACHE PATH "Where to install manpages") >+set(SYSCONFDIR "" CACHE PATH "Set config dir") > > # Location of morrowind data files > if(DPKG_PROGRAM) >@@ -42,8 +50,8 @@ > set(MORROWIND_DATA_FILES "./data" CACHE PATH "location of Morrowind data files") > set(MORROWIND_RESOURCE_FILES "./resources" CACHE PATH "location of OpenMW resources files") > else() >- set(MORROWIND_DATA_FILES "data" CACHE PATH "location of Morrowind data files") >- set(MORROWIND_RESOURCE_FILES "resources" CACHE PATH "location of OpenMW resources files") >+ set(MORROWIND_DATA_FILES "/usr/share/games/openmw/data/" CACHE PATH "location of Morrowind data files") >+ set(MORROWIND_RESOURCE_FILES "${DATADIR}/resources" CACHE PATH "location of OpenMW resources files") > endif(APPLE) > endif(DPKG_PROGRAM) > >@@ -574,3 +582,23 @@ > set(CMAKE_CXX_FLAGS "-arch i386") > > endif (APPLE) >+ >+ >+## Linux building >+ >+# Install binaries >+INSTALL(PROGRAMS "${OpenMW_BINARY_DIR}/openmw" DESTINATION ${BINDIR} ) >+INSTALL(PROGRAMS "${OpenMW_BINARY_DIR}/omwlauncher" DESTINATION ${BINDIR} ) >+INSTALL(PROGRAMS "${OpenMW_BINARY_DIR}/esmtool" DESTINATION ${BINDIR} ) >+ >+# Install icon >+INSTALL(FILES "${OpenMW_SOURCE_DIR}/apps/launcher/resources/images/openmw.png" DESTINATION "share/pixmaps/") >+ >+# Install global configuration files >+INSTALL(FILES "${OpenMW_BINARY_DIR}/openmw.cfg.install" DESTINATION ${SYSCONFDIR} RENAME "openmw.cfg" ) >+INSTALL(FILES "${OpenMW_BINARY_DIR}/plugins.cfg" DESTINATION ${SYSCONFDIR} ) >+INSTALL(FILES "${OpenMW_SOURCE_DIR}/files/launcher.cfg" DESTINATION ${SYSCONFDIR} ) >+ >+# Install resources >+INSTALL(DIRECTORY "${OpenMW_BINARY_DIR}/resources" DESTINATION ${DATADIR} ) >+INSTALL(FILES "${OpenMW_BINARY_DIR}/launcher.qss" DESTINATION "${DATADIR}/resources" )
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 411295
:
308239
| 308241 |
315345
|
315347
|
315437
|
315439
|
315441
|
316965
|
325876
|
325878
|
325880