mgorny      14/12/08 23:18:22

  Modified:             eselect-opengl-1.3.0.ebuild ChangeLog
  Added:                eselect-opengl-1.3.1.ebuild
  Log:
  Version bump to fix creating xorg.conf.d it if does not exist, reported by 
Jeroen Roovers. Use ${PV} in SRC_URI.
  
  (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 
EFB4464E!)

Revision  Changes    Path
1.3                  app-admin/eselect-opengl/eselect-opengl-1.3.0.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/eselect-opengl/eselect-opengl-1.3.0.ebuild?rev=1.3&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/eselect-opengl/eselect-opengl-1.3.0.ebuild?rev=1.3&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/eselect-opengl/eselect-opengl-1.3.0.ebuild?r1=1.2&r2=1.3

Index: eselect-opengl-1.3.0.ebuild
===================================================================
RCS file: 
/var/cvsroot/gentoo-x86/app-admin/eselect-opengl/eselect-opengl-1.3.0.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- eselect-opengl-1.3.0.ebuild 8 Dec 2014 20:16:12 -0000       1.2
+++ eselect-opengl-1.3.0.ebuild 8 Dec 2014 23:18:22 -0000       1.3
@@ -1,6 +1,6 @@
 # Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: 
/var/cvsroot/gentoo-x86/app-admin/eselect-opengl/eselect-opengl-1.3.0.ebuild,v 
1.2 2014/12/08 20:16:12 mattst88 Exp $
+# $Header: 
/var/cvsroot/gentoo-x86/app-admin/eselect-opengl/eselect-opengl-1.3.0.ebuild,v 
1.3 2014/12/08 23:18:22 mgorny Exp $
 
 EAPI=5
 
@@ -14,7 +14,7 @@
 GLXEXT="34"
 
 MIRROR="http://dev.gentoo.org/~mattst88/distfiles";
-SRC_URI="http://dev.gentoo.org/~mgorny/dist/opengl.eselect-1.3.0.xz";
+SRC_URI="http://dev.gentoo.org/~mgorny/dist/opengl.eselect-${PV}.xz";
 #      ${MIRROR}/${P}.tar.xz"
 
 LICENSE="GPL-2"



1.128                app-admin/eselect-opengl/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/eselect-opengl/ChangeLog?rev=1.128&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/eselect-opengl/ChangeLog?rev=1.128&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/eselect-opengl/ChangeLog?r1=1.127&r2=1.128

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-admin/eselect-opengl/ChangeLog,v
retrieving revision 1.127
retrieving revision 1.128
diff -u -r1.127 -r1.128
--- ChangeLog   8 Dec 2014 21:26:23 -0000       1.127
+++ ChangeLog   8 Dec 2014 23:18:22 -0000       1.128
@@ -1,6 +1,13 @@
 # ChangeLog for app-admin/eselect-opengl
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-opengl/ChangeLog,v 1.127 
2014/12/08 21:26:23 mattst88 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-opengl/ChangeLog,v 1.128 
2014/12/08 23:18:22 mgorny Exp $
+
+*eselect-opengl-1.3.1 (08 Dec 2014)
+
+  08 Dec 2014; Michał Górny <[email protected]> +eselect-opengl-1.3.1.ebuild,
+  eselect-opengl-1.3.0.ebuild:
+  Version bump to fix creating xorg.conf.d it if does not exist, reported by
+  Jeroen Roovers. Use ${PV} in SRC_URI.
 
   08 Dec 2014; Matt Turner <[email protected]> eselect-opengl-1.2.7.ebuild:
   Block on mesa-10.3.4-r1 and >=10.3.5-r1



1.1                  app-admin/eselect-opengl/eselect-opengl-1.3.1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/eselect-opengl/eselect-opengl-1.3.1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/eselect-opengl/eselect-opengl-1.3.1.ebuild?rev=1.1&content-type=text/plain

Index: eselect-opengl-1.3.1.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/app-admin/eselect-opengl/eselect-opengl-1.3.1.ebuild,v 
1.1 2014/12/08 23:18:22 mgorny Exp $

EAPI=5

DESCRIPTION="Utility to change the OpenGL interface being used"
HOMEPAGE="http://www.gentoo.org/";

# Source:
# http://www.opengl.org/registry/api/glext.h
# http://www.opengl.org/registry/api/glxext.h
GLEXT="85"
GLXEXT="34"

MIRROR="http://dev.gentoo.org/~mattst88/distfiles";
SRC_URI="http://dev.gentoo.org/~mgorny/dist/opengl.eselect-${PV}.xz";
#       ${MIRROR}/${P}.tar.xz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc 
~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~arm-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris 
~x86-solaris"
IUSE=""

DEPEND="app-arch/xz-utils"
RDEPEND=">=app-admin/eselect-1.2.4
                 !<media-libs/mesa-10.3.4-r1
                 !=media-libs/mesa-10.3.5
                 !<x11-proto/glproto-1.4.17-r1
                 !<x11-base/xorg-server-1.16.2-r1"

S=${WORKDIR}

pkg_preinst() {
        # we may be moving the config file, so get it early
        OLD_IMPL=$(eselect opengl show)
}

pkg_postinst() {
        if [[ -n "${OLD_IMPL}" && "${OLD_IMPL}" != '(none)' ]] ; then
                eselect opengl set "${OLD_IMPL}"
        fi
        if [[ -f ${EROOT}/etc/env.d/02opengl ]]; then
                # remove the old file, moved now
                rm -vf "${EROOT}"/etc/env.d/02opengl
        fi
}

src_prepare() {
        # don't die on Darwin users
        if [[ ${CHOST} == *-darwin* ]] ; then
                sed -i -e 's/libGL\.so/libGL.dylib/' opengl.eselect || die
        fi
}

src_install() {
        insinto "/usr/share/eselect/modules"
        newins opengl.eselect-${PV} opengl.eselect
#       doman opengl.eselect.5
}




Reply via email to