summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2013-05-05 13:22:46 +0000
committerJulian Ospald <hasufell@gentoo.org>2013-05-05 13:22:46 +0000
commit273d1621054da9387a03c487aa38c900a4b530da (patch)
treed7eabc866341398ac1bf544efb828ae4648f0eea /dev-libs/libRocket
parentMarked ~hppa (bug #468582). (diff)
downloadhistorical-273d1621054da9387a03c487aa38c900a4b530da.tar.gz
historical-273d1621054da9387a03c487aa38c900a4b530da.tar.bz2
historical-273d1621054da9387a03c487aa38c900a4b530da.zip
add multilib support, update live ebuild
Package-Manager: portage-2.2.0_alpha174/cvs/Linux x86_64 Manifest-Sign-Key: 0xE73C35B3
Diffstat (limited to 'dev-libs/libRocket')
-rw-r--r--dev-libs/libRocket/ChangeLog8
-rw-r--r--dev-libs/libRocket/Manifest19
-rw-r--r--dev-libs/libRocket/libRocket-1.2.1_p20130110-r1.ebuild95
-rw-r--r--dev-libs/libRocket/libRocket-9999.ebuild85
4 files changed, 171 insertions, 36 deletions
diff --git a/dev-libs/libRocket/ChangeLog b/dev-libs/libRocket/ChangeLog
index 81136a33955e..24b9b7d8fb59 100644
--- a/dev-libs/libRocket/ChangeLog
+++ b/dev-libs/libRocket/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/libRocket
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libRocket/ChangeLog,v 1.2 2013/01/18 22:31:09 hasufell Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libRocket/ChangeLog,v 1.3 2013/05/05 13:22:41 hasufell Exp $
+
+*libRocket-1.2.1_p20130110-r1 (05 May 2013)
+
+ 05 May 2013; Julian Ospald <hasufell@gentoo.org>
+ +libRocket-1.2.1_p20130110-r1.ebuild, libRocket-9999.ebuild:
+ add multilib support, update live ebuild
18 Jan 2013; Julian Ospald <hasufell@gentoo.org> libRocket-1.2.1.ebuild,
libRocket-1.2.1_p20130110.ebuild, libRocket-9999.ebuild:
diff --git a/dev-libs/libRocket/Manifest b/dev-libs/libRocket/Manifest
index e182689d0e6b..17647d5940d1 100644
--- a/dev-libs/libRocket/Manifest
+++ b/dev-libs/libRocket/Manifest
@@ -1,8 +1,23 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
AUX libRocket-1.2.1-build.patch 1194 SHA256 9650d7a94fea3220c15dcdcd4002df95c025b3d40dc0c924dc4cbbb35d01094d SHA512 3eeafcd7dec286cdf5375394e66b99a8313c874258a373875b09b13d26fad778b2eda5e9fe7c89cb4c3ef96ce68c28ea541bd0f27ac0e0b5cd56052f228d24d8 WHIRLPOOL b61a731e56e0c9f92bb0e30337c8f97120ab99d454dd2dbc2f0b726f56d28a5401179292f38ffa19c7d0bb32cbece3ab99f61b1c67f7d62fd8c2a8cf5ae03aa6
DIST libRocket-1.2.1.tar.gz 1796018 SHA256 05c92515031ebfa5b1e9421d88116a60f815818c97004947a16ce6b4c77563a7 SHA512 49210bf7f4867103d0149a789f020388a2ad533ee684b52d8d2ffdb38f41fe873ffc389b79a20a7020506b368394a0fde7a8ba5cb495576edc16f1b12f520e41 WHIRLPOOL f9b8f9d30c3f94028d623f22b8169a4a101fda5f52edd3a21d05b9a56c6410c94788e1226c4689361a7a8198973cf4c6819cd3733fe69d3d8a93edffad090e06
DIST libRocket-1.2.1_p20130110.tar.xz 845572 SHA256 5661f0d1b0a3e19b9f2856b9927ed7ec4ad6939e732230832cd701bf078a732b SHA512 1c474e0cad2e13ebe6102cd5d31c3fa61370d23062c31fd7703ec431f0da56f008c9711b49b73d8a9b32af0313e2cb3aa8c46888a36044fef05c15fe1cbc23b5 WHIRLPOOL 52ef88ebc35ac762c6b50fbaed8713b2568f80bc65390e696537f4935eaf1c4182a64b414fd6bfadb3e1a6cadb0589fcb20bc12c26e3ea87edaf342b5ff09bb6
EBUILD libRocket-1.2.1.ebuild 1970 SHA256 9d412ed83e61ca0f2027a507833450dd9720c7044db4766c8f4c525c14514115 SHA512 980c525568b9e1300a11d65dec9974c7f925b092e49ab46268e330e39d832b9274721b43d26345513e3ebe8e3d296e4bdba40c66b8af51e72880be462c174ceb WHIRLPOOL a3f84ba613e3734a369f1a2f02a1b8b36974abbb09aefbc09dc3325711e1c63afb75934781f75c25d0310420cd8168a23c816bbe94be10ffe3e6d27c229f51a4
+EBUILD libRocket-1.2.1_p20130110-r1.ebuild 2299 SHA256 e789f0006e54c24396ad19152960a23177b93eb21db75ff3ca39dce66cab084e SHA512 7acc9905ae307e33536e097d8895169d4612ddc7ba558cd34f17db5cfc82788f83d805cac0b9121bc3a9fabdbc7d6719e27c91df28e8d400361a13b13f09dbc7 WHIRLPOOL 99906cac00a381b24d803efe2cc12d6e9b5f97787c961602e7851f475983118324f632358ce6108b5d16ccda955f0d03bc93ab25f5f737352bd7c0ecbb9d11fc
EBUILD libRocket-1.2.1_p20130110.ebuild 1862 SHA256 73f83be6eaa8c761be4dfc98f73cdbdb61046e735a96fbe658b9c7bd1069c9c9 SHA512 e763e48e86f1feffa3ae41734fcd37c9df5cbe4519ee831dedbe8ea521a373d2b77c8abeacb28c46c1aba582c7341247f45d2867882f5b8e32d2935704ca1577 WHIRLPOOL fcca657b0d826dcc6933107e71eb8174fa564c0229fbdf07e80e786cf66d46417239d1bb0abe6049cbcf0410107d780cde1fd6041c8085d07cddb084a45a6f40
-EBUILD libRocket-9999.ebuild 1842 SHA256 67da23684dda8f1202da1b81bcc71a2bffcfd25a498c8565fe62dea6498ed213 SHA512 deed4a2fa3b7c9124837f5246f9b3585c656201ceeb25d684f96133d07365000c3e594f40e36d145bf2b308c8f48eb9ba84867c158a8e1ad92c7f53ce5cc380d WHIRLPOOL 52f5f8568444e481d2d890e3749657279891149f9cdcfd16cd77fdc43c17f474a87ca3b47bbb59b4c1aa4420aade8914767e570ce048853445359cb8a07583f7
-MISC ChangeLog 668 SHA256 f6a33c95f19c36981d3b55adc23132cb27ba1786839e7a1ba73495618cf51a81 SHA512 b745fe38428f392c21723d8f7730e74eede8c1aa6f2bac6fb5f12f737b80b90de2c39be8325f2d8a5a4811beab38de0f6062eefa0ffdba7c624d32ae11cadbbc WHIRLPOOL a2986297813bc3cb04d8fc07747f5650ca85a6ddee49eb698c97329e2bfadbb1310ccea860f46c85004d6d51eb4cd72c4c9e9335b6710e3d1e7645063d7a38dc
+EBUILD libRocket-9999.ebuild 2276 SHA256 287c28cefb8c9ded4bb6be70db38ea067b677ad2e1e9260c36066105bc6cdd15 SHA512 07abbc873ab4f348b6f7085dabcbc4f2da402732a8e37c744dc1599b1c81d362df6b06a364e0e99ede35984e9ba084b17ac243c60b4ec0aa0ad097bff6ef2517 WHIRLPOOL 5f94db246540269233506773f00a2e9013a2ba88ff70b365682bd042aee345da146319fa92e46bc888c7cc2bf79b14449a440cdd218398704799eb8488fe8787
+MISC ChangeLog 871 SHA256 a3bbc6dea8594057f5eb637af98a9653844bd53d7b20d1f2beca6e47f18bf072 SHA512 c1a0477f2c52408ccebbb1804e03fff56a3e07e2c79952ada46ce2e026ceaefa71dd6e23a98c1f2c06a3a9b3f69a94ac9ca3017beb0d3f2633fc82cb387d5a04 WHIRLPOOL 1855e1f7f6e3b60014ed69344e1c711e2341722a5bcb153fb17512e9fdc800aa45fbd0b619e5c8460583295220cc90b63377c50e6750ab3ec19a25a1e19e3727
MISC metadata.xml 294 SHA256 d42b1e02c3a48eab00022cc811e6998351b7c19691fad42b10bda6f3db8aaaab SHA512 0f5486821b3585889a6c955330f2c781356e370b245ec8656111448467a59c9fdc41fd15ae633737aa46ce48b86abdc3247bffd979da00e25c756758ebb77451 WHIRLPOOL 4d8bcc430d64d761d7e134d31627d0d43ff201b990dec3da289f0fa50d33702dfd1638d6c0da7a2601ce49a130266526284d341d4d2f50e289b36079249e4231
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iQEcBAEBCAAGBQJRhl0lAAoJEFpvPKfnPDWzA7MIAK1FCH3CBsCwj69/f5/lATGd
+d67pxbbnOS74z33VLCGyZGR3kQwDcZ2lzvmAGolbcANe9qDBqqa8DsbwSo4vYruO
+VaAKbLSStxaBjmQZCpd8w5h/ioq7MXlzJf97QFPrR2m4Nj71NYLrKu5zfT4PD/ul
+WfsdSJ/clYnSr9ANkXFeFL6ZR6Vx5DgS+UgFNyOWJz5gd5KNCC/tRwTKyi6KQHjK
+OA/zjYdZAgbpNbgZGlBF/HFFkc3GBgXPUsU0QwplDcIIJK8lAnvbJYdDWcVh1UwC
+kPKTtRdH8oZaWqcB3OYTB/Gm2HVwXXmzl4hlnQg2RH68leGEk7ufK65O/aTLvQs=
+=/w24
+-----END PGP SIGNATURE-----
diff --git a/dev-libs/libRocket/libRocket-1.2.1_p20130110-r1.ebuild b/dev-libs/libRocket/libRocket-1.2.1_p20130110-r1.ebuild
new file mode 100644
index 000000000000..01fd33069bb7
--- /dev/null
+++ b/dev-libs/libRocket/libRocket-1.2.1_p20130110-r1.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libRocket/libRocket-1.2.1_p20130110-r1.ebuild,v 1.1 2013/05/05 13:22:41 hasufell Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_5,2_6,2_7} )
+inherit cmake-utils eutils python-r1 multilib-minimal
+
+DESCRIPTION="A HTML/CSS User Interface library"
+HOMEPAGE="http://librocket.com/"
+SRC_URI="http://dev.gentoo.org/~hasufell/distfiles/${P}.tar.xz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="python samples"
+
+RDEPEND="
+ media-libs/freetype[${MULTILIB_USEDEP}]
+ python? (
+ ${PYTHON_DEPS}
+ dev-libs/boost[${PYTHON_USEDEP}]
+ )
+ samples? (
+ virtual/opengl
+ x11-libs/libXext
+ x11-libs/libX11
+ )"
+DEPEND="${RDEPEND}"
+
+DOCS=( changelog.txt readme.md )
+
+python_BUILD_DIR=${WORKDIR}/${P}_build_python
+CMAKE_USE_DIR="${S}"/Build
+
+multilib_src_configure() {
+ local mycmakeargs=(
+ -DBUILD_PYTHON_BINDINGS=OFF
+ -DSAMPLES_DIR=/usr/share/${PN}/samples
+ )
+
+ if [[ ${ABI} == ${DEFAULT_ABI} ]] ; then
+ mycmakeargs+=( $(cmake-utils_use_build samples SAMPLES) )
+ else
+ mycmakeargs+=( -DBUILD_SAMPLES=OFF )
+ fi
+
+ cmake-utils_src_configure
+
+ if [[ ${ABI} == ${DEFAULT_ABI} ]] ; then
+ if use python ; then
+ cfgpybind() {
+ local mycmakeargs=(
+ -DBUILD_PYTHON_BINDINGS=ON
+ -DCMAKE_SKIP_RPATH=YES
+ )
+ BUILD_DIR="${python_BUILD_DIR}-${EPYTHON}" cmake-utils_src_configure
+ }
+ einfo "configuring python binding"
+ python_foreach_impl cfgpybind
+ fi
+ fi
+}
+
+multilib_src_compile() {
+ cmake-utils_src_compile
+
+ if [[ ${ABI} == ${DEFAULT_ABI} ]] ; then
+ if use python ; then
+ buildpybind() {
+ cp "${S}-${ABI}"/{libRocketCore*,libRocketControls*} "${python_BUILD_DIR}-${EPYTHON}"/ || die
+ BUILD_DIR="${python_BUILD_DIR}-${EPYTHON}" cmake-utils_src_make _rocketcontrols/fast _rocketcore/fast
+ }
+ einfo "compiling python binding"
+ python_foreach_impl buildpybind
+ fi
+ fi
+}
+
+multilib_src_install() {
+ cmake-utils_src_install
+
+ if [[ ${ABI} == ${DEFAULT_ABI} ]] ; then
+ if use python ; then
+ instpybind() {
+ python_domodule "${S}"/bin/rocket.py
+ exeinto "$(python_get_sitedir)"
+ doexe ${python_BUILD_DIR}-${EPYTHON}/_rocket{core,controls}.so
+ }
+ einfo "installing python binding"
+ python_foreach_impl instpybind
+ fi
+ fi
+}
diff --git a/dev-libs/libRocket/libRocket-9999.ebuild b/dev-libs/libRocket/libRocket-9999.ebuild
index adefe0822a4c..e0dfe57aaae6 100644
--- a/dev-libs/libRocket/libRocket-9999.ebuild
+++ b/dev-libs/libRocket/libRocket-9999.ebuild
@@ -1,11 +1,11 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libRocket/libRocket-9999.ebuild,v 1.2 2013/01/18 22:31:09 hasufell Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libRocket/libRocket-9999.ebuild,v 1.3 2013/05/05 13:22:41 hasufell Exp $
EAPI=5
PYTHON_COMPAT=( python{2_5,2_6,2_7} )
-inherit cmake-utils git-2 python-r1
+inherit cmake-utils git-2 python-r1 multilib-minimal
DESCRIPTION="A HTML/CSS User Interface library"
HOMEPAGE="http://librocket.com/"
@@ -17,61 +17,80 @@ SLOT="0"
KEYWORDS=""
IUSE="python samples"
-RDEPEND="media-libs/freetype
+RDEPEND="
+ media-libs/freetype[${MULTILIB_USEDEP}]
python? (
${PYTHON_DEPS}
- dev-libs/boost[python,${PYTHON_USEDEP}]
+ dev-libs/boost[${PYTHON_USEDEP}]
+ )
+ samples? (
+ virtual/opengl
+ x11-libs/libXext
+ x11-libs/libX11
)"
DEPEND="${RDEPEND}"
+DOCS=( changelog.txt readme.md )
+
python_BUILD_DIR=${WORKDIR}/${P}_build_python
CMAKE_USE_DIR="${S}"/Build
-src_configure() {
+multilib_src_configure() {
local mycmakeargs=(
-DBUILD_PYTHON_BINDINGS=OFF
- $(cmake-utils_use_build samples SAMPLES)
-DSAMPLES_DIR=/usr/share/${PN}/samples
)
+ if [[ ${ABI} == ${DEFAULT_ABI} ]] ; then
+ mycmakeargs+=( $(cmake-utils_use_build samples SAMPLES) )
+ else
+ mycmakeargs+=( -DBUILD_SAMPLES=OFF )
+ fi
+
cmake-utils_src_configure
- if use python ; then
- cfgpybind() {
- local mycmakeargs=(
- -DBUILD_PYTHON_BINDINGS=ON
- -DCMAKE_SKIP_RPATH=YES
- )
- BUILD_DIR="${python_BUILD_DIR}-${EPYTHON}" cmake-utils_src_configure
- }
- einfo "configuring python binding"
- python_foreach_impl cfgpybind
+ if [[ ${ABI} == ${DEFAULT_ABI} ]] ; then
+ if use python ; then
+ cfgpybind() {
+ local mycmakeargs=(
+ -DBUILD_PYTHON_BINDINGS=ON
+ -DCMAKE_SKIP_RPATH=YES
+ )
+ BUILD_DIR="${python_BUILD_DIR}-${EPYTHON}" cmake-utils_src_configure
+ }
+ einfo "configuring python binding"
+ python_foreach_impl cfgpybind
+ fi
fi
}
-src_compile() {
+multilib_src_compile() {
cmake-utils_src_compile
- if use python ; then
- buildpybind() {
- cp "${WORKDIR}"/${P}_build/{libRocketCore*,libRocketControls*} "${python_BUILD_DIR}-${EPYTHON}"/ || die
- BUILD_DIR="${python_BUILD_DIR}-${EPYTHON}" cmake-utils_src_make _rocketcontrols/fast _rocketcore/fast
- }
- einfo "compiling python binding"
- python_foreach_impl buildpybind
+ if [[ ${ABI} == ${DEFAULT_ABI} ]] ; then
+ if use python ; then
+ buildpybind() {
+ cp "${S}-${ABI}"/{libRocketCore*,libRocketControls*} "${python_BUILD_DIR}-${EPYTHON}"/ || die
+ BUILD_DIR="${python_BUILD_DIR}-${EPYTHON}" cmake-utils_src_make _rocketcontrols/fast _rocketcore/fast
+ }
+ einfo "compiling python binding"
+ python_foreach_impl buildpybind
+ fi
fi
}
-src_install() {
+multilib_src_install() {
cmake-utils_src_install
- if use python ; then
- instpybind() {
- python_domodule bin/rocket.py
- exeinto "$(python_get_sitedir)"
- doexe ${python_BUILD_DIR}-${EPYTHON}/_rocket{core,controls}.so
- }
- einfo "installing python binding"
- python_foreach_impl instpybind
+ if [[ ${ABI} == ${DEFAULT_ABI} ]] ; then
+ if use python ; then
+ instpybind() {
+ python_domodule "${S}"/bin/rocket.py
+ exeinto "$(python_get_sitedir)"
+ doexe ${python_BUILD_DIR}-${EPYTHON}/_rocket{core,controls}.so
+ }
+ einfo "installing python binding"
+ python_foreach_impl instpybind
+ fi
fi
}