Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35107 - SSWF (Flash generator scripting) ebuild
Summary: SSWF (Flash generator scripting) ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-04 19:15 UTC by viktor
Modified: 2005-03-08 12:48 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description viktor 2003-12-04 19:15:10 UTC
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /usr/local/portage/media-libs/sswf/RCS/sswf-1.5.0.ebuild,v 1.2
2003/12/03 23:35:18 root Exp $


DESCRIPTION="A C++ Library and a script language tool to create Flash (SWF)
movies up to version 6."
HOMEPAGE="http://sswf.sourceforge.net"
SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.bz2
mirror://sourceforge/${PN}/${P}-doc.tar.bz2"

LICENSE="as-is"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND="sys-libs/zlib
	media-libs/jpeg
	media-libs/freetype
	sys-devel/flex
	sys-devel/bison"
RDEPEND="sys-libs/zlib
	media-libs/jpeg
	media-libs/freetype"

src_unpack() {
	unpack ${A} ${P}-doc.tar.bz2
	cd ${S}

	epatch ${FILESDIR}/${P}-make.patch
}

src_compile() {
	# emake (previously known as pmake) is a script that calls the
	# standard GNU make with parallel building options for speedier
	# builds (especially on SMP systems). Try emake first. It might
	# not work for some packages, in which case you'll have to resort
	# to normal "make".
	emake || die
	#make || die
}

src_install () {
	make INSTALL_DIR=${D}/usr install || die
	# If the above installs anything outside of DESTDIR, try the following.
	#make \
	#	prefix=${D}/usr \
	#	mandir=${D}/usr/share/man \
	#	infodir=${D}/usr/share/info \
	#	install || die

	# Install documentation.
	dodoc AUTHORS.txt CHANGES.txt INSTALL.txt LICENSE.txt LINKS.txt NOTES.txt
README.txt TODO.txt
        DOCDESTTREE=samples
	dodir /usr/share/doc/${P}/${DOCDESTTREE}
	dodoc ${DOCDESTTREE}/*.txt
        for i in dyn-button scroller web-site-anim check_version new-anim
showfont; do
            DOCDESTTREE=samples/${i}
	    dodir /usr/share/doc/${P}/${DOCDESTTREE}
            dodoc ${DOCDESTTREE}/*
        done
}


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




# ChangeLog for media-libs/sswf
# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
# $Header: /usr/local/portage/media-libs/sswf/RCS/ChangeLog,v 1.1 2003/12/05
03:13:29 root Exp $

*sswf-1.5.0.ebuild: 03 Dec 2003

  03 Dec 2003; Bodrogi Viktor <viktor@neotek.hu>  sswf-1.5.0.ebuild,
sswf-1.5.0-make.patch:
  Patching Makefile to compile well.

  23 Nov 2003; Bodrogi Viktor <viktor@neotek.hu>  sswf-1.5.0.ebuild:
  Initial ebuild.
Comment 1 Alexis Wilke 2004-12-10 14:22:28 UTC
A quick note... There is now version 1.7.1 of SSWF available on SourceForge which includes a configure script and an RPM. Could that be used for Gentoo?! The RPM is defined for RedHat, but I suppose that's mostly compatible, right?

Alexis Wilke
The author of SSWF
Comment 2 Chris White (RETIRED) gentoo-dev 2004-12-10 15:26:43 UTC
Basically, if it has a source tarball, we can use it.  As far as the actual addition, This is one of many new ebuild submissions I'll be working on.  The only problem is that right now I'm in finals week, so It's going to be pretty bleak until then.  Once finals are over though, I'll have more time to deticate in fixing * or whatever :P.  Sorry about the wait you're having to be put through :(.  It is always nice to have an upstream maintainer working with getting new packages into portage :).
Comment 3 Alexis Wilke 2004-12-10 16:51:14 UTC
I would be surprised that you'd have many if any changes at all from my tarballs.

The tarballs (take the ...-src...) include the configure script and should rock at once without any work other than pointing your RPM tool to the SourceForge.net project (if it works like fink which goes and take the tarballs automatically for you!)

I don't have Gentoo, but my code compiles as is on many Linux machines already (RedHat, Slackware, Debian, PowerLinux and probably many others).

Thank you for taking the time!
Comment 4 Chris White (RETIRED) gentoo-dev 2005-01-27 21:57:05 UTC
Nice program :).

InCVS.
Comment 5 Alexis Wilke 2005-03-08 12:48:15 UTC
Just a quick note, you don't need Flex anymore since version 1.7.0 since the lexical part of the software is now done in C++.

I notice there was a dependency for Flex in your RPM definition.