hasufell    14/07/20 17:39:20

  Modified:             ChangeLog
  Added:                libRocket-1.3.0.0.ebuild
  Log:
  version bump, add SUBSLOT (SONAME)
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
BDEED020)

Revision  Changes    Path
1.13                 dev-libs/libRocket/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libRocket/ChangeLog?rev=1.13&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libRocket/ChangeLog?rev=1.13&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libRocket/ChangeLog?r1=1.12&r2=1.13

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-libs/libRocket/ChangeLog,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- ChangeLog   18 Jun 2014 19:13:55 -0000      1.12
+++ ChangeLog   20 Jul 2014 17:39:20 -0000      1.13
@@ -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 <hasuf...@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 <mgo...@gentoo.org>
   libRocket-1.2.1_p20130110-r1.ebuild, libRocket-9999.ebuild:



1.1                  dev-libs/libRocket/libRocket-1.3.0.0.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libRocket/libRocket-1.3.0.0.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libRocket/libRocket-1.3.0.0.ebuild?rev=1.1&content-type=text/plain

Index: libRocket-1.3.0.0.ebuild
===================================================================
# 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
}




Reply via email to