Files
@ 973eab045010
Branch filter:
Location: ohnobinki_overlay/media-libs/libdvdnav/libdvdnav-4.1.2.ebuild - annotation
973eab045010
1.5 KiB
application/vnd.gentoo.ebuild
dev-util/cmake: Add a patch to cmake which enables kde-base/kdelibs to compile on systems where /usr/lib is neither a symlink to /usr/lib64 or /usr/lib32. This adds a FIND_LIBRARY_USE_LIB32_PATHS global property which is an analog to the FIND_LIBRARY_USE_LIB64_PATHS property.
(Portage version: 2.2_rc69-r1/hg/Linux x86_64, signed Manifest commit)
(Portage version: 2.2_rc69-r1/hg/Linux x86_64, signed Manifest commit)
5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 | # Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
WANT_AUTOCONF="2.5"
inherit eutils autotools multilib base
DESCRIPTION="Library for DVD navigation tools"
HOMEPAGE="http://mplayerhq.hu/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
IUSE="debug"
SRC_URI="http://www3.mplayerhq.hu/MPlayer/releases/dvdnav/libdvdnav-4.1.2.tar.gz"
PROVIDE="media-libs/libdvdread"
RDEPEND=">=media-libs/libdvdread-0.9.7"
DEPEND=">=media-libs/libdvdread-0.9.7"
src_unpack() {
base_src_unpack
cd "${S}"
#remove it so that it can't be found and so that we get the errors we WANT :-) (like, "can't find nav_types.h" which should be in /usr/include/dvdread and is also in src/dvdread (which may have incompatible headers))
mv src/dvdread src/notdvdread
epatch "${FILESDIR}/${P}-nomake_libdvdread.diff"
epatch "${FILESDIR}/${P}-mydebug.diff"
eautoreconf
}
src_compile() {
#there is probably a MUCH better fix than the following line, but I've heard rumors of dissent concerning configure scripts, so I won't waste my time in m4 :-)
LDFLAGS="${LDFLAGS} -L/usr/$(get_libdir)/dvdread -ldvdread"
./configure --prefix=/usr --libdir=/usr/$(get_libdir) \
--enable-static --enable-shared \
--disable-strip --disable-opts \
$(use_enable debug) || die "configure died"
emake || die "emake died"
}
src_install () {
emake -j1 DESTDIR="${D}" install || die "emake install died"
dodoc AUTHORS DEVELOPMENT-POLICY.txt ChangeLog TODO \
doc/dvd_structures
}
|