summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Alfredsen <loki_val@gentoo.org>2008-06-09 07:32:08 +0000
committerPeter Alfredsen <loki_val@gentoo.org>2008-06-09 07:32:08 +0000
commit06d1b71269f8a1ac6274db5fc8051c1dbe8b655a (patch)
tree2f8235c2fc8843f56446731d3623cc10a324909b /media-libs
parentAdd missing trailing slash to the modules dir (otherwise modules will not be ... (diff)
downloadgentoo-2-06d1b71269f8a1ac6274db5fc8051c1dbe8b655a.tar.gz
gentoo-2-06d1b71269f8a1ac6274db5fc8051c1dbe8b655a.tar.bz2
gentoo-2-06d1b71269f8a1ac6274db5fc8051c1dbe8b655a.zip
Revision bump to get this updated to something approaching acceptable state. Dropped java, added php use flags.
(Portage version: 2.1.5.4)
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/ming/ChangeLog12
-rw-r--r--media-libs/ming/files/ming-0.3.0--as-needed.patch202
-rw-r--r--media-libs/ming/files/ming-0.3.0-java-compiler.patch9
-rw-r--r--media-libs/ming/ming-0.3.0-r1.ebuild150
-rw-r--r--media-libs/ming/ming-0.3.0.ebuild102
5 files changed, 362 insertions, 113 deletions
diff --git a/media-libs/ming/ChangeLog b/media-libs/ming/ChangeLog
index 99b81a145fc6..ae948a5f66d8 100644
--- a/media-libs/ming/ChangeLog
+++ b/media-libs/ming/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for media-libs/ming
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/ming/ChangeLog,v 1.34 2007/11/22 19:06:31 drac Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/ming/ChangeLog,v 1.35 2008/06/09 07:32:07 loki_val Exp $
+
+*ming-0.3.0-r1 (09 Jun 2008)
+
+ 09 Jun 2008; Peter Alfredsen <loki_val@gentoo.org>
+ +files/ming-0.3.0--as-needed.patch, -files/ming-0.3.0-java-compiler.patch,
+ -ming-0.3.0.ebuild, +ming-0.3.0-r1.ebuild:
+ Revision bump to get this updated to something approaching acceptable
+ state. Dropped java, added php use flags.
22 Nov 2007; Samuli Suominen <drac@gentoo.org> ming-0.2a-r3.ebuild:
amd64 stable wrt #198582
diff --git a/media-libs/ming/files/ming-0.3.0--as-needed.patch b/media-libs/ming/files/ming-0.3.0--as-needed.patch
new file mode 100644
index 000000000000..76bb3ee8b017
--- /dev/null
+++ b/media-libs/ming/files/ming-0.3.0--as-needed.patch
@@ -0,0 +1,202 @@
+diff -NrU5 ming-0.3.0.orig/src/Makefile ming-0.3.0/src/Makefile
+--- ming-0.3.0.orig/src/Makefile 2008-06-09 02:00:14.000000000 +0200
++++ ming-0.3.0/src/Makefile 2008-06-09 02:00:30.000000000 +0200
+@@ -30,11 +30,11 @@
+ dynamic: $(SHAREDLIB)
+
+ $(SHAREDLIB): $(OFILES)
+ cd blocks && $(MAKE) CFLAGS="$(CFLAGS) -I.."
+ cd actioncompiler && $(MAKE) CFLAGS="$(CFLAGS) -I.."
+- $(CC) $(OFILES) $(COMPILEROFILES) $(LDFLAGS) $(EXTRA_LIBS) blocks/*.o $(SHLIBLDFLAGS) -o $(SHAREDLIB)
++ $(CC) $(OFILES) $(COMPILEROFILES) $(LDFLAGS) blocks/*.o $(SHLIBLDFLAGS) -o $(SHAREDLIB) $(EXTRA_LIBS)
+ cp $(SHAREDLIB) ..
+ ln -fs $(SHAREDLIB) ../libming$(NOVAR_SHLIBEXT)
+ ln -fs $(SHAREDLIB) ../libming$(SHORT_SHLIBEXT)
+
+ static: libming.a
+diff -NrU5 ming-0.3.0.orig/util/Makefile ming-0.3.0/util/Makefile
+--- ming-0.3.0.orig/util/Makefile 2008-06-09 02:00:15.000000000 +0200
++++ ming-0.3.0/util/Makefile 2008-06-09 02:07:22.000000000 +0200
+@@ -1,9 +1,10 @@
+ include ../Makefile.config
+
+ CFLAGS += -I.. -I../src
+-LDFLAGS += -L.. -lming $(LIBS)
++LDFLAGS += -L.. -L/usr/lib/
++LIBS := -lming $(LIBS)
+
+ UTILOBJ = action.o blocktypes.o decompile.o main.o parser.o read.o
+
+ PAGER ?= less
+
+@@ -26,62 +27,62 @@
+
+ ../libming.a:
+ cd ..; $(MAKE) static
+
+ listswf_d: $(UTILOBJ) outputtxt.c ../libming$(NOVAR_SHLIBEXT)
+- $(CC) $(CFLAGS) $(LDFLAGS) $(UTILOBJ) outputtxt.c -o listswf_d
++ $(CC) $(CFLAGS) $(LDFLAGS) $(UTILOBJ) outputtxt.c -o listswf_d $(LIBS)
+
+ listswf: $(UTILOBJ) outputtxt.c ../libming$(NOVAR_SHLIBEXT)
+- $(CC) $(CFLAGS) $(LDFLAGS) -DNODECOMPILE $(UTILOBJ) outputtxt.c -o listswf
++ $(CC) $(CFLAGS) $(LDFLAGS) -DNODECOMPILE $(UTILOBJ) outputtxt.c -o listswf $(LIBS)
+
+ listaction_d: $(UTILOBJ) outputtxt.c ../libming$(NOVAR_SHLIBEXT)
+- $(CC) $(CFLAGS) -DACTIONONLY $(LDFLAGS) $(UTILOBJ) outputtxt.c -o listaction_d
++ $(CC) $(CFLAGS) -DACTIONONLY $(LDFLAGS) $(UTILOBJ) outputtxt.c -o listaction_d $(LIBS)
+
+ listaction: $(UTILOBJ) outputtxt.c ../libming$(NOVAR_SHLIBEXT)
+- $(CC) $(CFLAGS) -DACTIONONLY $(LDFLAGS) -DNODECOMPILE $(UTILOBJ) outputtxt.c -o listaction
++ $(CC) $(CFLAGS) -DACTIONONLY $(LDFLAGS) -DNODECOMPILE $(UTILOBJ) outputtxt.c -o listaction $(LIBS)
+
+ swftoperl: $(UTILOBJ) outputscript.c ../libming$(NOVAR_SHLIBEXT)
+- $(CC) -DSWFPERL $(CFLAGS) $(LDFLAGS) outputscript.c $(UTILOBJ) -o swftoperl
++ $(CC) -DSWFPERL $(CFLAGS) $(LDFLAGS) outputscript.c $(UTILOBJ) -o swftoperl $(LIBS)
+
+ swftophp: $(UTILOBJ) outputscript.c ../libming$(NOVAR_SHLIBEXT)
+- $(CC) -DSWFPHP $(CFLAGS) $(LDFLAGS) outputscript.c $(UTILOBJ) -o swftophp
++ $(CC) -DSWFPHP $(CFLAGS) $(LDFLAGS) outputscript.c $(UTILOBJ) -o swftophp $(LIBS)
+
+ swftopython: $(UTILOBJ) outputscript.c ../libming$(NOVAR_SHLIBEXT)
+- $(CC) -DSWFPYTHON $(CFLAGS) $(LDFLAGS) outputscript.c $(UTILOBJ) -o swftopython
++ $(CC) -DSWFPYTHON $(CFLAGS) $(LDFLAGS) outputscript.c $(UTILOBJ) -o swftopython $(LIBS)
+
+ parser.o: parser.c
+- $(CC) $(CFLAGS) -c parser.c
++ $(CC) $(CFLAGS) -c parser.c
+
+ decompile.o: decompile.c
+ $(CC) $(CFLAGS) -c decompile.c -o decompile.o
+
+ ttftofft: ttftofft.c outputswf.c ../libming$(NOVAR_SHLIBEXT)
+- $(CC) `freetype-config --cflags` $(CFLAGS) -DNODECOMPILE $< outputswf.c `freetype-config --libs` $(LDFLAGS) -o $@
++ $(CC) `freetype-config --cflags` $(CFLAGS) $(LDFLAGS) -DNODECOMPILE $< outputswf.c -o $@ $(LIBS) `freetype-config --libs`
+
+ makefdb: blocktypes.o makefdb.c read.o ../libming$(NOVAR_SHLIBEXT)
+- $(CC) $(CFLAGS) $(LDFLAGS) makefdb.c read.o -o makefdb
++ $(CC) $(CFLAGS) $(LDFLAGS) makefdb.c read.o -o makefdb $(LIBS)
+
+ gif2mask: gif2mask.c ../libming$(NOVAR_SHLIBEXT)
+- $(CC) $(CFLAGS) $(LDFLAGS) gif2mask.c -o gif2mask
++ $(CC) $(CFLAGS) $(LDFLAGS) gif2mask.c -o gif2mask $(LIBS)
+
+ png2dbl: png2dbl.c ../libming$(NOVAR_SHLIBEXT)
+- $(CC) $(CFLAGS) $(LDFLAGS) png2dbl.c -o png2dbl
++ $(CC) $(CFLAGS) $(LDFLAGS) png2dbl.c -o png2dbl $(LIBS)
+
+ dbl2png: dbl2png.c ../libming$(NOVAR_SHLIBEXT)
+- $(CC) $(CFLAGS) $(LDFLAGS) dbl2png.c -o dbl2png
++ $(CC) $(CFLAGS) $(LDFLAGS) dbl2png.c -o dbl2png $(LIBS)
+
+ gif2dbl: gif2dbl.c ../libming$(NOVAR_SHLIBEXT)
+- $(CC) $(CFLAGS) $(LDFLAGS) gif2dbl.c -o gif2dbl
++ $(CC) $(CFLAGS) $(LDFLAGS) gif2dbl.c -o gif2dbl $(LIBS)
+
+ raw2adpcm: raw2adpcm.c ../libming$(NOVAR_SHLIBEXT)
+- $(CC) $(CFLAGS) $(LDFLAGS) raw2adpcm.c -o raw2adpcm
++ $(CC) $(CFLAGS) $(LDFLAGS) raw2adpcm.c -o raw2adpcm $(LIBS)
+
+ png2swf: png2swf.c ../libming$(NOVAR_SHLIBEXT)
+- $(CC) $(CFLAGS) $(LDFLAGS) png2swf.c -o png2swf
++ $(CC) $(CFLAGS) $(LDFLAGS) png2swf.c -o png2swf $(LIBS)
+
+ makeswf: makeswf.c makeswf.h ../libming$(NOVAR_SHLIBEXT)
+- $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
++ $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) $(LIBS)
+
+ install: $(BINARIES)
+ install -d $(bindir)
+ install -m 0755 $(BINARIES) $(bindir)
+ install -m 0755 ming-config $(bindir)
+diff -NrU5 ming-0.3.0.orig/util/Makefile.orig ming-0.3.0/util/Makefile.orig
+--- ming-0.3.0.orig/util/Makefile.orig 1970-01-01 01:00:00.000000000 +0100
++++ ming-0.3.0/util/Makefile.orig 2008-06-09 01:59:38.000000000 +0200
+@@ -0,0 +1,87 @@
++include ../Makefile.config
++
++CFLAGS += -I.. -I../src
++LDFLAGS += -L.. -lming $(LIBS)
++
++UTILOBJ = action.o blocktypes.o decompile.o main.o parser.o read.o
++
++PAGER ?= less
++
++BINARIES = listswf listswf_d swftoperl swftophp swftopython \
++ makeswf listaction listaction_d listfdb makefdb listjpeg raw2adpcm \
++ listmp3 dbl2png ttftofft
++
++BINARIES += $(EXTRA_BINS)
++
++all: $(BINARIES)
++
++help:
++ $(PAGER) README
++
++clean:
++ rm -f *.o core $(BINARIES)
++
++../libming$(NOVAR_SHLIBEXT):
++ cd ..; $(MAKE) dynamic
++
++../libming.a:
++ cd ..; $(MAKE) static
++
++listswf_d: $(UTILOBJ) outputtxt.c ../libming$(NOVAR_SHLIBEXT)
++ $(CC) $(CFLAGS) $(LDFLAGS) $(UTILOBJ) outputtxt.c -o listswf_d
++
++listswf: $(UTILOBJ) outputtxt.c ../libming$(NOVAR_SHLIBEXT)
++ $(CC) $(CFLAGS) $(LDFLAGS) -DNODECOMPILE $(UTILOBJ) outputtxt.c -o listswf
++
++listaction_d: $(UTILOBJ) outputtxt.c ../libming$(NOVAR_SHLIBEXT)
++ $(CC) $(CFLAGS) -DACTIONONLY $(LDFLAGS) $(UTILOBJ) outputtxt.c -o listaction_d
++
++listaction: $(UTILOBJ) outputtxt.c ../libming$(NOVAR_SHLIBEXT)
++ $(CC) $(CFLAGS) -DACTIONONLY $(LDFLAGS) -DNODECOMPILE $(UTILOBJ) outputtxt.c -o listaction
++
++swftoperl: $(UTILOBJ) outputscript.c ../libming$(NOVAR_SHLIBEXT)
++ $(CC) -DSWFPERL $(CFLAGS) $(LDFLAGS) outputscript.c $(UTILOBJ) -o swftoperl
++
++swftophp: $(UTILOBJ) outputscript.c ../libming$(NOVAR_SHLIBEXT)
++ $(CC) -DSWFPHP $(CFLAGS) $(LDFLAGS) outputscript.c $(UTILOBJ) -o swftophp
++
++swftopython: $(UTILOBJ) outputscript.c ../libming$(NOVAR_SHLIBEXT)
++ $(CC) -DSWFPYTHON $(CFLAGS) $(LDFLAGS) outputscript.c $(UTILOBJ) -o swftopython
++
++parser.o: parser.c
++ $(CC) $(CFLAGS) -c parser.c
++
++decompile.o: decompile.c
++ $(CC) $(CFLAGS) -c decompile.c -o decompile.o
++
++ttftofft: ttftofft.c outputswf.c ../libming$(NOVAR_SHLIBEXT)
++ $(CC) `freetype-config --cflags` $(CFLAGS) -DNODECOMPILE $< outputswf.c `freetype-config --libs` $(LDFLAGS) -o $@
++
++makefdb: blocktypes.o makefdb.c read.o ../libming$(NOVAR_SHLIBEXT)
++ $(CC) $(CFLAGS) $(LDFLAGS) makefdb.c read.o -o makefdb
++
++gif2mask: gif2mask.c ../libming$(NOVAR_SHLIBEXT)
++ $(CC) $(CFLAGS) $(LDFLAGS) gif2mask.c -o gif2mask
++
++png2dbl: png2dbl.c ../libming$(NOVAR_SHLIBEXT)
++ $(CC) $(CFLAGS) $(LDFLAGS) png2dbl.c -o png2dbl
++
++dbl2png: dbl2png.c ../libming$(NOVAR_SHLIBEXT)
++ $(CC) $(CFLAGS) $(LDFLAGS) dbl2png.c -o dbl2png
++
++gif2dbl: gif2dbl.c ../libming$(NOVAR_SHLIBEXT)
++ $(CC) $(CFLAGS) $(LDFLAGS) gif2dbl.c -o gif2dbl
++
++raw2adpcm: raw2adpcm.c ../libming$(NOVAR_SHLIBEXT)
++ $(CC) $(CFLAGS) $(LDFLAGS) raw2adpcm.c -o raw2adpcm
++
++png2swf: png2swf.c ../libming$(NOVAR_SHLIBEXT)
++ $(CC) $(CFLAGS) $(LDFLAGS) png2swf.c -o png2swf
++
++makeswf: makeswf.c makeswf.h ../libming$(NOVAR_SHLIBEXT)
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
++
++install: $(BINARIES)
++ install -d $(bindir)
++ install -m 0755 $(BINARIES) $(bindir)
++ install -m 0755 ming-config $(bindir)
diff --git a/media-libs/ming/files/ming-0.3.0-java-compiler.patch b/media-libs/ming/files/ming-0.3.0-java-compiler.patch
deleted file mode 100644
index 7aedb9bc21fb..000000000000
--- a/media-libs/ming/files/ming-0.3.0-java-compiler.patch
+++ /dev/null
@@ -1,9 +0,0 @@
---- java_ext/Makefile.old 2006-02-19 16:26:49.000000000 -0500
-+++ java_ext/Makefile 2006-02-19 16:27:24.000000000 -0500
-@@ -1,5 +1,5 @@
-
--JAVADIR=/usr/java/sdk
-+JAVADIR=`java-config --jdk-home`
- MINGDIR=..
-
- COMPILE = $(JAVADIR)/bin/javac -sourcepath .
diff --git a/media-libs/ming/ming-0.3.0-r1.ebuild b/media-libs/ming/ming-0.3.0-r1.ebuild
new file mode 100644
index 000000000000..de26ff84746d
--- /dev/null
+++ b/media-libs/ming/ming-0.3.0-r1.ebuild
@@ -0,0 +1,150 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/ming/ming-0.3.0-r1.ebuild,v 1.1 2008/06/09 07:32:07 loki_val Exp $
+
+EAPI=1
+
+PHP_EXT_NAME=ming
+
+inherit eutils multilib autotools libtool perl-module distutils python php-ext-source-r1
+
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+DESCRIPTION="An Open Source library for Flash movie generation."
+HOMEPAGE="http://ming.sourceforge.net/"
+SRC_URI="mirror://debian/pool/main/m/ming/ming_0.3.0.orig.tar.gz
+ mirror://debian/pool/main/m/ming/ming_0.3.0-13.diff.gz"
+LICENSE="LGPL-2.1"
+SLOT="0"
+IUSE="+perl +python php"
+RDEPEND="perl? ( dev-lang/perl )
+ python? ( virtual/python )
+ media-libs/freetype
+ media-libs/libpng
+ media-libs/giflib
+ sys-libs/zlib
+ !media-libs/libswf"
+DEPEND="${DEPEND}
+ sys-devel/flex"
+
+pkg_setup() {
+ if use perl
+ then
+ perl-module_pkg_setup
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch ../ming_0.3.0-13.diff
+ epatch "${FILESDIR}"/${P}--as-needed.patch
+ elibtoolize
+ eautoreconf
+ if use php
+ then
+ cd "${S}"/php_ext
+ php-ext-source-r1_phpize
+ fi
+}
+
+src_compile() {
+ econf || die "econf failed"
+ emake -j1 DESTDIR="${D}" || die "emake failed"
+
+ if use perl
+ then
+ cd "${S}/perl_ext"
+ perl-module_src_compile || "perl make failed"
+ fi
+
+ if use python
+ then
+ cd "${S}/py_ext"
+ python_version
+ distutils_src_compile || "python make failed"
+ fi
+ if use php
+ then
+ cd "${S}"/php_ext
+ myconf="--disable-rpath
+ --disable-static
+ --with-ming"
+ php-ext-source-r1_src_compile
+ fi
+}
+
+pkg_preinst() {
+ if use perl
+ then
+ cd "${S}/perl_ext"
+ perl-module_pkg_preinst
+ fi
+}
+
+src_install() {
+ insopts -m0644
+ insinto /usr/include
+ doins src/ming.h src/ming_config.h mingpp.h
+
+ dolib libming.so libming.so.0 libming.so.${PV} libming.a || die "dolib failed"
+
+ dodoc ChangeLog CREDITS HISTORY NEWS README TODO
+ doman man/makeswf.1
+
+ cd "${S}"/util
+ dobin listswf listswf_d swftoperl swftophp swftopython makeswf listaction listaction_d listfdb makefdb listjpeg \
+ raw2adpcm listmp3 gif2dbl gif2mask png2dbl png2swf ming-config dbl2png ttftofft || die "dobin failed"
+
+ if use perl
+ then
+ cd "${S}"/perl_ext
+ perl-module_src_install
+ dodoc CREDITS README SUPPORT TODO
+ fi
+
+ if use python
+ then
+ cd "${S}"/py_ext
+ distutils_src_install
+ fi
+ if use php
+ then
+ cd "${S}"/php_ext
+ php-ext-source-r1_src_install
+ fi
+}
+
+pkg_postinst() {
+ if use perl
+ then
+ perl-module_pkg_postinst
+ fi
+ if use python
+ then
+ ebegin "Compiling ming.py"
+ python_mod_compile /usr/$(get_libdir)/python${PYVER}/site-packages/ming.py || die "ming.py failed"
+ eend $?
+ ebegin "Compiling mingc.py"
+ python_mod_compile /usr/$(get_libdir)/python${PYVER}/site-packages/mingc.py || die "mingc.py failed"
+ eend $?
+ fi
+}
+
+pkg_prerm() {
+ if use perl
+ then
+ perl-module_pkg_prerm
+ fi
+}
+
+pkg_postrm() {
+ if use perl
+ then
+ perl-module_pkg_postrm
+ fi
+ if use python
+ then
+ distutils_pkg_postrm
+ fi
+}
+
diff --git a/media-libs/ming/ming-0.3.0.ebuild b/media-libs/ming/ming-0.3.0.ebuild
deleted file mode 100644
index 56e25010189e..000000000000
--- a/media-libs/ming/ming-0.3.0.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/ming/ming-0.3.0.ebuild,v 1.6 2007/04/30 23:25:32 genone Exp $
-
-inherit eutils toolchain-funcs java-pkg perl-module python distutils
-
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
-
-DESCRIPTION="An Open Source library for Flash movie generation."
-HOMEPAGE="http://ming.sourceforge.net/"
-SRC_URI="mirror://sourceforge/ming/${P}.tar.gz
- java? ( mirror://sourceforge/ming/${PN}-java-${PV}.tar.gz )
- perl? ( mirror://sourceforge/ming/${PN}-perl-${PV}.tar.gz )
- python? ( mirror://sourceforge/ming/${PN}-py-${PV}.tar.gz )"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-IUSE="java perl python"
-
-RDEPEND="java? ( virtual/jre )
- perl? ( dev-lang/perl )
- python? ( virtual/python )"
-
-DEPEND="${RDEPEND}
- sys-devel/flex
- java? ( virtual/jdk dev-java/java-config )"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- if use java ; then
- epatch "${FILESDIR}/${P}-java-compiler.patch"
- fi
-}
-
-src_compile() {
- cd "${S}"
- econf || die "econf failed"
- emake DESTDIR="${D}" || die "emake failed"
-
- if use java ; then
- cd "${S}/java_ext"
- make || "java emake failed"
- fi
-
- if use perl ; then
- cd "${S}/perl_ext"
- perl-module_src_compile || "perl make failed"
- perl-module_pkg_setup
- perl-module_pkg_preinst
- fi
-
- if use python ; then
- cd "${S}/py_ext"
- python_version
- distutils_src_compile || "python make failed"
- fi
-}
-
-src_install() {
- insopts -m0644
- insinto /usr/include
- doins src/ming.h src/ming_config.h mingpp.h
-
- dolib libming.so libming.so.0 libming.so.${PV} libming.a
-
- dodoc ChangeLog CREDITS HISTORY INSTALL LICENSE LICENSE_GPL2 NEWS README TODO
- doman man/makeswf.1
-
- cd "${S}/util"
- dobin listswf listswf_d swftoperl swftophp swftopython makeswf listaction listaction_d listfdb makefdb listjpeg \
- raw2adpcm listmp3 gif2dbl gif2mask png2dbl png2swf ming-config dbl2png
-
- if use java ; then
- cd "${S}/java_ext"
- java-pkg_doclass jswf.jar
- fi
-
- if use perl ; then
- cd "${S}/perl_ext"
- perl-module_src_install
- dodoc CREDITS README SUPPORT TODO
- fi
-
- if use python ; then
- cd "${S}/py_ext"
- distutils_src_install
- python_mod_cleanup
- dodoc INSTALL
- fi
-}
-
-pkg_postinst() {
- if use java ; then
- elog "You may want to add ming to the java classpath by running"
- elog "java-config --add-[user|system]-classpath=ming"
- fi
-
- if use perl ; then
- perl-module_pkg_postinst
- fi
-}