Wednesday, November 01, 2006

Ebuilds: media-gfx/f4l

F4L is an open source development environment for Macromedia Flash, a multi-platform format(swf/svg) widely used for web applications and vector animation.


I have found out that there is no existing ebuild yet for this cool project. It is not included in the official Gentoo Portage yet.


Here is the ebuild. Use at your own risk. I assume you already have a working overlay of your local portage.


in file f4l-0.2.1.ebuild



# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit qt3 eutils

DESCRIPTION="F4L is an open source development environment for Macromedia Flash"
HOMEPAGE="http://f4l.sourceforge.net/"
SRC_URI="mirror://sourceforge/f4l/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"

DEPEND="=x11-libs/qt-3.3*"
RDEPEND="${DEPEND}"

src_compile() {
"${QTDIR}"/bin/qmake -o Makefile ${PN}.pro || die "qmake failed"
emake || die "emake failed"
}

src_install() {
dobin bin/${PN}
newicon src/cursor/main_ico1.xpm ${PN}.xpm
make_desktop_entry ${PN} \"Flash for Linux\" ${PN}.xpm Graphics
}

Enjoy!

No comments: