public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] updated avifile ebuild
@ 2002-07-09  3:04 Mark Gilbert
  2002-07-10  9:15 ` Paul de Vrieze
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Gilbert @ 2002-07-09  3:04 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 138 bytes --]

Attached.

-MG

-- 
AbiWord Weekly News - Just $3 (USD) per quarter for your weekly news fix
- http://www.abisource.com/information/news/

[-- Attachment #2: avifile-0.7.9.20020704.ebuild --]
[-- Type: text/plain, Size: 1931 bytes --]

# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: $

MY_P=${P/.200/-200}
MY_S=${PN}0.7-0.7.9
S=${WORKDIR}/${MY_S}
DESCRIPTION="Library for AVI-Files"
SRC_URI="http://avifile.sourceforge.net/${MY_P}.tgz"
HOMEPAGE="http://avifile.sourceforge.net/"

DEPEND=">=media-libs/divx4linux-20020418
	media-libs/jpeg
	media-libs/win32codecs
	qt? ( >=x11-libs/qt-3.0.3 )
	nas? ( >=media-libs/nas-1.4.2 )
	sdl? ( >=media-libs/libsdl-1.2.2 )
	oggvorbis? ( media-libs/libvorbis )"

SLOT="0.7"


src_compile() {

	einfo "${S}"

	local myconf=""
	local kdepre=""
	
	( use mmx || use sse || use 3dnow ) && myconf="${myconf} --enable-x86opt"

	use qt \
		&& myconf="${myconf} --with-qt-dir=${QTDIR}" \
		|| myconf="${myconf} --without-qt"
	
	use kde \
		&& myconf="${myconf} --enable-kde" \
		|| myconf="${myconf} --disable-kde"
	
	use sdl \
		&& myconf="${myconf} --enable-sdl" \
		|| myconf="${myconf} --disable-sdl --disable-sdltest"
	
	use nas && LDFLAGS="-L/usr/X11R6/lib -lXt"

	use oggvorbis \
		&& myconf="${myconf} --enable-vorbis" \
		|| myconf="${myconf} --disable-vorbis --disable-oggtest --disable-vorbistest"
	
	use kde \
		&& ( \ 
			myconf="${myconf} --enable-kde" \
			&& LDFLAGS="${LDFLAGS} -L${KDEDIR}/lib" \
			&& myconf="${myconf} --with-extra-libraries=${KDEDIR}" \
		) || (
			myconf="${myconf} --disable-kde" \
			&& LDFLAGS="${LDFLAGS}"
		)

	
	export CFLAGS=${CFLAGS/-O?/-O2}
	export LDFLAGS
	./configure --prefix=/usr \
		--host=${CHOST} \
		--enable-quiet \
		--disable-tsc \
		${myconf} || die
		
	make || die
}

src_install () {

	dodir /usr/lib /usr/bin
	use avi && dodir /usr/lib/win32

	make prefix=${D}/usr install || die

	cd ${S}
	dodoc COPYING README
	cd doc
	dodoc CREDITS EXCEPTIONS FreeBSD LICENSING TODO
	dodoc VIDEO-PERFORMANCE WARNINGS
}

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-dev] updated avifile ebuild
  2002-07-09  3:04 [gentoo-dev] updated avifile ebuild Mark Gilbert
@ 2002-07-10  9:15 ` Paul de Vrieze
  0 siblings, 0 replies; 2+ messages in thread
From: Paul de Vrieze @ 2002-07-10  9:15 UTC (permalink / raw
  To: gentoo-dev

Please submit a bugreport for this.

Paul

-- 
Paul de Vrieze
Junior Researcher
Mail: pauldv@cs.kun.nl
Homepage: http://www.devrieze.net



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-07-10  9:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-09  3:04 [gentoo-dev] updated avifile ebuild Mark Gilbert
2002-07-10  9:15 ` Paul de Vrieze

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox