diff options
author | Michael Palimaka <kensington@gentoo.org> | 2016-01-24 07:04:17 +1100 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2016-01-24 07:07:18 +1100 |
commit | b77d4c06afe1376ee20a773620942c333ec8c328 (patch) | |
tree | 34212418afdc60f5498b955e45e0ee2c38d3a99d /dev-libs/libRocket | |
parent | dev-util/umockdev: remove old (diff) | |
download | gentoo-b77d4c06afe1376ee20a773620942c333ec8c328.tar.gz gentoo-b77d4c06afe1376ee20a773620942c333ec8c328.tar.bz2 gentoo-b77d4c06afe1376ee20a773620942c333ec8c328.zip |
dev-libs/libRocket: remove old
Package-Manager: portage-2.2.27
Diffstat (limited to 'dev-libs/libRocket')
-rw-r--r-- | dev-libs/libRocket/files/libRocket-1.2.1-build.patch | 44 | ||||
-rw-r--r-- | dev-libs/libRocket/files/libRocket-1.3.0.0-build.patch | 44 | ||||
-rw-r--r-- | dev-libs/libRocket/libRocket-1.2.1_p20130110.ebuild | 82 |
3 files changed, 0 insertions, 170 deletions
diff --git a/dev-libs/libRocket/files/libRocket-1.2.1-build.patch b/dev-libs/libRocket/files/libRocket-1.2.1-build.patch deleted file mode 100644 index e578b441f42b..000000000000 --- a/dev-libs/libRocket/files/libRocket-1.2.1-build.patch +++ /dev/null @@ -1,44 +0,0 @@ -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/files/libRocket-1.3.0.0-build.patch b/dev-libs/libRocket/files/libRocket-1.3.0.0-build.patch deleted file mode 100644 index e578b441f42b..000000000000 --- a/dev-libs/libRocket/files/libRocket-1.3.0.0-build.patch +++ /dev/null @@ -1,44 +0,0 @@ -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_p20130110.ebuild b/dev-libs/libRocket/libRocket-1.2.1_p20130110.ebuild deleted file mode 100644 index 3ade21a4b32e..000000000000 --- a/dev-libs/libRocket/libRocket-1.2.1_p20130110.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 ) -inherit cmake-utils eutils python-r1 - -DESCRIPTION="A HTML/CSS User Interface library" -HOMEPAGE="http://librocket.com/" -SRC_URI="https://dev.gentoo.org/~hasufell/distfiles/${P}.tar.xz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="python samples" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -RDEPEND="media-libs/freetype - python? ( - ${PYTHON_DEPS} - dev-libs/boost[python] - ) - samples? ( - virtual/opengl - x11-libs/libXext - x11-libs/libX11 - )" -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 -} |