mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
media-libs/glee: add multilib support
Also minorly updates the autotools patch so the generated pkg-config file includes the package version properly. Signed-off-by: Vivian Heisz (demize) <demize@unstable.systems>
This commit is contained in:
@@ -2,7 +2,7 @@ diff -ruN configure.ac configure.ac
|
||||
--- configure.ac 1970-01-01 03:00:00.000000000 +0300
|
||||
+++ configure.ac 2007-02-13 23:48:45.000000000 +0300
|
||||
@@ -0,0 +1,11 @@
|
||||
+AC_INIT(configure.ac)
|
||||
+AC_INIT(libGLee, 5.4)
|
||||
+AC_CONFIG_FILES([glee.pc])
|
||||
+
|
||||
+AM_CONFIG_HEADER(config.h)
|
||||
|
||||
@@ -3,34 +3,39 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools
|
||||
inherit autotools multilib-minimal
|
||||
|
||||
DESCRIPTION="OpenGL Easy Extension library"
|
||||
HOMEPAGE="https://elf-stone.com/glee.php"
|
||||
SRC_URI="https://elf-stone.com/downloads/GLee/GLee-${PV}-src.tar.gz"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="static-libs"
|
||||
|
||||
RDEPEND="virtual/opengl"
|
||||
RDEPEND="virtual/opengl[${MULTILIB_USEDEP}]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_unpack() {
|
||||
mkdir "${P}" || die
|
||||
cd "${P}" || die
|
||||
default
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eapply -p0 "${FILESDIR}/${PN}-autotools.patch"
|
||||
eautoreconf || die
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
multilib_src_configure() {
|
||||
econf \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
multilib_src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
find "${ED}" -type f -name '*.la' -delete || die
|
||||
dodoc readme.txt extensionList.txt || die
|
||||
Reference in New Issue
Block a user