1 |
sping 12/02/06 20:04:53 |
2 |
|
3 |
Added: libspnav-0.2.2.ebuild ChangeLog metadata.xml |
4 |
Manifest |
5 |
Log: |
6 |
dev-libs/libspnav: 0.2.2 (bug #390427) |
7 |
|
8 |
(Portage version: 2.1.10.44/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.1 dev-libs/libspnav/libspnav-0.2.2.ebuild |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libspnav/libspnav-0.2.2.ebuild?rev=1.1&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libspnav/libspnav-0.2.2.ebuild?rev=1.1&content-type=text/plain |
15 |
|
16 |
Index: libspnav-0.2.2.ebuild |
17 |
=================================================================== |
18 |
# Copyright 1999-2012 Gentoo Foundation |
19 |
# Distributed under the terms of the GNU General Public License v2 |
20 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libspnav/libspnav-0.2.2.ebuild,v 1.1 2012/02/06 20:04:53 sping Exp $ |
21 |
|
22 |
EAPI="4" |
23 |
|
24 |
inherit multilib eutils toolchain-funcs |
25 |
|
26 |
MY_PN='spacenav' |
27 |
DESCRIPTION="The libspnav provides a replacement of the magellan library with cleaner and more orthogonal API." |
28 |
HOMEPAGE="http://spacenav.sourceforge.net/" |
29 |
SRC_URI="mirror://sourceforge/project/${MY_PN}/${MY_PN}%20library%20%28SDK%29/${PN}%20${PV}/${P}.tar.gz" |
30 |
LICENSE="BSD" |
31 |
SLOT="0" |
32 |
KEYWORDS="~amd64 ~x86" |
33 |
IUSE="X" |
34 |
|
35 |
RDEPEND="X? ( app-misc/spacenavd[X] )" |
36 |
DEPEND="${RDEPEND}" |
37 |
|
38 |
src_prepare() { |
39 |
epatch "${FILESDIR}"/${P}-makefile.patch |
40 |
epatch "${FILESDIR}"/${P}-custom-flags.patch |
41 |
} |
42 |
|
43 |
src_configure() { |
44 |
econf \ |
45 |
--enable-opt --enable-ldopt \ |
46 |
$(use_enable X x11) |
47 |
} |
48 |
|
49 |
src_compile() { |
50 |
emake CC=$(tc-getCC) |
51 |
} |
52 |
|
53 |
src_install() { |
54 |
default |
55 |
|
56 |
# Use proper libdir |
57 |
if [[ $(get_libdir) != lib ]]; then |
58 |
mv "${D}"/usr/{lib,$(get_libdir)} || die |
59 |
fi |
60 |
|
61 |
# Create missing symlinks |
62 |
local target=$(basename "${D}"/usr/$(get_libdir)/libspnav.so.*) |
63 |
dosym ${target} /usr/$(get_libdir)/libspnav.so.0 || die |
64 |
dosym ${target} /usr/$(get_libdir)/libspnav.so || die |
65 |
} |
66 |
|
67 |
|
68 |
|
69 |
1.1 dev-libs/libspnav/ChangeLog |
70 |
|
71 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libspnav/ChangeLog?rev=1.1&view=markup |
72 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libspnav/ChangeLog?rev=1.1&content-type=text/plain |
73 |
|
74 |
Index: ChangeLog |
75 |
=================================================================== |
76 |
# ChangeLog for dev-libs/libspnav |
77 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
78 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libspnav/ChangeLog,v 1.1 2012/02/06 20:04:53 sping Exp $ |
79 |
|
80 |
*libspnav-0.2.2 (06 Feb 2012) |
81 |
|
82 |
06 Feb 2012; Sebastian Pipping <sping@g.o> +libspnav-0.2.2.ebuild, |
83 |
+files/libspnav-0.2.2-custom-flags.patch, |
84 |
+files/libspnav-0.2.2-makefile.patch, +metadata.xml: |
85 |
New package (bug #390427), co-operation with Anthoine Bourgeois |
86 |
|
87 |
|
88 |
|
89 |
|
90 |
1.1 dev-libs/libspnav/metadata.xml |
91 |
|
92 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libspnav/metadata.xml?rev=1.1&view=markup |
93 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libspnav/metadata.xml?rev=1.1&content-type=text/plain |
94 |
|
95 |
Index: metadata.xml |
96 |
=================================================================== |
97 |
<?xml version="1.0" encoding="UTF-8"?> |
98 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
99 |
<pkgmetadata> |
100 |
<herd>no-herd</herd> |
101 |
<maintainer> |
102 |
<email>anthoine.bourgeois@×××××.com</email> |
103 |
<name>Anthoine Bourgeois</name> |
104 |
</maintainer> |
105 |
<maintainer> |
106 |
<email>sping@g.o</email> |
107 |
<name>Sebastian Pipping</name> |
108 |
</maintainer> |
109 |
<longdescription> |
110 |
The libspnav library is provided as a replacement of the magellan |
111 |
library. It provides a cleaner, and more orthogonal interface. libspnav |
112 |
supports both the original X11 protocol for communicating with the |
113 |
driver, and the new alternative non-X protocol. Programs that choose to |
114 |
use the X11 protocol, are automatically compatible with either the free |
115 |
spacenavd driver or the official 3dxserv, as if they were using the |
116 |
magellan SDK. |
117 |
</longdescription> |
118 |
</pkgmetadata> |
119 |
|
120 |
|
121 |
|
122 |
1.1 dev-libs/libspnav/Manifest |
123 |
|
124 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libspnav/Manifest?rev=1.1&view=markup |
125 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libspnav/Manifest?rev=1.1&content-type=text/plain |
126 |
|
127 |
Index: Manifest |
128 |
=================================================================== |
129 |
AUX libspnav-0.2.2-custom-flags.patch 2151 RMD160 26eccbf34e404defe392333db30f433737220bc6 SHA1 e14d386825db1728261cfb9fbef2e5fd4c480383 SHA256 f3dcc7b4023e67a87a0554cdd277a836696c948b0ec01035ec6fe5dd2e4c587b |
130 |
AUX libspnav-0.2.2-makefile.patch 926 RMD160 7bee7c9d4af64bdafa3178c1565a41f062a96359 SHA1 9c20ac0d0d5c2bb8f60270b0d630bb37594a0596 SHA256 ec3abb5c566b3b4bb3f18e58ff83802845ea9156cba42ed417f4da35733746e7 |
131 |
DIST libspnav-0.2.2.tar.gz 11615 RMD160 d49a1c9b5e556fd8ff8e7545d0983c1b205fe9f2 SHA1 c9291ed4acb38da3be4f81e6e3b43f853ce55eca SHA256 fb72388770d7dcd85b56ac2a83948983f1afd7dbe271e18d507b975ac4bea14f |
132 |
EBUILD libspnav-0.2.2.ebuild 1136 RMD160 03c6ee02ab19c882958da182996dbe73fe596b93 SHA1 08aa23db2456f68656c5e5a77160d4ee6d96d58e SHA256 8cc656b5a9dd741de64a68dc83e788d75a59ec45d3a14a1fb1e88bc1d5f09a0b |
133 |
MISC ChangeLog 391 RMD160 11cae75c2dd2fa03f1a7278dffcb2fce6e4d7b0f SHA1 c0f6c120fe7709cf681459056815f822cd114b51 SHA256 c3011143f6af19b3af472e306ce2eee11fd9032381caedc558ed4134dae1f416 |
134 |
MISC metadata.xml 850 RMD160 ac6b9735dafead0ee2569e89dfad1e2724d69be4 SHA1 b2d86473d5a5f83a72769f9305bf23fbd494eaff SHA256 18379cae8775245952a6107dc6f447b9ab511e58b87a1299d72ada53f1498bf6 |