1 |
commit: 580a0c9b651324a8bb00c3b103fb484af35ea798 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 23 21:52:17 2018 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 23 21:52:35 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=580a0c9b |
7 |
|
8 |
media-libs/plib: Rev bump to bump EAPI to EAPI=6 |
9 |
|
10 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
11 |
|
12 |
media-libs/plib/files/plib-1.8.5-X11-r1.patch | 11 ++++++++ |
13 |
media-libs/plib/plib-1.8.5-r2.ebuild | 40 +++++++++++++++++++++++++++ |
14 |
2 files changed, 51 insertions(+) |
15 |
|
16 |
diff --git a/media-libs/plib/files/plib-1.8.5-X11-r1.patch b/media-libs/plib/files/plib-1.8.5-X11-r1.patch |
17 |
new file mode 100644 |
18 |
index 00000000000..7c19d15c370 |
19 |
--- /dev/null |
20 |
+++ b/media-libs/plib/files/plib-1.8.5-X11-r1.patch |
21 |
@@ -0,0 +1,11 @@ |
22 |
+--- a/configure.in |
23 |
++++ b/configure.in |
24 |
+@@ -276,7 +276,7 @@ |
25 |
+ |
26 |
+ LDFLAGS="$LDFLAGS $X_LIBS" |
27 |
+ |
28 |
+- LIBS="$LIBS $X_PRE_LIBS -lXi -lXmu -lXext -lX11 $X_EXTRA_LIBS -lm" |
29 |
++ LIBS="$LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS -lm" |
30 |
+ |
31 |
+ dnl ========================================================= |
32 |
+ dnl if test "x$x_includes" != "x"; then |
33 |
|
34 |
diff --git a/media-libs/plib/plib-1.8.5-r2.ebuild b/media-libs/plib/plib-1.8.5-r2.ebuild |
35 |
new file mode 100644 |
36 |
index 00000000000..d3ca9fa9138 |
37 |
--- /dev/null |
38 |
+++ b/media-libs/plib/plib-1.8.5-r2.ebuild |
39 |
@@ -0,0 +1,40 @@ |
40 |
+# Copyright 1999-2018 Gentoo Foundation |
41 |
+# Distributed under the terms of the GNU General Public License v2 |
42 |
+ |
43 |
+EAPI="6" |
44 |
+inherit flag-o-matic autotools |
45 |
+ |
46 |
+DESCRIPTION="multimedia library used by many games" |
47 |
+HOMEPAGE="http://plib.sourceforge.net/" |
48 |
+SRC_URI="http://plib.sourceforge.net/dist/${P}.tar.gz" |
49 |
+ |
50 |
+LICENSE="LGPL-2" |
51 |
+SLOT="0" |
52 |
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86" |
53 |
+ |
54 |
+DEPEND="virtual/opengl" |
55 |
+RDEPEND=${DEPEND} |
56 |
+ |
57 |
+PATCHES=( |
58 |
+ "${FILESDIR}"/${P}-X11-r1.patch |
59 |
+ "${FILESDIR}"/${P}-CVE-2011-4620.patch |
60 |
+ "${FILESDIR}"/${P}-CVE-2012-4552.patch |
61 |
+) |
62 |
+ |
63 |
+src_prepare() { |
64 |
+ default |
65 |
+ |
66 |
+ mv configure.in configure.ac || die |
67 |
+ |
68 |
+ eautoreconf |
69 |
+ |
70 |
+ # Since plib only provides static libraries, force |
71 |
+ # building as PIC or plib is useless to amd64/etc... |
72 |
+ append-flags -fPIC |
73 |
+} |
74 |
+ |
75 |
+src_install() { |
76 |
+ DOCS=( AUTHORS ChangeLog KNOWN_BUGS NOTICE README* TODO* ) |
77 |
+ |
78 |
+ default |
79 |
+} |