2012-04-16 08:00:15 +04:00
|
|
|
# Copyright 1999-2012 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
2012-05-22 21:17:52 +04:00
|
|
|
# $Header: /var/cvsroot/gentoo-x86/media-gfx/swftools/swftools-0.9.2.ebuild,v 1.2 2012/05/22 11:12:59 pacho Exp $
|
2012-04-16 08:00:15 +04:00
|
|
|
|
|
|
|
EAPI=4
|
|
|
|
inherit eutils
|
|
|
|
|
|
|
|
DESCRIPTION="SWF Tools is a collection of SWF manipulation and generation utilities"
|
|
|
|
HOMEPAGE="http://www.swftools.org/"
|
|
|
|
SRC_URI="http://www.swftools.org/${P}.tar.gz"
|
|
|
|
|
|
|
|
LICENSE="GPL-2"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86"
|
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
RDEPEND=">=media-libs/t1lib-1.3.1
|
|
|
|
media-libs/freetype
|
|
|
|
virtual/jpeg"
|
|
|
|
DEPEND="${RDEPEND}
|
|
|
|
!<media-libs/ming-0.4.0_rc2"
|
|
|
|
|
|
|
|
src_prepare() {
|
|
|
|
epatch "${FILESDIR}"/swftools-0.9.2_nopdf.patch
|
|
|
|
epatch "${FILESDIR}"/swftools-0.9.2_general.patch
|
|
|
|
}
|
|
|
|
|
|
|
|
src_configure() {
|
|
|
|
econf --enable-poppler
|
|
|
|
# disable the python interface; there's no configure switch; bug 118242
|
|
|
|
echo "all install uninstall clean:" > lib/python/Makefile
|
|
|
|
}
|
|
|
|
|
|
|
|
src_compile() {
|
2012-05-22 21:17:52 +04:00
|
|
|
emake FLAGS="${CFLAGS}"
|
2012-04-16 08:00:15 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
einstall
|
|
|
|
dodoc AUTHORS ChangeLog
|
|
|
|
}
|