Gentoo Archives: gentoo-commits

From: Alexis Ballier <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libgig/
Date: Tue, 30 Aug 2016 12:49:12
Message-Id: 1472561340.e1d26a8b707391f2157551f7acf25f10eda43c21.aballier@gentoo
1 commit: e1d26a8b707391f2157551f7acf25f10eda43c21
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Tue Aug 30 12:48:08 2016 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 30 12:49:00 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1d26a8b
7
8 media-libs/libgig: add LDPATH env.d file so that libgig.so can be found at runtime
9
10 Package-Manager: portage-2.3.0
11
12 media-libs/libgig/{libgig-4.0.0.ebuild => libgig-4.0.0-r1.ebuild} | 8 ++++++--
13 1 file changed, 6 insertions(+), 2 deletions(-)
14
15 diff --git a/media-libs/libgig/libgig-4.0.0.ebuild b/media-libs/libgig/libgig-4.0.0-r1.ebuild
16 similarity index 78%
17 rename from media-libs/libgig/libgig-4.0.0.ebuild
18 rename to media-libs/libgig/libgig-4.0.0-r1.ebuild
19 index 2bce38d..db4e49d 100644
20 --- a/media-libs/libgig/libgig-4.0.0.ebuild
21 +++ b/media-libs/libgig/libgig-4.0.0-r1.ebuild
22 @@ -1,10 +1,10 @@
23 -# Copyright 1999-2015 Gentoo Foundation
24 +# Copyright 1999-2016 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26 # $Id$
27
28 EAPI=5
29
30 -inherit eutils
31 +inherit eutils multilib
32
33 DESCRIPTION="a C++ library for loading Gigasampler files and DLS (Downloadable Sounds) Level 1/2 files"
34 HOMEPAGE="http://www.linuxsampler.org/libgig/"
35 @@ -33,6 +33,10 @@ src_install() {
36 emake DESTDIR="${D}" install
37 dodoc AUTHORS ChangeLog NEWS README TODO
38
39 + # For libgig.so to be found at runtime
40 + printf "LDPATH=\"${EPREFIX}/usr/$(get_libdir)/libgig/\"" > 99${PN}
41 + doenvd "99${PN}"
42 +
43 if use doc ; then
44 dohtml -r doc/html/*
45 fi