diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2016-06-18 12:40:53 -0400 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2016-06-18 12:40:53 -0400 |
commit | 5f01e713c4ae1966271997a93f62f107fedc8122 (patch) | |
tree | 174212844d7be988ea259b200b5ade55aabb4306 /media-libs | |
parent | games-strategy/s25rttr: clean metadata.xml (diff) | |
download | gentoo-5f01e713c4ae1966271997a93f62f107fedc8122.tar.gz gentoo-5f01e713c4ae1966271997a93f62f107fedc8122.tar.bz2 gentoo-5f01e713c4ae1966271997a93f62f107fedc8122.zip |
media-libs/glfw: clean unused version
Package-Manager: portage-2.2.28
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/glfw/Manifest | 1 | ||||
-rw-r--r-- | media-libs/glfw/files/glfw-2.7.7-dyn.patch | 31 | ||||
-rw-r--r-- | media-libs/glfw/files/glfw-2.7.7-pkgconfig.patch | 37 | ||||
-rw-r--r-- | media-libs/glfw/glfw-2.7.7.ebuild | 95 |
4 files changed, 0 insertions, 164 deletions
diff --git a/media-libs/glfw/Manifest b/media-libs/glfw/Manifest index 284b778db6ed..5af3f45350d7 100644 --- a/media-libs/glfw/Manifest +++ b/media-libs/glfw/Manifest @@ -1,2 +1 @@ -DIST glfw-2.7.7.tar.bz2 927805 SHA256 422e755979524a1da28e4addcae723b7132998ca15e89be41bf34964d9360aa2 SHA512 1b51b9d88c8eed9da8084421949b561a4779410a6369ffdf482c2d8a166bab8c58bbb087ef6f32180d3fe9430988549be5c183b338dd0e1191b2c4b4a7b55379 WHIRLPOOL 646d38fd3ea88e8aa19dcbfa8f8b933adc530ea946cd51c3e03971ed6cdb294dadf5020a876ba298c378896179a4a7ba0129b858fc7f1273a574fe1c2c388a77 DIST glfw-3.1.2.tar.bz2 588640 SHA256 31a1e6b6d7c64bbf44dce623785c87c0f29d965b19c452828e48acd64fa643e7 SHA512 00dc822403848f3e60535b9f70ea43147717252373c704c52b5480020cea7f416a00c036ab5ffbc0bc76863c4ddb7d271310e64face639e68f7a62e9db882e94 WHIRLPOOL 1e54efff306fc7f17620f6a874c66e5315d9dd2b2c45f6f4c95562b1c2ac50c5e4410173c23351c31aeaee187b5fe39999d1788fd9a42053d420b5a252331a2c diff --git a/media-libs/glfw/files/glfw-2.7.7-dyn.patch b/media-libs/glfw/files/glfw-2.7.7-dyn.patch deleted file mode 100644 index 4dc4cc242ee7..000000000000 --- a/media-libs/glfw/files/glfw-2.7.7-dyn.patch +++ /dev/null @@ -1,31 +0,0 @@ ---- lib/x11/Makefile.x11.in -+++ lib/x11/Makefile.x11.in -@@ -8,7 +8,7 @@ - ########################################################################## - # Default: Build GLFW static library - ########################################################################## --all: libglfw.a libglfw.so -+all: libglfw.a libglfw.so.2.7.7 - - - ########################################################################## -@@ -112,7 +112,7 @@ - ########################################################################## - # Rule for building shared library - ########################################################################## --libglfw.so: $(SHARED_OBJS) -+libglfw.so.2.7.7: $(SHARED_OBJS) - $(CC) $(SOFLAGS) -o $@ $(SHARED_OBJS) $(LFLAGS) $(LIBS) - - ---- compile.sh -+++ compile.sh -@@ -88,7 +88,7 @@ - case "x`uname 2> /dev/null`" in - xLinux) - GLFW_LIB_CFLAGS="$GLFW_LIB_CFLAGS -D_GLFW_USE_LINUX_JOYSTICKS" -- SOFLAGS="-shared -Wl,-soname,libglfw.so" -+ SOFLAGS="-shared -Wl,-soname,libglfw.so.2.7.7" - echo "Linux" 1>&6 - ;; - xDarwin) diff --git a/media-libs/glfw/files/glfw-2.7.7-pkgconfig.patch b/media-libs/glfw/files/glfw-2.7.7-pkgconfig.patch deleted file mode 100644 index e880995c1a6b..000000000000 --- a/media-libs/glfw/files/glfw-2.7.7-pkgconfig.patch +++ /dev/null @@ -1,37 +0,0 @@ -support libsuffix, fix version - ---- lib/x11/Makefile.x11.in -+++ lib/x11/Makefile.x11.in -@@ -3,6 +3,7 @@ - # Installation prefix (default to /usr/local) - ########################################################################## - PREFIX ?= /usr/local -+LIBDIR ?= lib - - - ########################################################################## -@@ -99,7 +100,7 @@ - # Rule for building libglfw.pc - ########################################################################## - libglfw.pc: libglfw.pc.in -- $(SED) -e 's,\@PREFIX\@,$(PREFIX),' libglfw.pc.in > libglfw.pc -+ $(SED) -e 's,\@PREFIX\@,$(PREFIX),' -e 's,\@LIBDIR@,$(LIBDIR),' libglfw.pc.in > libglfw.pc - - - ########################################################################## ---- compile.sh -+++ compile.sh -@@ -734,11 +734,11 @@ - prefix=@PREFIX@ - exec_prefix=\${prefix} - includedir=\${prefix}/include --libdir=\${exec_prefix}/lib -+libdir=\${exec_prefix}/@LIBDIR@ - - Name: GLFW - Description: A portable framework for OpenGL development --Version: 2.7.4 -+Version: 2.7.7 - URL: http://www.glfw.org/ - Requires.private: gl x11 $PKG_LIBS - Libs: -L\${libdir} -lglfw $LFLAGS_THREAD $LFLAGS_CLOCK diff --git a/media-libs/glfw/glfw-2.7.7.ebuild b/media-libs/glfw/glfw-2.7.7.ebuild deleted file mode 100644 index c8155acc2cf7..000000000000 --- a/media-libs/glfw/glfw-2.7.7.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -inherit eutils multilib toolchain-funcs - -DESCRIPTION="The Portable OpenGL FrameWork" -HOMEPAGE="http://www.glfw.org/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" - -LICENSE="ZLIB" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="examples static-libs" - -DEPEND="x11-libs/libX11 - x11-libs/libXrandr - virtual/glu - virtual/opengl" -RDEPEND="${DEPEND}" - -src_prepare() { - sed -i \ - -e "s:\"docs/:\"/usr/share/doc/${PF}/pdf/:" \ - readme.html || die - - epatch "${FILESDIR}"/${P}-{dyn,pkgconfig}.patch - - # respect ldflags - sed -i \ - -e "s/\$(LFLAGS)/\$(LDFLAGS) \$(LFLAGS)/" \ - {lib/x11,examples}/Makefile.x11.in || die - - # respect cflags in linking command - # build system is messing up CFLAGS variable, so sed is the easy way to go - sed -i \ - -e "/^libglfw.so/{n;s/\$(CC)/\$(CC) ${CFLAGS}/;}" \ - lib/x11/Makefile.x11.in || die - - if use !static-libs ; then - sed -i \ - -e '/^all:/s/libglfw.a//' \ - lib/x11/Makefile.x11.in || die - fi -} - -src_configure() { - sh ./compile.sh -} - -src_compile() { - emake -C lib/x11 AR=$(tc-getAR) CC=$(tc-getCC) PREFIX=/usr LIBDIR=$(get_libdir) -f Makefile.x11 all libglfw.pc - use examples && emake -C examples CC=$(tc-getCC) -f Makefile.x11 all -} - -src_install() { - use static-libs && dolib.a lib/x11/libglfw.a - dolib.so lib/x11/libglfw.so.2.7.7 - dosym libglfw.so.2.7.7 /usr/$(get_libdir)/libglfw.so - - insinto /usr/$(get_libdir)/pkgconfig - doins lib/x11/libglfw.pc - doheader -r include/GL - dohtml -r readme.html - insinto /usr/share/doc/${PF}/pdf - doins docs/*.pdf - dodoc docs/readme.txt - - if use examples; then - local f - local MY_EXAMPLES="boing gears listmodes mipmaps - mtbench mthello particles pong3d splitview - triangle wave" - local MY_PICS="mipmaps.tga pong3d_field.tga pong3d_instr.tga - pong3d_menu.tga pong3d_title.tga - pong3d_winner1.tga pong3d_winner2.tga" - - docompress -x /usr/share/doc/${PF}/examples - insinto /usr/share/doc/${PF}/examples - - doins examples/Makefile.x11 - for f in $MY_EXAMPLES; do - doins examples/${f}.c - done - for f in $MY_PICS; do - doins examples/${f} - done - - insopts -m0755 - for f in $MY_EXAMPLES; do - doins examples/${f} - done - fi -} |