summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2013-01-18 18:40:25 +0000
committerJulian Ospald <hasufell@gentoo.org>2013-01-18 18:40:25 +0000
commit0b4ab7a8511f5ed9b3227cb187aaa1453fdfc5a6 (patch)
tree8291ea94785cfe280527f3b6eaac2e94f0dbac45
parentinitial import (diff)
downloadhistorical-0b4ab7a8511f5ed9b3227cb187aaa1453fdfc5a6.tar.gz
historical-0b4ab7a8511f5ed9b3227cb187aaa1453fdfc5a6.tar.bz2
historical-0b4ab7a8511f5ed9b3227cb187aaa1453fdfc5a6.zip
initial import
Package-Manager: portage-2.2.0_alpha153/cvs/Linux x86_64 Manifest-Sign-Key: 0xE73C35B3
-rw-r--r--dev-libs/libRocket/Manifest22
-rw-r--r--dev-libs/libRocket/files/libRocket-1.2.1-build.patch44
-rw-r--r--dev-libs/libRocket/libRocket-1.2.1.ebuild81
-rw-r--r--dev-libs/libRocket/libRocket-1.2.1_p20130110.ebuild76
-rw-r--r--dev-libs/libRocket/libRocket-9999.ebuild77
-rw-r--r--dev-libs/libRocket/metadata.xml12
6 files changed, 308 insertions, 4 deletions
diff --git a/dev-libs/libRocket/Manifest b/dev-libs/libRocket/Manifest
index d549c08f773f..018e3aa3c0b4 100644
--- a/dev-libs/libRocket/Manifest
+++ b/dev-libs/libRocket/Manifest
@@ -1,8 +1,22 @@
+-----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 1857 SHA256 875e08de4934d90ec9e2c6a4736c2fdf617ce7e42edd29e75b62ddd8924f2c54 SHA512 57b684c18f9f6290895da89195422c1281237d53f668dcda12a42779dadec143a745f448f990df9d961615da655588d37ed342fdf0ba5f3ce703dd5b7bbc4c0f WHIRLPOOL 08d8effe6f5a0d501929dce7929f0b39119ef0795f3d93e643b4dd19a661763a4ab45b52f3c0a696d446c3ccf318db481e934fac470387e9f8276b385baba251
-EBUILD libRocket-1.2.1_p20130110.ebuild 1740 SHA256 b9c28fb1b7cad9093062d6d2bf793a0c96b607969825fbe7d410c4240f13c843 SHA512 d4891dfa0370d16c86e9097fb31fd7568b2b9336f1990acab8909114d1c1c282f54df81e2452a2bb4a34dec78b229c598f46ea2b337b54173dae8ddf4c39bf57 WHIRLPOOL 37d08e6c5ccb3f752ab9e80379bd759310175f85bddbee1766c282a2f1a6857fb4efde2be6de3239a9677f0ff23607152a69c2563a2fa908d18f6ceee6c67f0e
-EBUILD libRocket-9999.ebuild 1731 SHA256 75096e541636f81b8f766d95348e8287549aa22aa76feb348c6c2ca67cae0bc0 SHA512 860dc7eec2c006caaa06a0cf896f392ac5091ccbe14d305e4e803b55e4efd302413a4f11fe85b9a9c5eedb61fef2f93cf764a3a83867f106e2d96a6c4c40630f WHIRLPOOL 039c54f285204555799b178703dee61cf3f3ba38d1e61541f132ab6bfa19533d92117576afc3962886db65fbe945307ba6fafd0b5be741c2cbd7394ac0342567
-MISC ChangeLog 430 SHA256 8777082b8321e27ab26a30739e0e9c1664a32e19035552b3ffa244711b9bde68 SHA512 44c1f377ec21ff8af276e67f09217f31087129b571d991af63b146317732ae6191f534fbfb45867ede32b4939257d8302b64d0e5026fbf7991d73c4c9c8e81d3 WHIRLPOOL 2b9074867fd9c823d11e48bfac09059983c4dd2152a5ff33a8cebc55c1126786a9b9aa6d72b47b3a0e97eec7b8c9635229f4ba51be83fbd453ffb91543ecc74a
+EBUILD libRocket-1.2.1.ebuild 1962 SHA256 3bae4ac7c7a1b5a3d3a7660fe40beb0d2f7819ead2475d65a2ade03bb2f92799 SHA512 a979580efe24423854432915cf09be1b2dca79fbf31252acbfc8926a9c75057f4c651deb1a644fc17fc128db26f00daedfcbf0a7cf205df4fb226ac692e550fc WHIRLPOOL b39be6e74abc106364a5e8d0cab046ffc21edb18c994a068872b01666211cc3074b0de67d3517d7a613064c3fe3afa7321a2a91b84022c746b10f4244a4d6f99
+EBUILD libRocket-1.2.1_p20130110.ebuild 1855 SHA256 f594146c68387f912813475fd11c03224bbf3e3f74af776bf62417ba1c732445 SHA512 59a267efec53b4ff2b80fb53928e6fa277b337dbfa1a0c17bb153ec42f147e89d852a3ca531f12575909116af64fdbde878a1293bb2584dc63e47f445a8a1034 WHIRLPOOL 4b7545ffe618fd4d74b6e79d7a9ba010e16f8cdfbdaac97506172a234a355cdedd5a7ff0f34d3c3dd69939e3e32f931a52ebd9d713801e5d00792b6ab0c32994
+EBUILD libRocket-9999.ebuild 1835 SHA256 e957dd1b1855b5d21198b48adc59f81b72652625643a32a6842a7bc8c14b1b53 SHA512 5e1d833ed240481a669aa5c1b3e202fd81df709fd16f018c256ce5f848caeac67226d5820e247c214d53789732fa12a6b85e36bfd20471819fb1dbd9f660cd6a WHIRLPOOL c3238a6d83f2a02dcdc665be60532679e2aeb1840dcb9794f7441dd2c61430251d2fe913c6028fd43d0737861029dbec6ea08b456cd631e6131a603d1fc54518
+MISC ChangeLog 522 SHA256 2019a7c1e88304d33d89c71b8b33f888976c0b441c48e0dcec5fc7feb3100f9c SHA512 438a1089fd0537ba7d1ba29bb438ba826ec737dd42a60484a0e8c75f2d3d79e66a083101d731d208b335bdf4322606ec15ac9800b865310475ffcf4e850f6c92 WHIRLPOOL 3cc063a9f39e1c35e8559198a87a10c9ebdc3e901d92961c64ec73a0ac18d4c2b28230506cfd5732db56e38c9e73d279c0e1b788bac9350f410204cdf17ce750
MISC metadata.xml 294 SHA256 d42b1e02c3a48eab00022cc811e6998351b7c19691fad42b10bda6f3db8aaaab SHA512 0f5486821b3585889a6c955330f2c781356e370b245ec8656111448467a59c9fdc41fd15ae633737aa46ce48b86abdc3247bffd979da00e25c756758ebb77451 WHIRLPOOL 4d8bcc430d64d761d7e134d31627d0d43ff201b990dec3da289f0fa50d33702dfd1638d6c0da7a2601ce49a130266526284d341d4d2f50e289b36079249e4231
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iQEcBAEBCAAGBQJQ+ZcZAAoJEFpvPKfnPDWzUtYH/RKqIjsAWsjhCOKsgzipezTj
+QAVSmGyw2RnmVdBNoXMmg+ewlwjlQaL+irkZJE88pnRyqTk0Q0VBLS2a7P+bL7Xy
++1DizthkdCNdU/Z7VNAvQrPoPncICP8mj6fgCVDD5a5DN2OfoRQz14W8wDVoIElP
+c/fRG3dPvBR2wryF4dwPOT4JIZeFQaTvNuItAlXN054oXG6zxiJBhQXX2gh2QGE1
+RSjpVX4GeBOzpma+lk6DAUMm+NdUr9TmnmFhjWQ8KzNZrRD7JL4CHgjyQ6prOpIR
+vYCzJRDxezt6snAznqpTYMp9P4TVW9O5IsxWXY3ysp0OLe6exbyUzAELYg26jp4=
+=dhOU
+-----END PGP SIGNATURE-----
diff --git a/dev-libs/libRocket/files/libRocket-1.2.1-build.patch b/dev-libs/libRocket/files/libRocket-1.2.1-build.patch
new file mode 100644
index 000000000000..e578b441f42b
--- /dev/null
+++ b/dev-libs/libRocket/files/libRocket-1.2.1-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.2.1.ebuild b/dev-libs/libRocket/libRocket-1.2.1.ebuild
new file mode 100644
index 000000000000..a13d7aa24677
--- /dev/null
+++ b/dev-libs/libRocket/libRocket-1.2.1.ebuild
@@ -0,0 +1,81 @@
+# 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.ebuild,v 1.1 2013/01/18 18:40:21 hasufell Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_5,2_6,2_7} )
+inherit cmake-utils eutils python-r1
+
+DESCRIPTION="A HTML/CSS User Interface library"
+HOMEPAGE="http://librocket.com/"
+SRC_URI="https://github.com/lloydw/libRocket/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="python samples"
+
+RDEPEND="media-libs/freetype
+ python? (
+ ${PYTHON_DEPS}
+ dev-libs/boost[${PYTHON_USEDEP}]
+ )"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${PN}-release-${PV}
+python_BUILD_DIR=${WORKDIR}/${P}_build_python
+CMAKE_USE_DIR="${S}"/Build
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-build.patch
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_PYTHON_BINDINGS=OFF
+ $(cmake-utils_use_build samples SAMPLES)
+ -DSAMPLES_DIR=/usr/share/${PN}/samples
+ )
+
+ 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
+ fi
+}
+
+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
+ fi
+}
+
+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
+ fi
+}
diff --git a/dev-libs/libRocket/libRocket-1.2.1_p20130110.ebuild b/dev-libs/libRocket/libRocket-1.2.1_p20130110.ebuild
new file mode 100644
index 000000000000..4e47ef140da9
--- /dev/null
+++ b/dev-libs/libRocket/libRocket-1.2.1_p20130110.ebuild
@@ -0,0 +1,76 @@
+# 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.ebuild,v 1.1 2013/01/18 18:40:21 hasufell Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_5,2_6,2_7} )
+inherit cmake-utils eutils python-r1
+
+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
+ python? (
+ ${PYTHON_DEPS}
+ dev-libs/boost[${PYTHON_USEDEP}]
+ )"
+DEPEND="${RDEPEND}"
+
+python_BUILD_DIR=${WORKDIR}/${P}_build_python
+CMAKE_USE_DIR="${S}"/Build
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_PYTHON_BINDINGS=OFF
+ $(cmake-utils_use_build samples SAMPLES)
+ -DSAMPLES_DIR=/usr/share/${PN}/samples
+ )
+
+ 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
+ fi
+}
+
+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
+ fi
+}
+
+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
+ fi
+}
diff --git a/dev-libs/libRocket/libRocket-9999.ebuild b/dev-libs/libRocket/libRocket-9999.ebuild
new file mode 100644
index 000000000000..1feda37a00d2
--- /dev/null
+++ b/dev-libs/libRocket/libRocket-9999.ebuild
@@ -0,0 +1,77 @@
+# 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.1 2013/01/18 18:40:21 hasufell Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_5,2_6,2_7} )
+inherit cmake-utils git-2 python-r1
+
+DESCRIPTION="A HTML/CSS User Interface library"
+HOMEPAGE="http://librocket.com/"
+SRC_URI=""
+EGIT_REPO_URI="git://github.com/hasufell/libRocket.git"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS=""
+IUSE="python samples"
+
+RDEPEND="media-libs/freetype
+ python? (
+ ${PYTHON_DEPS}
+ dev-libs/boost[${PYTHON_USEDEP}]
+ )"
+DEPEND="${RDEPEND}"
+
+python_BUILD_DIR=${WORKDIR}/${P}_build_python
+CMAKE_USE_DIR="${S}"/Build
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_PYTHON_BINDINGS=OFF
+ $(cmake-utils_use_build samples SAMPLES)
+ -DSAMPLES_DIR=/usr/share/${PN}/samples
+ )
+
+ 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
+ fi
+}
+
+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
+ fi
+}
+
+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
+ fi
+}
diff --git a/dev-libs/libRocket/metadata.xml b/dev-libs/libRocket/metadata.xml
new file mode 100644
index 000000000000..89bd322f113a
--- /dev/null
+++ b/dev-libs/libRocket/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>hasufell@gentoo.org</email>
+ <name>Julian Ospald</name>
+ </maintainer>
+ <use>
+ <flag name='samples'>Build samples</flag>
+ </use>
+</pkgmetadata>
+