chithanh    14/09/03 22:28:11

  Modified:             ChangeLog
  Added:                raspberrypi-userland-0_pre20140830.ebuild
  Log:
  New snapshot.
  
  (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 
0x2324E7B566DF2611!)

Revision  Changes    Path
1.6                  media-libs/raspberrypi-userland/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/raspberrypi-userland/ChangeLog?rev=1.6&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/raspberrypi-userland/ChangeLog?rev=1.6&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/raspberrypi-userland/ChangeLog?r1=1.5&r2=1.6

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-libs/raspberrypi-userland/ChangeLog,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- ChangeLog   23 Jan 2014 13:33:18 -0000      1.5
+++ ChangeLog   3 Sep 2014 22:28:11 -0000       1.6
@@ -1,6 +1,12 @@
 # ChangeLog for media-libs/raspberrypi-userland
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/raspberrypi-userland/ChangeLog,v 
1.5 2014/01/23 13:33:18 chithanh Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/raspberrypi-userland/ChangeLog,v 
1.6 2014/09/03 22:28:11 chithanh Exp $
+
+*raspberrypi-userland-0_pre20140830 (03 Sep 2014)
+
+  03 Sep 2014; Chí-Thanh Christopher Nguyễn <[email protected]>
+  +raspberrypi-userland-0_pre20140830.ebuild:
+  New snapshot.
 
 *raspberrypi-userland-0_pre20130705-r1 (23 Jan 2014)
 *raspberrypi-userland-0_pre20140117 (23 Jan 2014)



1.1                  
media-libs/raspberrypi-userland/raspberrypi-userland-0_pre20140830.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/raspberrypi-userland/raspberrypi-userland-0_pre20140830.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/raspberrypi-userland/raspberrypi-userland-0_pre20140830.ebuild?rev=1.1&content-type=text/plain

Index: raspberrypi-userland-0_pre20140830.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/media-libs/raspberrypi-userland/raspberrypi-userland-0_pre20140830.ebuild,v
 1.1 2014/09/03 22:28:11 chithanh Exp $

EAPI=5

inherit cmake-utils

DESCRIPTION="Raspberry Pi userspace tools and libraries"
HOMEPAGE="https://github.com/raspberrypi/userland";

if [[ ${PV} == 9999* ]]; then
        inherit git-2
        EGIT_REPO_URI="git://github.com/${PN/-//}.git"
        SRC_URI=""
        KEYWORDS=""
else
        SRC_URI="mirror://gentoo/${P}.tar.xz"
        KEYWORDS="~arm"
fi

LICENSE="BSD"
SLOT="0"

# TODO:
# * port vcfiled init script
# * stuff is still installed to hardcoded /opt/vc location, investigate whether
#   anything else depends on it being there
# * live ebuild

src_unpack() {
        if [[ ${PV} == 9999* ]]; then
                git-2_src_unpack
        else
                default
                mv userland-*/ ${P}/ || die
        fi
}

src_prepare() {
        # init script for Debian, not useful on Gentoo
        sed -i "/DESTINATION \/etc\/init.d/,+2d" 
interface/vmcs_host/linux/vcfiled/CMakeLists.txt || die
}

src_configure() {
        # toolchain file not needed, but build fails if it is not specified
        local mycmakeargs="-DCMAKE_TOOLCHAIN_FILE=/dev/null"
        cmake-utils_src_configure
}

src_install() {
        cmake-utils_src_install
        doenvd "${FILESDIR}"/04${PN}

        # enable dynamic switching of the GL implementation
        dodir /usr/lib/opengl
        dosym ../../../opt/vc /usr/lib/opengl/${PN}

        # tell eselect opengl that we do not have libGL
        touch "${ED}"/opt/vc/.gles-only
}




Reply via email to