1 |
commit: 0cee691cfcab77711088553ac81f452ad8c31f9c |
2 |
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Oct 1 21:43:22 2019 +0000 |
4 |
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 1 21:52:29 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cee691c |
7 |
|
8 |
media-libs/lib3ds: EAPI 7 |
9 |
|
10 |
Package-Manager: Portage-2.3.76, Repoman-2.3.17 |
11 |
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> |
12 |
|
13 |
.../files/lib3ds-2.0.0_rc1-underlinking.patch | 56 ---------------------- |
14 |
media-libs/lib3ds/lib3ds-2.0.0_rc1-r1.ebuild | 23 +++++++++ |
15 |
2 files changed, 23 insertions(+), 56 deletions(-) |
16 |
|
17 |
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 |
18 |
deleted file mode 100644 |
19 |
index b9001af2993..00000000000 |
20 |
--- a/media-libs/lib3ds/files/lib3ds-2.0.0_rc1-underlinking.patch |
21 |
+++ /dev/null |
22 |
@@ -1,56 +0,0 @@ |
23 |
-commit 158cf6f8deaac69eba0c5941f809469cc3eefb43 |
24 |
-Author: hasufell <hasufell@g.o> |
25 |
-Date: Thu Sep 26 20:49:01 2013 +0200 |
26 |
- |
27 |
- fix underlinking |
28 |
- |
29 |
-diff --git a/configure.in b/configure.in |
30 |
-index 7bf17c2..fa5bd3f 100644 |
31 |
---- a/configure.in |
32 |
-+++ b/configure.in |
33 |
-@@ -16,6 +16,8 @@ AM_INIT_AUTOMAKE(lib3ds, $LIB3DS_VERSION) |
34 |
- AC_PROG_CC |
35 |
- AC_PROG_LIBTOOL |
36 |
- |
37 |
-+AC_CHECK_LIBM |
38 |
-+ |
39 |
- AC_OUTPUT([ \ |
40 |
- lib3ds-config \ |
41 |
- Makefile \ |
42 |
-diff --git a/examples/3ds2obj/Makefile.am b/examples/3ds2obj/Makefile.am |
43 |
-index 8213225..4214675 100644 |
44 |
---- a/examples/3ds2obj/Makefile.am |
45 |
-+++ b/examples/3ds2obj/Makefile.am |
46 |
-@@ -3,6 +3,6 @@ INCLUDES = -I$(top_srcdir)/src |
47 |
- bin_PROGRAMS = 3ds2obj |
48 |
- 3ds2obj_SOURCES = 3ds2obj.c |
49 |
- |
50 |
--LDADD = $(top_builddir)/src/lib3ds.la |
51 |
-+LDADD = $(top_builddir)/src/lib3ds.la $(LIBM) |
52 |
- |
53 |
- EXTRA_DIST = 3ds2obj.vcproj |
54 |
-diff --git a/examples/3dsdump/Makefile.am b/examples/3dsdump/Makefile.am |
55 |
-index 98ec5d1..ef19b04 100644 |
56 |
---- a/examples/3dsdump/Makefile.am |
57 |
-+++ b/examples/3dsdump/Makefile.am |
58 |
-@@ -3,6 +3,6 @@ INCLUDES = -I$(top_srcdir)/src |
59 |
- bin_PROGRAMS = 3dsdump |
60 |
- 3dsdump_SOURCES = 3dsdump.c |
61 |
- |
62 |
--LDADD = $(top_builddir)/src/lib3ds.la |
63 |
-+LDADD = $(top_builddir)/src/lib3ds.la $(LIBM) |
64 |
- |
65 |
- EXTRA_DIST = 3dsdump.vcproj |
66 |
-diff --git a/examples/cube/Makefile.am b/examples/cube/Makefile.am |
67 |
-index c79c0ee..539813d 100644 |
68 |
---- a/examples/cube/Makefile.am |
69 |
-+++ b/examples/cube/Makefile.am |
70 |
-@@ -3,7 +3,7 @@ INCLUDES = -I$(top_srcdir)/src |
71 |
- bin_PROGRAMS = cube |
72 |
- cube_SOURCES = cube.c |
73 |
- |
74 |
--LDADD = $(top_builddir)/src/lib3ds.la |
75 |
-+LDADD = $(top_builddir)/src/lib3ds.la $(LIBM) |
76 |
- |
77 |
- EXTRA_DIST = cube.vcproj cube.tga |
78 |
- |
79 |
|
80 |
diff --git a/media-libs/lib3ds/lib3ds-2.0.0_rc1-r1.ebuild b/media-libs/lib3ds/lib3ds-2.0.0_rc1-r1.ebuild |
81 |
new file mode 100644 |
82 |
index 00000000000..c8e2db13f63 |
83 |
--- /dev/null |
84 |
+++ b/media-libs/lib3ds/lib3ds-2.0.0_rc1-r1.ebuild |
85 |
@@ -0,0 +1,23 @@ |
86 |
+# Copyright 1999-2019 Gentoo Authors |
87 |
+# Distributed under the terms of the GNU General Public License v2 |
88 |
+ |
89 |
+EAPI=7 |
90 |
+ |
91 |
+MY_PV="20080909" |
92 |
+MY_P="${PN}-${MY_PV}" |
93 |
+ |
94 |
+DESCRIPTION="library for managing 3D-Studio Release 3 and 4 .3DS files" |
95 |
+HOMEPAGE="https://code.google.com/p/lib3ds/" |
96 |
+SRC_URI="https://lib3ds.googlecode.com/files/${MY_P}.zip" |
97 |
+LICENSE="LGPL-2.1+" |
98 |
+SLOT="0" |
99 |
+KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86" |
100 |
+IUSE="" |
101 |
+ |
102 |
+BDEPEND="app-arch/unzip" |
103 |
+ |
104 |
+S="${WORKDIR}/${MY_P}" |
105 |
+ |
106 |
+PATCHES=( |
107 |
+ "${FILESDIR}"/${P}-underlinking-no-autoreconf.patch |
108 |
+) |