mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-20 22:27:17 -08:00
media-libs/openctm: misc fixes
* Drop leading whitespace * Modernise inherits (eutils -> edos2unix, no multilib needed for get_libdir) Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,15 +1,16 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit eutils multilib flag-o-matic toolchain-funcs
|
||||
inherit edos2unix flag-o-matic toolchain-funcs
|
||||
|
||||
MY_P=OpenCTM-${PV}
|
||||
|
||||
DESCRIPTION="OpenCTM - the Open Compressed Triangle Mesh."
|
||||
HOMEPAGE="http://openctm.sourceforge.net"
|
||||
SRC_URI="https://downloads.sourceforge.net/project/openctm/${MY_P}/${MY_P}-src.tar.bz2 -> ${P}-src.tar.bz2"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0/1"
|
||||
@@ -18,17 +19,16 @@ KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
DEPEND="
|
||||
dev-libs/tinyxml
|
||||
media-libs/freeglut
|
||||
media-libs/glew:0=
|
||||
media-libs/pnglite
|
||||
sys-libs/zlib
|
||||
virtual/jpeg:0
|
||||
media-libs/freeglut
|
||||
virtual/opengl
|
||||
x11-libs/gtk+:2"
|
||||
x11-libs/gtk+:2
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-escape-hyphens-in-ctmconv-man-page.patch"
|
||||
"${FILESDIR}/${P}-link-ctmviewer-with-libGLU.patch"
|
||||
@@ -53,5 +53,5 @@ src_compile() {
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${ED}" LIBDIR="${ED}/usr/$(get_libdir)" -f Makefile.linux install
|
||||
emake DESTDIR="${ED}" LIBDIR="${ED}/usr/$(get_libdir)" -f Makefile.linux install
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user