diff options
author | James Le Cuirot <chewi@gentoo.org> | 2019-10-01 22:43:22 +0100 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2019-10-01 22:52:29 +0100 |
commit | 0cee691cfcab77711088553ac81f452ad8c31f9c (patch) | |
tree | b6531945f5c329a5217305cbe6d53ac1884b50e6 /media-libs/lib3ds | |
parent | media-libs/lib3ds: Drop old 1.x (diff) | |
download | gentoo-0cee691cfcab77711088553ac81f452ad8c31f9c.tar.gz gentoo-0cee691cfcab77711088553ac81f452ad8c31f9c.tar.bz2 gentoo-0cee691cfcab77711088553ac81f452ad8c31f9c.zip |
media-libs/lib3ds: EAPI 7
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'media-libs/lib3ds')
-rw-r--r-- | media-libs/lib3ds/files/lib3ds-2.0.0_rc1-underlinking.patch | 56 | ||||
-rw-r--r-- | media-libs/lib3ds/lib3ds-2.0.0_rc1-r1.ebuild | 23 |
2 files changed, 23 insertions, 56 deletions
diff --git a/media-libs/lib3ds/files/lib3ds-2.0.0_rc1-underlinking.patch b/media-libs/lib3ds/files/lib3ds-2.0.0_rc1-underlinking.patch deleted file mode 100644 index b9001af2993a..000000000000 --- a/media-libs/lib3ds/files/lib3ds-2.0.0_rc1-underlinking.patch +++ /dev/null @@ -1,56 +0,0 @@ -commit 158cf6f8deaac69eba0c5941f809469cc3eefb43 -Author: hasufell <hasufell@gentoo.org> -Date: Thu Sep 26 20:49:01 2013 +0200 - - fix underlinking - -diff --git a/configure.in b/configure.in -index 7bf17c2..fa5bd3f 100644 ---- a/configure.in -+++ b/configure.in -@@ -16,6 +16,8 @@ AM_INIT_AUTOMAKE(lib3ds, $LIB3DS_VERSION) - AC_PROG_CC - AC_PROG_LIBTOOL - -+AC_CHECK_LIBM -+ - AC_OUTPUT([ \ - lib3ds-config \ - Makefile \ -diff --git a/examples/3ds2obj/Makefile.am b/examples/3ds2obj/Makefile.am -index 8213225..4214675 100644 ---- a/examples/3ds2obj/Makefile.am -+++ b/examples/3ds2obj/Makefile.am -@@ -3,6 +3,6 @@ INCLUDES = -I$(top_srcdir)/src - bin_PROGRAMS = 3ds2obj - 3ds2obj_SOURCES = 3ds2obj.c - --LDADD = $(top_builddir)/src/lib3ds.la -+LDADD = $(top_builddir)/src/lib3ds.la $(LIBM) - - EXTRA_DIST = 3ds2obj.vcproj -diff --git a/examples/3dsdump/Makefile.am b/examples/3dsdump/Makefile.am -index 98ec5d1..ef19b04 100644 ---- a/examples/3dsdump/Makefile.am -+++ b/examples/3dsdump/Makefile.am -@@ -3,6 +3,6 @@ INCLUDES = -I$(top_srcdir)/src - bin_PROGRAMS = 3dsdump - 3dsdump_SOURCES = 3dsdump.c - --LDADD = $(top_builddir)/src/lib3ds.la -+LDADD = $(top_builddir)/src/lib3ds.la $(LIBM) - - EXTRA_DIST = 3dsdump.vcproj -diff --git a/examples/cube/Makefile.am b/examples/cube/Makefile.am -index c79c0ee..539813d 100644 ---- a/examples/cube/Makefile.am -+++ b/examples/cube/Makefile.am -@@ -3,7 +3,7 @@ INCLUDES = -I$(top_srcdir)/src - bin_PROGRAMS = cube - cube_SOURCES = cube.c - --LDADD = $(top_builddir)/src/lib3ds.la -+LDADD = $(top_builddir)/src/lib3ds.la $(LIBM) - - EXTRA_DIST = cube.vcproj cube.tga - diff --git a/media-libs/lib3ds/lib3ds-2.0.0_rc1-r1.ebuild b/media-libs/lib3ds/lib3ds-2.0.0_rc1-r1.ebuild new file mode 100644 index 000000000000..c8e2db13f631 --- /dev/null +++ b/media-libs/lib3ds/lib3ds-2.0.0_rc1-r1.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PV="20080909" +MY_P="${PN}-${MY_PV}" + +DESCRIPTION="library for managing 3D-Studio Release 3 and 4 .3DS files" +HOMEPAGE="https://code.google.com/p/lib3ds/" +SRC_URI="https://lib3ds.googlecode.com/files/${MY_P}.zip" +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86" +IUSE="" + +BDEPEND="app-arch/unzip" + +S="${WORKDIR}/${MY_P}" + +PATCHES=( + "${FILESDIR}"/${P}-underlinking-no-autoreconf.patch +) |