# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="portable ASS/SSA renderer" HOMEPAGE="http://asa.diac24.net/" #note the hardcode path! the version number! This cannot last! SRC_URI="http://www.tjhsst.edu/~aparthum/srcdist/asa-0.3.2.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="sse2" RDEPEND=">=x11-libs/gtk+-2.4.0 >=dev-libs/glib-2.4.0 >=gnome-base/libglade-2.4.0 >=media-libs/freetype-2.1.10 >=media-libs/fontconfig-2.2" DEPEND="${RDEPEND} amd64? ( sse2? (dev-lang/yasm) )" #This is also no good! S="${WORKDIR}/asa-0.3.2" src_compile() { local myconf=" " if use amd64; then use sse2 && myconf="${myconf} $(use_enable sse2 optimize)" fi econf ${myconf} || die "econf failed" emake || die "emake failed" } src_install() { emake DESTDIR="${D}" install || die "emake install failed" }