diff options
Diffstat (limited to 'media-libs/ming')
-rw-r--r-- | media-libs/ming/Manifest | 4 | ||||
-rw-r--r-- | media-libs/ming/files/ming-0.3.0--as-needed.patch | 202 | ||||
-rw-r--r-- | media-libs/ming/ming-0.3.0-r1.ebuild | 144 |
3 files changed, 0 insertions, 350 deletions
diff --git a/media-libs/ming/Manifest b/media-libs/ming/Manifest index c547172903e5..d0a7bf4e6b5f 100644 --- a/media-libs/ming/Manifest +++ b/media-libs/ming/Manifest @@ -1,8 +1,4 @@ -AUX ming-0.3.0--as-needed.patch 7840 RMD160 6104616ba1ab6cecf824d3167e4455bad7d633a8 SHA1 dfb11d85fba618779d2c8e5e50565edb96d50e0c SHA256 336c3ceeb7a5e9de4e5a97ac544af1d65376ca8007fddbed4d77f6f715a9a068 DIST ming-0.4.3.tar.bz2 14098671 RMD160 38a495250c7f4ff3335ebd08df2984719a2f046b SHA1 e51a1c9de7efcd6b20f727a824cfbf323b6f5e6f SHA256 61480ef0bd911639ac0538bf59d4d5052a1380192d145e922720c33c40693bf0 -DIST ming_0.3.0-13.diff.gz 44050 RMD160 391c3ebeae85e93523c32d93cd99913cd405335d SHA1 61cf3e77b3589e27dc981cb5f1ce9b7e0a908127 SHA256 b510902798378a05d63eff457cad2a17cfb03aad878136354175fcc3b633f594 -DIST ming_0.3.0.orig.tar.gz 369259 RMD160 d1484c8ed5442f82d3311fe6164beb5dc9ce2ad9 SHA1 e9231132cca3a6e46d8d7988a490871c5c3fa112 SHA256 1eec7136f2b8548476f79335e2dc9cea78f31a0c09a1cccd07782ee4d74959d9 -EBUILD ming-0.3.0-r1.ebuild 2749 RMD160 ad026bb77f94e7767711a03d43f69754d9256dc6 SHA1 9228891cc1181ee13eccc8552557d8b9949703cb SHA256 3adaa1ac74dd54754bc6fabf51c8b10a39142defc9b8aef54d2797da8173c9d3 EBUILD ming-0.4.3.ebuild 2294 RMD160 024485efb7e887fcaaef15d324320c10844a3273 SHA1 3f4e23de5089cee816fd1c30ca62e9b2815223d0 SHA256 8847d733b134c243fc16ee53c0fe9cecf31bd3bbaa31a3b6c315e03ae6d7c0f4 MISC ChangeLog 9487 RMD160 4625434d57b0a4355ffccbcf73dc77ded3da903e SHA1 912c726c7b5a26597c6b31dc8aa89772446227e4 SHA256 7c9dabbea3575fb0080dafc5565f499b00f132be62d7457ad86fb81e23a00c1a MISC metadata.xml 236 RMD160 92f49f8275e75caf57b88a3172d5204eaa4e33ae SHA1 dd1a8550a514e55ab0ed6190ab4794bb090994f8 SHA256 56075995f83836ae824c7cb01931b98d6745f6d5a7764299c8262e801486b829 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 deleted file mode 100644 index 76bb3ee8b017..000000000000 --- a/media-libs/ming/files/ming-0.3.0--as-needed.patch +++ /dev/null @@ -1,202 +0,0 @@ -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/ming-0.3.0-r1.ebuild b/media-libs/ming/ming-0.3.0-r1.ebuild deleted file mode 100644 index eaf01d0ced3b..000000000000 --- a/media-libs/ming/ming-0.3.0-r1.ebuild +++ /dev/null @@ -1,144 +0,0 @@ -# Copyright 1999-2010 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.13 2010/06/25 17:44:56 ssuominen Exp $ - -EAPI=1 - -PHP_EXT_NAME=ming - -inherit eutils multilib autotools libtool perl-module distutils python php-ext-source-r1 - -KEYWORDS="hppa" -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 - !media-gfx/swftools" -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 || die "perl make failed" - fi - - if use python - then - cd "${S}/py_ext" - distutils_src_compile || die "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 - python_mod_optimize $(python_get_sitedir)/ming.py $(python_get_sitedir)/mingc.py - 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 -} |