diff options
Diffstat (limited to 'sci-electronics/Stage')
-rw-r--r-- | sci-electronics/Stage/Manifest | 10 | ||||
-rw-r--r-- | sci-electronics/Stage/Stage-4.1.1.ebuild | 38 | ||||
-rw-r--r-- | sci-electronics/Stage/Stage-4.3.0.ebuild | 39 | ||||
-rw-r--r-- | sci-electronics/Stage/Stage-9999.ebuild | 38 | ||||
-rw-r--r-- | sci-electronics/Stage/files/Stage-4.1.1-gcc6.patch | 95 | ||||
-rw-r--r-- | sci-electronics/Stage/files/libdir.patch | 64 | ||||
-rw-r--r-- | sci-electronics/Stage/metadata.xml | 11 |
7 files changed, 295 insertions, 0 deletions
diff --git a/sci-electronics/Stage/Manifest b/sci-electronics/Stage/Manifest new file mode 100644 index 000000000000..c48d62ac0f27 --- /dev/null +++ b/sci-electronics/Stage/Manifest @@ -0,0 +1,10 @@ +AUX Stage-4.1.1-gcc6.patch 6713 SHA256 04400eb3d023c00126412094d0036dabf04f75da744343d19fe2a824f264f7ec SHA512 972add3c8f690003ea08a5734015ef9dafe7fa87208af54f59f91b30374f20a9d05cba6bacb2ee4b1415e421ae3f1a3cd82deaae7014fc8a823c11a6d4dab0e4 WHIRLPOOL d3101b255d62d3b3a44cfde941856861a5c30d60ab6b20f99a63b4b680c6ab431b4ed20c9b556b3c4aabdcf170429e4ea303a509b2c29d5b342aa12e20c99f43 +AUX libdir.patch 2638 SHA256 6e578a97b6370b337281d87836c8558b1847dbc4c1868bbc7ac6fce3283fbc34 SHA512 78cf1bfbc15cb5f1ba7c091a39cf3f356aba1dd8c90c319ae30d8655691a0d449e28fbcf0ec59bcb5a457ec59ebe061edd6fa30f11fd0e5f99748ee6f6abcc02 WHIRLPOOL 48697aeea74bbbeac8b5c03dad1ca2267ac1a357608f83b2d8c28d5ed4d1873735841a28b5237929dcd95cd9d7880361cb8ab5280b783759903f2924e6d50697 +DIST Stage-4.1.1.tar.gz 1014322 SHA256 0f115024db427a72c92c85d0987ca10b8dbc55fd756ae7f51e0277c389039498 SHA512 db39135ab2b93925dd0bfbec19d8c2820e3d6ba7caf3cf5f4b617fbdfa76b720ad99f21fde0a08559ab905d819325f5391b29deb7b6af7bb72f522ac15eb5bf2 WHIRLPOOL 7305f903ac7fea4798d11abe64774b401659ace0b5ea840b339c6433bf68da5712abbeeee0f031e668da3f00c2529c15f0a854b38cea2f6780d854658c611e8b +DIST Stage-4.3.0.tar.gz 1039133 SHA256 f32cb6887146441fd34671975fa81ea76438ce447bc68a0a6a1b62b5233ad2d6 SHA512 37abf63c3a187dc2521c80d504aaef4b7eeef861cbbdce488a7d1c14e7e6eb6f84e010e014b1a3cb81f4ca9ccbebc564a32ffa7ba7b50458c50436216bd8250f WHIRLPOOL cc3b4789215809dc3d4b9cd6f4441ad4bceaa2991a3b92fd0e9a934b771ec0a794e665d54aa9818b9809dfc13897b5f8c70e3af6585bc3ae4a3e2340e1585172 +EBUILD Stage-4.1.1.ebuild 737 SHA256 957370fb02fa203534556586a3a2f4483d46c711b228de6f2b9fe485790cb50a SHA512 1d7b79e637774d894417ed3f6d3a5ba7fad29ab93c6c0d34ea84c83d79d77a2e5d910a9873e02d00bc5884a8710d677cfa58e77cabbae8414f097278234e289f WHIRLPOOL 83d7288821a5e6869736f0727d5f79ca78df856add99853d32d7e6db5f3d8ce22deb0da45ec7182f5fc7c7bbc6334a824856bc9ccbff297a6b7dd6b4ce443f09 +EBUILD Stage-4.3.0.ebuild 756 SHA256 cb563d4ecbee56944e975e02b2de62dcf373b951013aba35eb782e09b380c4ff SHA512 80bd957cdee5cd700e0a655fe7e35e2ed4ae755712577a1bb5834d040d0ec050cce66bc83c59bbe31ed74577237cc0fc9974bb4549a5f34fcf30bc31711a79f0 WHIRLPOOL 2026beb0a650c1963420e66c1ee20ed88c614f5ecbf1cbbfec04d100e9b29dc578cda3b2607de08dcbd289cf9f0bb922a5cb8e5c87ae1dd2a38037172ec4659f +EBUILD Stage-9999.ebuild 717 SHA256 72d36619dd0deada745b4506ec9fc0036dc4dd5499ace227ccfbc8594707788f SHA512 18d3a92336fe26cac99e50d7efbf25437b0e5924dec6ab9a8c5076323fc0fde23bc3ac7d58b2b56f70d45a4107623c4c659d736674e09fcfea4145a6910aa585 WHIRLPOOL af813a5e1d394fbb837d33125b8d15900cfd780953f79b5873c845d2aefe5e74216ff872cb88af48dd919199b2a195caddd18b6feda09708f74c4771cd0cb793 +MISC ChangeLog 2665 SHA256 c87911b403e4bf4e1ce068a0146f7047451ef2f305bc017cdc7c3473a71ad496 SHA512 3dfc2edd5b21db0cf16eeccc2556a737acfd1a1ac027da85bfa75a96b58d904f08cbe970fe1a3849b520963916c1559fb56d8753a6d0d5f0d13e5814b0e790af WHIRLPOOL c0a194000aa0ac94d6e1681e553208ab5b5136a80872335de8c1d8dcc81fa05779f5663b25f8cc50cfa99544874f7d41ba357ccf24884552f928eb10daacc81b +MISC ChangeLog-2015 412 SHA256 62ac4a401c8b3ab0cb5092edee5e5ad3bd2f0ce237f6fc99bfad5256e14c83f3 SHA512 de06ca82e796507d3c351676edc1c6fa81af62fdbdff9665547a0c1689e1d75b1fee969869b75ef99ccc314524999de8a28de9801fd2f4859db8b9701d725c55 WHIRLPOOL 32e50a8b66aa4b1019248a73da572a91611e5134350c9d220fcf3a28ec1a2d779f19f98688f701a89093b5add1cd0215f3a0cd7914f0318cd99475d325eed7ec +MISC metadata.xml 323 SHA256 c02315d2159a1b12dd9597bbf9c247a5ecb17d811bb199577295615fff0723bf SHA512 da00436c60c8d4037d44eb4f171f0df889d3bfb59a937ce38399487dd4e10ef98f835ac77132afefc5854e67513e527fcbf48e4d89f3eee4cd701c617b9e3871 WHIRLPOOL a7fae107c74222f7952f9a1879a674c16a051404a2bcac28302ced3543e18322395b2fccc4a5dc3e606c47180e3abce65173a890f8397d2d8071399c4b48ab19 diff --git a/sci-electronics/Stage/Stage-4.1.1.ebuild b/sci-electronics/Stage/Stage-4.1.1.ebuild new file mode 100644 index 000000000000..b1263d3d673c --- /dev/null +++ b/sci-electronics/Stage/Stage-4.1.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +SCM="" +if [ "${PV#9999}" != "${PV}" ] ; then + SCM="git-r3" + EGIT_REPO_URI="https://github.com/rtv/Stage" +fi + +inherit ${SCM} cmake-utils + +if [ "${PV#9999}" != "${PV}" ] ; then + KEYWORDS="" + SRC_URI="" +else + KEYWORDS="~amd64" + SRC_URI="https://github.com/rtv/Stage/archive/v${PV}.tar.gz -> ${P}.tar.gz" +fi + +DESCRIPTION="The Stage Robot Simulator" +HOMEPAGE="http://rtv.github.io/Stage/" +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +RDEPEND=" + dev-libs/libltdl:0 + virtual/jpeg:0 + media-libs/libpng:0= + x11-libs/fltk[opengl] + virtual/glu + virtual/opengl +" +DEPEND="${RDEPEND} + virtual/pkgconfig" +PATCHES=( "${FILESDIR}/${P}-gcc6.patch" ) diff --git a/sci-electronics/Stage/Stage-4.3.0.ebuild b/sci-electronics/Stage/Stage-4.3.0.ebuild new file mode 100644 index 000000000000..959166dc2194 --- /dev/null +++ b/sci-electronics/Stage/Stage-4.3.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +SCM="" +if [ "${PV#9999}" != "${PV}" ] ; then + SCM="git-r3" + EGIT_REPO_URI="https://github.com/rtv/Stage" +fi + +inherit ${SCM} cmake-utils + +if [ "${PV#9999}" != "${PV}" ] ; then + KEYWORDS="" + SRC_URI="" +else + KEYWORDS="~amd64" + SRC_URI="https://github.com/rtv/Stage/archive/v${PV}.tar.gz -> ${P}.tar.gz" +fi + +DESCRIPTION="The Stage Robot Simulator" +HOMEPAGE="http://rtv.github.io/Stage/" +LICENSE="GPL-2" +SLOT="0/4.3" +IUSE="" + +RDEPEND=" + dev-libs/libltdl:0 + virtual/jpeg:0 + media-libs/libpng:0= + sys-libs/zlib:0= + x11-libs/fltk[opengl] + virtual/glu + virtual/opengl +" +DEPEND="${RDEPEND} + virtual/pkgconfig" +PATCHES=( "${FILESDIR}/libdir.patch" ) diff --git a/sci-electronics/Stage/Stage-9999.ebuild b/sci-electronics/Stage/Stage-9999.ebuild new file mode 100644 index 000000000000..22f9d4d32b57 --- /dev/null +++ b/sci-electronics/Stage/Stage-9999.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +SCM="" +if [ "${PV#9999}" != "${PV}" ] ; then + SCM="git-r3" + EGIT_REPO_URI="https://github.com/rtv/Stage" +fi + +inherit ${SCM} cmake-utils + +if [ "${PV#9999}" != "${PV}" ] ; then + KEYWORDS="" + SRC_URI="" +else + KEYWORDS="~amd64" + SRC_URI="https://github.com/rtv/Stage/archive/v${PV}.tar.gz -> ${P}.tar.gz" +fi + +DESCRIPTION="The Stage Robot Simulator" +HOMEPAGE="http://rtv.github.io/Stage/" +LICENSE="GPL-2" +SLOT="0/4.3" +IUSE="" + +RDEPEND=" + dev-libs/libltdl:0 + virtual/jpeg:0 + media-libs/libpng:0= + sys-libs/zlib:0= + x11-libs/fltk[opengl] + virtual/glu + virtual/opengl +" +DEPEND="${RDEPEND} + virtual/pkgconfig" diff --git a/sci-electronics/Stage/files/Stage-4.1.1-gcc6.patch b/sci-electronics/Stage/files/Stage-4.1.1-gcc6.patch new file mode 100644 index 000000000000..9124baac64d1 --- /dev/null +++ b/sci-electronics/Stage/files/Stage-4.1.1-gcc6.patch @@ -0,0 +1,95 @@ +https://bugs.gentoo.org/show_bug.cgi?id=596434 +Author: Peter Levine + +--- Stage-4.1.1/libstage/stage.hh.old 2016-10-12 01:12:18.828436085 -0400 ++++ Stage-4.1.1/libstage/stage.hh 2016-10-12 01:12:36.675465633 -0400 +@@ -622,46 +622,46 @@ + { cont.erase( std::remove( cont.begin(), cont.end(), thing ), cont.end() ); } + + // Error macros - output goes to stderr +-#define PRINT_ERR(m) fprintf( stderr, "\033[41merr\033[0m: "m" (%s %s)\n", __FILE__, __FUNCTION__) +-#define PRINT_ERR1(m,a) fprintf( stderr, "\033[41merr\033[0m: "m" (%s %s)\n", a, __FILE__, __FUNCTION__) +-#define PRINT_ERR2(m,a,b) fprintf( stderr, "\033[41merr\033[0m: "m" (%s %s)\n", a, b, __FILE__, __FUNCTION__) +-#define PRINT_ERR3(m,a,b,c) fprintf( stderr, "\033[41merr\033[0m: "m" (%s %s)\n", a, b, c, __FILE__, __FUNCTION__) +-#define PRINT_ERR4(m,a,b,c,d) fprintf( stderr, "\033[41merr\033[0m: "m" (%s %s)\n", a, b, c, d, __FILE__, __FUNCTION__) +-#define PRINT_ERR5(m,a,b,c,d,e) fprintf( stderr, "\033[41merr\033[0m: "m" (%s %s)\n", a, b, c, d, e, __FILE__, __FUNCTION__) ++#define PRINT_ERR(m) fprintf( stderr, "\033[41merr\033[0m: " m " (%s %s)\n", __FILE__, __FUNCTION__) ++#define PRINT_ERR1(m,a) fprintf( stderr, "\033[41merr\033[0m: " m " (%s %s)\n", a, __FILE__, __FUNCTION__) ++#define PRINT_ERR2(m,a,b) fprintf( stderr, "\033[41merr\033[0m: " m " (%s %s)\n", a, b, __FILE__, __FUNCTION__) ++#define PRINT_ERR3(m,a,b,c) fprintf( stderr, "\033[41merr\033[0m: " m " (%s %s)\n", a, b, c, __FILE__, __FUNCTION__) ++#define PRINT_ERR4(m,a,b,c,d) fprintf( stderr, "\033[41merr\033[0m: " m " (%s %s)\n", a, b, c, d, __FILE__, __FUNCTION__) ++#define PRINT_ERR5(m,a,b,c,d,e) fprintf( stderr, "\033[41merr\033[0m: " m " (%s %s)\n", a, b, c, d, e, __FILE__, __FUNCTION__) + + // Warning macros +-#define PRINT_WARN(m) printf( "\033[44mwarn\033[0m: "m" (%s %s)\n", __FILE__, __FUNCTION__) +-#define PRINT_WARN1(m,a) printf( "\033[44mwarn\033[0m: "m" (%s %s)\n", a, __FILE__, __FUNCTION__) +-#define PRINT_WARN2(m,a,b) printf( "\033[44mwarn\033[0m: "m" (%s %s)\n", a, b, __FILE__, __FUNCTION__) +-#define PRINT_WARN3(m,a,b,c) printf( "\033[44mwarn\033[0m: "m" (%s %s)\n", a, b, c, __FILE__, __FUNCTION__) +-#define PRINT_WARN4(m,a,b,c,d) printf( "\033[44mwarn\033[0m: "m" (%s %s)\n", a, b, c, d, __FILE__, __FUNCTION__) +-#define PRINT_WARN5(m,a,b,c,d,e) printf( "\033[44mwarn\033[0m: "m" (%s %s)\n", a, b, c, d, e, __FILE__, __FUNCTION__) ++#define PRINT_WARN(m) printf( "\033[44mwarn\033[0m: " m " (%s %s)\n", __FILE__, __FUNCTION__) ++#define PRINT_WARN1(m,a) printf( "\033[44mwarn\033[0m: " m " (%s %s)\n", a, __FILE__, __FUNCTION__) ++#define PRINT_WARN2(m,a,b) printf( "\033[44mwarn\033[0m: " m " (%s %s)\n", a, b, __FILE__, __FUNCTION__) ++#define PRINT_WARN3(m,a,b,c) printf( "\033[44mwarn\033[0m: " m " (%s %s)\n", a, b, c, __FILE__, __FUNCTION__) ++#define PRINT_WARN4(m,a,b,c,d) printf( "\033[44mwarn\033[0m: " m " (%s %s)\n", a, b, c, d, __FILE__, __FUNCTION__) ++#define PRINT_WARN5(m,a,b,c,d,e) printf( "\033[44mwarn\033[0m: " m " (%s %s)\n", a, b, c, d, e, __FILE__, __FUNCTION__) + + // Message macros + #ifdef DEBUG +-#define PRINT_MSG(m) printf( "Stage: "m" (%s %s)\n", __FILE__, __FUNCTION__) +-#define PRINT_MSG1(m,a) printf( "Stage: "m" (%s %s)\n", a, __FILE__, __FUNCTION__) +-#define PRINT_MSG2(m,a,b) printf( "Stage: "m" (%s %s)\n", a, b, __FILE__, __FUNCTION__) +-#define PRINT_MSG3(m,a,b,c) printf( "Stage: "m" (%s %s)\n", a, b, c, __FILE__, __FUNCTION__) +-#define PRINT_MSG4(m,a,b,c,d) printf( "Stage: "m" (%s %s)\n", a, b, c, d, __FILE__, __FUNCTION__) +-#define PRINT_MSG5(m,a,b,c,d,e) printf( "Stage: "m" (%s %s)\n", a, b, c, d, e,__FILE__, __FUNCTION__) ++#define PRINT_MSG(m) printf( "Stage: " m " (%s %s)\n", __FILE__, __FUNCTION__) ++#define PRINT_MSG1(m,a) printf( "Stage: " m " (%s %s)\n", a, __FILE__, __FUNCTION__) ++#define PRINT_MSG2(m,a,b) printf( "Stage: " m " (%s %s)\n", a, b, __FILE__, __FUNCTION__) ++#define PRINT_MSG3(m,a,b,c) printf( "Stage: " m " (%s %s)\n", a, b, c, __FILE__, __FUNCTION__) ++#define PRINT_MSG4(m,a,b,c,d) printf( "Stage: " m " (%s %s)\n", a, b, c, d, __FILE__, __FUNCTION__) ++#define PRINT_MSG5(m,a,b,c,d,e) printf( "Stage: " m " (%s %s)\n", a, b, c, d, e,__FILE__, __FUNCTION__) + #else +-#define PRINT_MSG(m) printf( "Stage: "m"\n" ) +-#define PRINT_MSG1(m,a) printf( "Stage: "m"\n", a) +-#define PRINT_MSG2(m,a,b) printf( "Stage: "m"\n,", a, b ) +-#define PRINT_MSG3(m,a,b,c) printf( "Stage: "m"\n", a, b, c ) +-#define PRINT_MSG4(m,a,b,c,d) printf( "Stage: "m"\n", a, b, c, d ) +-#define PRINT_MSG5(m,a,b,c,d,e) printf( "Stage: "m"\n", a, b, c, d, e ) ++#define PRINT_MSG(m) printf( "Stage: " m "\n" ) ++#define PRINT_MSG1(m,a) printf( "Stage: " m "\n", a) ++#define PRINT_MSG2(m,a,b) printf( "Stage: " m "\n,", a, b ) ++#define PRINT_MSG3(m,a,b,c) printf( "Stage: " m "\n", a, b, c ) ++#define PRINT_MSG4(m,a,b,c,d) printf( "Stage: " m "\n", a, b, c, d ) ++#define PRINT_MSG5(m,a,b,c,d,e) printf( "Stage: " m "\n", a, b, c, d, e ) + #endif + + // DEBUG macros + #ifdef DEBUG +-#define PRINT_DEBUG(m) printf( "debug: "m" (%s %s)\n", __FILE__, __FUNCTION__) +-#define PRINT_DEBUG1(m,a) printf( "debug: "m" (%s %s)\n", a, __FILE__, __FUNCTION__) +-#define PRINT_DEBUG2(m,a,b) printf( "debug: "m" (%s %s)\n", a, b, __FILE__, __FUNCTION__) +-#define PRINT_DEBUG3(m,a,b,c) printf( "debug: "m" (%s %s)\n", a, b, c, __FILE__, __FUNCTION__) +-#define PRINT_DEBUG4(m,a,b,c,d) printf( "debug: "m" (%s %s)\n", a, b, c ,d, __FILE__, __FUNCTION__) +-#define PRINT_DEBUG5(m,a,b,c,d,e) printf( "debug: "m" (%s %s)\n", a, b, c ,d, e, __FILE__, __FUNCTION__) ++#define PRINT_DEBUG(m) printf( "debug: " m " (%s %s)\n", __FILE__, __FUNCTION__) ++#define PRINT_DEBUG1(m,a) printf( "debug: " m " (%s %s)\n", a, __FILE__, __FUNCTION__) ++#define PRINT_DEBUG2(m,a,b) printf( "debug: " m " (%s %s)\n", a, b, __FILE__, __FUNCTION__) ++#define PRINT_DEBUG3(m,a,b,c) printf( "debug: " m " (%s %s)\n", a, b, c, __FILE__, __FUNCTION__) ++#define PRINT_DEBUG4(m,a,b,c,d) printf( "debug: " m " (%s %s)\n", a, b, c ,d, __FILE__, __FUNCTION__) ++#define PRINT_DEBUG5(m,a,b,c,d,e) printf( "debug: " m " (%s %s)\n", a, b, c ,d, e, __FILE__, __FUNCTION__) + #else + #define PRINT_DEBUG(m) + #define PRINT_DEBUG1(m,a) +--- Stage-4.1.1/libstage/world.cc.old 2016-10-12 01:17:16.689055842 -0400 ++++ Stage-4.1.1/libstage/world.cc 2016-10-12 01:17:22.039117546 -0400 +@@ -803,8 +803,8 @@ + // Graphics Gems IV + const int32_t sx(sgn(dx)); + const int32_t sy(sgn(dy)); +- const int32_t ax(abs(dx)); +- const int32_t ay(abs(dy)); ++ const int32_t ax(std::abs(dx)); ++ const int32_t ay(std::abs(dy)); + const int32_t bx(2*ax); + const int32_t by(2*ay); + int32_t exy(ay-ax); // difference between x and y distances diff --git a/sci-electronics/Stage/files/libdir.patch b/sci-electronics/Stage/files/libdir.patch new file mode 100644 index 000000000000..c083a837b8b7 --- /dev/null +++ b/sci-electronics/Stage/files/libdir.patch @@ -0,0 +1,64 @@ +From 777430f083c4190fbc1beecfd4b619e63cf08dfb Mon Sep 17 00:00:00 2001 +From: Alexis Ballier <aballier@gentoo.org> +Date: Tue, 2 May 2017 11:47:13 +0200 +Subject: [PATCH] Revert "Do not install to lib64, even on x86_64 machines" + +This reverts commit 9f6e9bae3c51480d7f4c1b329493bbe30bc21839. +--- + cmake/internal/FindOS.cmake | 36 ++++++++++++++++++------------------ + 1 file changed, 18 insertions(+), 18 deletions(-) + +diff --git a/cmake/internal/FindOS.cmake b/cmake/internal/FindOS.cmake +index 5666bbce..cec44912 100644 +--- a/cmake/internal/FindOS.cmake ++++ b/cmake/internal/FindOS.cmake +@@ -45,28 +45,28 @@ ELSE (PROJECT_OS_LINUX) + ENDIF (PROJECT_OS_LINUX) + + # 32 or 64 bit Linux +-# IF (PROJECT_OS_LINUX) +-# # Set the library directory suffix accordingly +-# IF (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86_64") +-# SET (PROJECT_PROC_64BIT TRUE BOOL INTERNAL) +-# MESSAGE (STATUS "Linux x86_64 Detected") +-# ELSEIF (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "ppc64") +-# MESSAGE (STATUS "Linux ppc64 Detected") +-# SET (PROJECT_PROC_64BIT TRUE BOOL INTERNAL) +-# ELSEIF ($CMAKE_SYSTEM_PROCESSOR} STREQUAL "s390x") +-# MESSAGE (STATEUS "Linux s390x Detected") +-# SET (PROJECT_PROC_64BIT TRUE BOOL INTERNAL) +-# ENDIF (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86_64") +-# ENDIF (PROJECT_OS_LINUX) ++IF (PROJECT_OS_LINUX) ++ # Set the library directory suffix accordingly ++ IF (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86_64") ++ SET (PROJECT_PROC_64BIT TRUE BOOL INTERNAL) ++ MESSAGE (STATUS "Linux x86_64 Detected") ++ ELSEIF (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "ppc64") ++ MESSAGE (STATUS "Linux ppc64 Detected") ++ SET (PROJECT_PROC_64BIT TRUE BOOL INTERNAL) ++ ELSEIF ($CMAKE_SYSTEM_PROCESSOR} STREQUAL "s390x") ++ MESSAGE (STATEUS "Linux s390x Detected") ++ SET (PROJECT_PROC_64BIT TRUE BOOL INTERNAL) ++ ENDIF (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86_64") ++ENDIF (PROJECT_OS_LINUX) + +-# IF(PROJECT_PROC_64BIT) ++IF(PROJECT_PROC_64BIT) + # Set the install path to lib64 +- # SET(PROJECT_LIB_DIR "lib64") +- # SET(PROJECT_PLUGIN_DIR "lib64/${PROJECT_NAME}-${APIVERSION}") +-# ELSE (PROJECT_PROC_64BIT) ++ SET(PROJECT_LIB_DIR "lib64") ++ SET(PROJECT_PLUGIN_DIR "lib64/${PROJECT_NAME}-${APIVERSION}") ++ELSE (PROJECT_PROC_64BIT) + SET(PROJECT_LIB_DIR "lib") + SET(PROJECT_PLUGIN_DIR "lib/${PROJECT_NAME}-${APIVERSION}") +-# ENDIF (PROJECT_PROC_64BIT) ++ENDIF (PROJECT_PROC_64BIT) + + MESSAGE(STATUS "Installing Libraries to ${CMAKE_INSTALL_PREFIX}/${PROJECT_LIB_DIR}") + MESSAGE(STATUS "Installing Plugins to ${CMAKE_INSTALL_PREFIX}/${PROJECT_PLUGIN_DIR}") +-- +2.12.2 + diff --git a/sci-electronics/Stage/metadata.xml b/sci-electronics/Stage/metadata.xml new file mode 100644 index 000000000000..029578eaa1ef --- /dev/null +++ b/sci-electronics/Stage/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>aballier@gentoo.org</email> + <name>Alexis Ballier</name> + </maintainer> + <upstream> + <remote-id type="github">rtv/Stage</remote-id> + </upstream> +</pkgmetadata> |