diff options
author | Julian Ospald <hasufell@gentoo.org> | 2014-07-20 17:39:24 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2014-07-20 17:39:24 +0000 |
commit | 76d16dec273f0d4df917ebe680207dc7789f1fa5 (patch) | |
tree | 050ba06d6985a5eb1ca3ae0a0f9c1840c14183a3 /dev-libs/libRocket | |
parent | Version bump. Add ruby21 target. (diff) | |
download | historical-76d16dec273f0d4df917ebe680207dc7789f1fa5.tar.gz historical-76d16dec273f0d4df917ebe680207dc7789f1fa5.tar.bz2 historical-76d16dec273f0d4df917ebe680207dc7789f1fa5.zip |
version bump, add SUBSLOT (SONAME)
Package-Manager: portage-2.2.10/cvs/Linux x86_64
Manifest-Sign-Key: 0xBDEED020
Diffstat (limited to 'dev-libs/libRocket')
-rw-r--r-- | dev-libs/libRocket/ChangeLog | 8 | ||||
-rw-r--r-- | dev-libs/libRocket/Manifest | 37 | ||||
-rw-r--r-- | dev-libs/libRocket/files/libRocket-1.3.0.0-build.patch | 44 | ||||
-rw-r--r-- | dev-libs/libRocket/libRocket-1.3.0.0.ebuild | 99 |
4 files changed, 170 insertions, 18 deletions
diff --git a/dev-libs/libRocket/ChangeLog b/dev-libs/libRocket/ChangeLog index 2087af87e2e4..34f2f099c0a2 100644 --- a/dev-libs/libRocket/ChangeLog +++ b/dev-libs/libRocket/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-libs/libRocket # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libRocket/ChangeLog,v 1.12 2014/06/18 19:13:55 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libRocket/ChangeLog,v 1.13 2014/07/20 17:39:20 hasufell Exp $ + +*libRocket-1.3.0.0 (20 Jul 2014) + + 20 Jul 2014; Julian Ospald <hasufell@gentoo.org> +libRocket-1.3.0.0.ebuild, + +files/libRocket-1.3.0.0-build.patch: + version bump, add SUBSLOT (SONAME) 18 Jun 2014; Michał Górny <mgorny@gentoo.org> libRocket-1.2.1_p20130110-r1.ebuild, libRocket-9999.ebuild: diff --git a/dev-libs/libRocket/Manifest b/dev-libs/libRocket/Manifest index e664f31e0287..88320c756b82 100644 --- a/dev-libs/libRocket/Manifest +++ b/dev-libs/libRocket/Manifest @@ -2,30 +2,33 @@ Hash: SHA256 AUX libRocket-1.2.1-build.patch 1194 SHA256 9650d7a94fea3220c15dcdcd4002df95c025b3d40dc0c924dc4cbbb35d01094d SHA512 3eeafcd7dec286cdf5375394e66b99a8313c874258a373875b09b13d26fad778b2eda5e9fe7c89cb4c3ef96ce68c28ea541bd0f27ac0e0b5cd56052f228d24d8 WHIRLPOOL b61a731e56e0c9f92bb0e30337c8f97120ab99d454dd2dbc2f0b726f56d28a5401179292f38ffa19c7d0bb32cbece3ab99f61b1c67f7d62fd8c2a8cf5ae03aa6 +AUX libRocket-1.3.0.0-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 +DIST libRocket-1.3.0.0.tar.gz 1858846 SHA256 574e992ac0bb62c1aa782114986d440ade69f4408971d0fb4ddc5922df761b75 SHA512 579fb5b9ca48b44999ca9c64e5fde3f28b83b12487928d34cf6e2834e60c4fff06c845832d38387f4ba639e2bd906b96940da4ce5e4c73625c48c6658726d3bd WHIRLPOOL a72c72c38780bc4dba9fbdb14365b675579e0a4d251c88bcf780fa076c16728c09c9ba7dff733d8f54da8064184e585ea568e12275f8e7ab86d55333a6242b0f EBUILD libRocket-1.2.1.ebuild 2013 SHA256 84378b7230ea2e43a6338592c98b6fd3d0fdba89475f7864077bd738a3e2e39c SHA512 e8c51802869d1fe53ba10491a2dad192e62e7e689e306f3c6f4ec4d07e2bb0cce8f0c3b24e82d81a881690293b4757853fd6b57ebbde357b134f1170cf43cdb7 WHIRLPOOL 51265c1a36344b349546e33a7fb0cf688e6368bdaf048fbc4826391ae23aeb9d317969bac078ef0c76a0f5eb4c78e461ccdd171b85eeaedc772811d2be4b0673 EBUILD libRocket-1.2.1_p20130110-r1.ebuild 2360 SHA256 758befeb2ed469c374b79b3b52e682e5775fcd678bc85272d7f9c2c05dd45edb SHA512 c1159d91931e16aea77f38cbf03a5e09d6dc843391819971ed9ad89fd6c9998f3d85e87e1f6cc7abc435938f53304534e4da48d3ef78af16619081f2c89d462c WHIRLPOOL b027106c3d0ebf3478027a33ff9528ea06840361ca557b908d251021f9d8d191d5fbdf39d4ddb36f5da4002de0483310120cc57eae3de13f39c448b382311448 EBUILD libRocket-1.2.1_p20130110.ebuild 1956 SHA256 20d3b62afb3ae3de34459cbd3245eacd238773a95f5c9a55fc46107060622867 SHA512 80876b31341ed92afcc5b0ff6f32ef15680ba78b343ba54f56ee2cd5c4d1a0e24c9b1e22e6b76921be11f0647763b88f8709f1bfa00030b140035824da282de7 WHIRLPOOL 14d828e36a904f796b9b3615c2ff36bfdaba8d1b3e08c2893049856e59cc926c76fd52295526a1cbba038cb44698077a25d37c25018626551d288c343392355a +EBUILD libRocket-1.3.0.0.ebuild 2416 SHA256 57b160f0a79af59bbd2802ad2a0e31da0a5332d40bbefdfc3e102e269dcb76f9 SHA512 45ed4b8549f9fe441cf864aab086cce9bd54423636c111a536b98236242de1d5fcf8dd9ecf369d52445ebf4a4236df4343b61a0d66b674dbf855bff2ee43c440 WHIRLPOOL 988e441d3daa11ccead10aff7105497b251ee8577739f3cbdf77ffb002130b6d10f58bac391117a5d087f07914ea8995f7e1a641c703a208c195324493ab2919 EBUILD libRocket-9999.ebuild 2337 SHA256 a306c0e849b183be2b18b74b613dcbe6300d717f35daf340ade1e9238d5723a4 SHA512 0867e5ef8acca7f817b5a64b4430e76a89183fd9027aefe04c4ff7b68ec7b8ca880db2b2cc36e740b1f2725eee2a36379a3979917afdbd1fac90960ba6230334 WHIRLPOOL 09b65fed64b4164cc7abd5c1b09f4fef36888d1fe5fdaa11dfa7db451903d6bec5afda4cce7f7f36bf75887509061f3c9f0efae5ee82fedee73956e400108497 -MISC ChangeLog 2484 SHA256 3252b46f46bf388a9fd6230c50693fd955827b314cba4632e9e39965d2ffe5ae SHA512 1a70b3bb702d9f46960a66ce4f95779e236581792ab73f508777d789f18d10e1d2181c4f0bcce17cdc5910cc83d7aa6b37f3be4a9555fac733921f415c9a0072 WHIRLPOOL 3605b1bbc451e5e7ecb5ca495b2c93893ac9f90e9f5a2653c4864be5a66ae4b92534b51b5262b15ff98ad53c2800b080720e823f18891e6da9910895dc504340 +MISC ChangeLog 2676 SHA256 5226f9932aa45879351ad018a4973b0797587135538bf9f5d74360c1a5d0e5e2 SHA512 891e913856d80003e7e4d62d85308c87937fa21e301c3c9d373c147817bf7b5753030c2925e93d717b1e8d5e44fcef1b5d6f200a4824be5532e75ffc922e1306 WHIRLPOOL 5021c050e307ae28d62cf8d00d810fa1f9e7fbd58922d4b2c387397b93fa59b18f8c9641d72b0e5f23300da2a8855fcd4ed3360b02f1d75d50c368e500a50602 MISC metadata.xml 294 SHA256 d42b1e02c3a48eab00022cc811e6998351b7c19691fad42b10bda6f3db8aaaab SHA512 0f5486821b3585889a6c955330f2c781356e370b245ec8656111448467a59c9fdc41fd15ae633737aa46ce48b86abdc3247bffd979da00e25c756758ebb77451 WHIRLPOOL 4d8bcc430d64d761d7e134d31627d0d43ff201b990dec3da289f0fa50d33702dfd1638d6c0da7a2601ce49a130266526284d341d4d2f50e289b36079249e4231 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2 +Version: GnuPG v2.0 -iQJ8BAEBCABmBQJToeT4XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w -ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2REJCMDdDQzRGMERBRDA2RUEwQUZFNDFC -MDdBMUFFQUVGQjQ0NjRFAAoJELB6GurvtEZOfYsP/jFWYkgxTI2jzGFuZV97XPgF -ZkgHaC6l2NCdmELARhk0hmxI5vlrwgtXUQ7D+UZDBXzbfiMuTbPz/paF0uDax8qV -ei7s0jRZNPtmrAzWyO56R+HwgTI0Qxx/fziC6fOKq01u0oQ0RdxsDflXu7Lpotg8 -xfXzG54jy6vmOjj2RaCS3eSlO7UnnEIsXhaEDAfd4haPl4o7Z5f6L8GSlVwaBcM5 -sFboY8Mevvd0jFdfYRjxIHHIUfJiML2N35hQMTHe4lP4HVVt1iSgvHEmhx7NM4A6 -MqK+ilejpC4S7eNJNQaKL2q0M3pA3VUbuOxihuQkgCdC/8ElkXzWTgFcpYbFjvSm -18g6oJH7DISNsoljjp28/8kTBFUuHDxwWFWt5Y3wDg4ApVZ6a7pN76WBJQ808PcU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dLYpil6NAUZm1DQ13ThvdOJzWU9RS7Rf9Qr17b+z7YOai2h4kTz8yHhSu/r5y +Xh7ZK+Wc+cWFgW6lBZZ0 +=cmHH -----END PGP SIGNATURE----- diff --git a/dev-libs/libRocket/files/libRocket-1.3.0.0-build.patch b/dev-libs/libRocket/files/libRocket-1.3.0.0-build.patch new file mode 100644 index 000000000000..e578b441f42b --- /dev/null +++ b/dev-libs/libRocket/files/libRocket-1.3.0.0-build.patch @@ -0,0 +1,44 @@ +From: Julian Ospald <hasufell@gentoo.org> +--- Build/CMakeLists.txt ++++ Build/CMakeLists.txt +@@ -11,6 +11,9 @@ + + project(libRocket C CXX) + ++# paths ++include(GNUInstallDirs) ++ + set(LIBROCKET_VERSION_MAJOR 1) + set(LIBROCKET_VERSION_MINOR 2) + set(LIBROCKET_VERSION_PATCH 1) +@@ -131,8 +134,8 @@ + endif() + + install(TARGETS ${NAME} +- LIBRARY DESTINATION lib +- ARCHIVE DESTINATION lib ++ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} ++ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} + ) + endforeach(library) + +@@ -237,7 +240,7 @@ + endif() + endif() + +- set(SAMPLES_DIR opt/Rocket/Samples) ++ set(SAMPLES_DIR opt/Rocket/Samples CACHE PATH "path to samples dir") + + # The samples use the shell library + include_directories(${PROJECT_SOURCE_DIR}/Samples/shell/include) +@@ -256,8 +259,8 @@ + target_link_libraries(${sample_LIBRARIES}) + + install(TARGETS shell +- LIBRARY DESTINATION lib +- ARCHIVE DESTINATION lib ++ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} ++ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} + ) + + list(APPEND samples treeview customlog drag loaddocument) diff --git a/dev-libs/libRocket/libRocket-1.3.0.0.ebuild b/dev-libs/libRocket/libRocket-1.3.0.0.ebuild new file mode 100644 index 000000000000..c7e6d50a022b --- /dev/null +++ b/dev-libs/libRocket/libRocket-1.3.0.0.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libRocket/libRocket-1.3.0.0.ebuild,v 1.1 2014/07/20 17:39:20 hasufell Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{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="https://github.com/libRocket/libRocket/archive/release-${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/1" +KEYWORDS="~amd64 ~x86" +IUSE="python samples" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND=" + >=media-libs/freetype-2.5.0.1[${MULTILIB_USEDEP}] + python? ( + ${PYTHON_DEPS} + dev-libs/boost[${PYTHON_USEDEP}] + ) + samples? ( + virtual/opengl + x11-libs/libXext + x11-libs/libX11 + )" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${PN}-release-${PV} + +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 multilib_is_native_abi ; then + mycmakeargs+=( $(cmake-utils_use_build samples SAMPLES) ) + else + mycmakeargs+=( -DBUILD_SAMPLES=OFF ) + fi + + cmake-utils_src_configure + + if multilib_is_native_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 + local abi_build_dir=${BUILD_DIR} + + if multilib_is_native_abi ; then + if use python ; then + buildpybind() { + cp "${abi_build_dir}"/{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 multilib_is_native_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 +} |