diff options
author | Justin Lecher <jlec@gentoo.org> | 2010-11-01 13:59:49 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2010-11-01 13:59:49 +0000 |
commit | abb9eda56c49c512e4806b83316d7d65c72edb9a (patch) | |
tree | ddc3f372436410fed585370a6e40cbed0b9279b8 /media-libs/sg | |
parent | Delete older ebuild. (diff) | |
download | historical-abb9eda56c49c512e4806b83316d7d65c72edb9a.tar.gz historical-abb9eda56c49c512e4806b83316d7d65c72edb9a.tar.bz2 historical-abb9eda56c49c512e4806b83316d7d65c72edb9a.zip |
New addition
Package-Manager: portage-2.2.0_alpha3/cvs/Linux x86_64
Diffstat (limited to 'media-libs/sg')
-rw-r--r-- | media-libs/sg/ChangeLog | 10 | ||||
-rw-r--r-- | media-libs/sg/Manifest | 15 | ||||
-rw-r--r-- | media-libs/sg/files/1.4-opengl.patch | 98 | ||||
-rw-r--r-- | media-libs/sg/metadata.xml | 8 | ||||
-rw-r--r-- | media-libs/sg/sg-1.4.ebuild | 63 |
5 files changed, 194 insertions, 0 deletions
diff --git a/media-libs/sg/ChangeLog b/media-libs/sg/ChangeLog new file mode 100644 index 000000000000..b81dad342a74 --- /dev/null +++ b/media-libs/sg/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for media-libs/sg +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/sg/ChangeLog,v 1.1 2010/11/01 13:59:49 jlec Exp $ + +*sg-1.4 (01 Nov 2010) + + 01 Nov 2010; Justin Lecher <jlec@gentoo.org> +files/1.4-opengl.patch, + +sg-1.4.ebuild, +metadata.xml: + New addition + diff --git a/media-libs/sg/Manifest b/media-libs/sg/Manifest new file mode 100644 index 000000000000..b7bcbdf0dc33 --- /dev/null +++ b/media-libs/sg/Manifest @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX 1.4-opengl.patch 2304 RMD160 d05d3da21999311c6a21cc1e86a49f4be72b4f8c SHA1 a0b771515e3f6231eafb5dcb405b09b26df441b5 SHA256 eb17a5c419e3e586e80aafe19620f4db0c5e066348568e65de2885db876299d9 +DIST sg-1.4.tar.gz 2860654 RMD160 b1a6a774ccffcd1b9c57917b51f73feba5e08da8 SHA1 1dc69218b85e076adb4ae587021c0d5327e1d291 SHA256 1f4199a97630b68dff6b19db482a327ef3e0f0153891391704b5f97a8090fc04 +EBUILD sg-1.4.ebuild 1475 RMD160 a754a1b04aa65f0887478628d8347f23709136a2 SHA1 4757155dc0028c79853aa884ec996b6c1f0cd2ca SHA256 7cf6196aa603e1c2ebfb99a126a81db8d8ef9e92e3c868ce50b022cae70852a7 +MISC ChangeLog 341 RMD160 e77875efa5dd13673dd6ffafe4408859264a5a5d SHA1 b7ce0b8fe30b3eec1062a9f1fde11daa18a78ebf SHA256 172a2b8a4e2442da33439a97c373d6080e2b9bbd4edf87a783e68ef346f63b3e +MISC metadata.xml 216 RMD160 04a6fc4e2160b439296b52aa97d5b7d83af75508 SHA1 9561c9e6eada6aac9b503407917900529ce703e9 SHA256 24f5c205c2655ef27138c8aa087701626f5b4c666229c9ef7fe814e63ea2e776 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.16 (GNU/Linux) + +iEYEARECAAYFAkzOx9oACgkQgAnW8HDreRbqvQCfeKqAeaV3vCd/WFdKyCOeIjYW +vOoAoMy0/NUazV+wdQWtI25LjCSwyEPd +=WqTM +-----END PGP SIGNATURE----- diff --git a/media-libs/sg/files/1.4-opengl.patch b/media-libs/sg/files/1.4-opengl.patch new file mode 100644 index 000000000000..f6b32cf1d286 --- /dev/null +++ b/media-libs/sg/files/1.4-opengl.patch @@ -0,0 +1,98 @@ +diff --git a/configure.ac b/configure.ac +index 68ff24a..a2cd6b5 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -844,9 +844,6 @@ AC_OUTPUT([ + + src/base/Makefile + +- src/gl/Makefile +- src/glu/Makefile +- src/glw/Makefile + src/ogl/Makefile + src/vgl/Makefile + +diff --git a/src/Makefile.am b/src/Makefile.am +index ad9562f..7d5173c 100644 +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -35,5 +35,5 @@ + AUTOMAKE_OPTIONS = no-dependencies + SUFFIXES = .y .l .H .h .m .C .cc .c .f .java .o + always_built_SUBDIRS = ogl vgl +-SUBDIRS = base @gl@ @glu@ @glw@ $(always_built_SUBDIRS) aaa_inc aaa_lib . ++SUBDIRS = base $(always_built_SUBDIRS) aaa_inc aaa_lib . + +diff --git a/src/aaa_inc/GL/Makefile.am b/src/aaa_inc/GL/Makefile.am +index 10efb6b..0d5b8b7 100644 +--- a/src/aaa_inc/GL/Makefile.am ++++ b/src/aaa_inc/GL/Makefile.am +@@ -37,27 +37,6 @@ SUFFIXES = .y .l .H .h .m .C .cc .c .f .java .o + always_built_SUBDIRS = + SUBDIRS = $(always_built_SUBDIRS) . + +-if BUILD_GL +-GL_HEADS = gl.h glx.h osmesa.h wmesa.h xmesa.h +-else +-GL_HEADS = +-endif +- +-if BUILD_GLU +-GLU_HEADS = glu.h +-else +-GLU_HEADS = +-endif +- +-if BUILD_GLW +-GLW_HEADS = GLwDrawA.h +-else +-GLW_HEADS = +-endif +- +-includedir = ${prefix}/include/GL +-include_HEADERS = ${GL_HEADS} ${GLU_HEADS} ${GLW_HEADS} +- + distclean-local: clean-local + + clean-local: +diff --git a/src/aaa_lib/Makefile.am b/src/aaa_lib/Makefile.am +index bb93779..0512c45 100644 +--- a/src/aaa_lib/Makefile.am ++++ b/src/aaa_lib/Makefile.am +@@ -41,32 +41,16 @@ BASE_LIBS = ../base/libbase.la + OGL_LIBS = ../ogl/libogl.la + VGL_LIBS = ../vgl/libvgl.la + +-GL_LIBS = ../gl/libGL.la +-if BUILD_GL +-LIBGL = libGL.la +-else +-LIBGL = +-endif ++GL_LIBS = ${libdir}/libGL.la + +-GLU_LIBS = ../glu/libGLU.la +-if BUILD_GLU +-LIBGLU = libGLU.la +-else +-LIBGLU = +-endif ++GLU_LIBS = ${libdir}/libGLU.la + +-GLW_LIBS = ../glw/libGLw.la +-if BUILD_GLW +-LIBGLW = libGLw.la +-else +-LIBGLW = +-endif ++GLW_LIBS = ${libdir}/libGLw.la + +-libdir = ${prefix}/lib + lib_LTLIBRARIES = libsg.la ${LIBGL} ${LIBGLU} ${LIBGLW} + + libsg_la_SOURCES = +-libsg_la_LIBADD = ${BASE_LIBS} ${OGL_LIBS} ${VGL_LIBS} ++libsg_la_LIBADD = ${BASE_LIBS} ${OGL_LIBS} ${VGL_LIBS} -lGL -lGLU -lGLw -lXm -lmaloc -lXaw + libsg_la_LDFLAGS = -version-info ${FETK_VERSION} + + libGL_la_SOURCES = diff --git a/media-libs/sg/metadata.xml b/media-libs/sg/metadata.xml new file mode 100644 index 000000000000..c6856dc7f2cf --- /dev/null +++ b/media-libs/sg/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</herd> +<maintainer> + <email>jlec@gentoo.org</email> +</maintainer> +</pkgmetadata> diff --git a/media-libs/sg/sg-1.4.ebuild b/media-libs/sg/sg-1.4.ebuild new file mode 100644 index 000000000000..a23f0727e2cd --- /dev/null +++ b/media-libs/sg/sg-1.4.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/sg/sg-1.4.ebuild,v 1.1 2010/11/01 13:59:49 jlec Exp $ + +EAPI="3" + +inherit autotools eutils multilib + +DESCRIPTION="Socket Graphics tool for displaying polygons" +HOMEPAGE="http://fetk.org/codes/sg/index.html" +SRC_URI="http://www.fetk.org/codes/download/${P}.tar.gz" + +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +LICENSE="GPL-2" +IUSE="opengl" + +RDEPEND=" + dev-libs/maloc + x11-libs/openmotif + opengl? ( + virtual/glu + virtual/opengl + )" +DEPEND="${RDEPEND}" + +S="${WORKDIR}"/${PN} + +src_prepare() { + rm src/{gl,glu,glw} -rf + epatch "${FILESDIR}"/${PV}-opengl.patch + eautoreconf +} + +src_configure() { + local sg_include + local sg_lib + local myconf + + sg_include="${EPREFIX}"/usr/include + sg_lib="${EPREFIX}"/usr/$(get_libdir) + export FETK_LIBRARY="${sg_lib}" + export FETK_MOTIF_LIBRARY="${sg_lib}" + export FETK_GL_LIBRARY="${sg_lib}" + export FETK_GLU_LIBRARY="${sg_lib}" + export FETK_GLW_LIBRARY="${sg_lib}" + export FETK_INCLUDE="${sg_include}" + export FETK_GLW_INCLUDE="${sg_include}" + export FETK_GLU_INCLUDE="${sg_include}" + export FETK_GL_INCLUDE="${sg_include}"/GL + export FETK_MOTIF_INCLUDE="${sg_include}" + + use opengl && myconf="${myconf} --enable-glforce --enable-gluforce --enable-glwforce" + + econf \ + ${myconf} \ + --enable-shared \ + --disable-triplet +} + +src_install() { + emake DESTDIR="${D}" install || die +} |