summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-video/xanim-export
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-video/xanim-export')
-rw-r--r--media-video/xanim-export/Manifest10
-rw-r--r--media-video/xanim-export/files/2.80.1-gentoo.patch88
-rw-r--r--media-video/xanim-export/files/2.80.1-implicit_funcs.patch33
-rw-r--r--media-video/xanim-export/files/2.80.1-makefile.patch33
-rw-r--r--media-video/xanim-export/metadata.xml8
-rw-r--r--media-video/xanim-export/xanim-export-2.80.1-r5.ebuild110
6 files changed, 282 insertions, 0 deletions
diff --git a/media-video/xanim-export/Manifest b/media-video/xanim-export/Manifest
new file mode 100644
index 000000000000..9dd160cfd55c
--- /dev/null
+++ b/media-video/xanim-export/Manifest
@@ -0,0 +1,10 @@
+DIST xa1.0_cyuv_linuxELFg21.o.gz 1141 SHA256 9fa40166a40a20734ba1d00990d142a3961c2416e66dac3fe0767e8304aadb1a SHA512 bc60f1a657c48a5aa2dbfd8808f76d9b904c9d745e1e5bd02d9b7a3c701378f5359b2c99e3eb48ca74708477c296b461ec78ce78f1895ca6279a3e750f6bb84f WHIRLPOOL da98f5e12ec449d95ccf6fc858d176844442613bc59d1973e88b9b4bdbe0b27ab8d69c80da60ea9db12013814b4f23391b74a8766f39291670731d8fa796df19
+DIST xa1.0_cyuv_linuxPPC.o.Z 1513 SHA256 35318deacea099d0c05be985c01672f7f306e748965d5bbc8dd454fe8a28c46e SHA512 8659bb119793291e7ce087795cddcdfc6b918e1c169132a6f1ebb1bd36270d57e0dfc84503ec61f90c461496cab688aaac1cb4dbb2a2483f846bea038305733f WHIRLPOOL 0b952b76acf9e12da988f1679f6fa1c7d002008ed4b762e54cdfbb1ae935273e85bde6b5cd338b7d2d89b77f3d01de7a7a31bc7e61396ab1af77cc92877a409a
+DIST xa1.0_cyuv_sparcELF.o.Z 1277 SHA256 f77cc763c9358e86bd5b77675cabf2150b2085d00d54eada0ec86239959a4a08
+DIST xa2.0_cvid_linuxELFg21.o.gz 3689 SHA256 59d7f06388f6461ce69aec7b815b5b76281bad14c7ef13f8fadaa5b848072eb5 SHA512 2375d44713af0fe5c6f3873cefd4e82ad2cdb5c3f2be936966a3d1747f73f15ad37945f2185da116f733eff7bdff989961e2cfc5d715ea9b5045d860aa32f0b4 WHIRLPOOL a115d5fd7ceac5bae8b06538cb1dc92f4e32bea0106780cf523e824b01db6e280239e6bf6def16f50acf59bb41222a640101c779da0414f2c71aa0ba2b83e080
+DIST xa2.0_cvid_linuxPPC.o.Z 5192 SHA256 aa7ea8f934780fa3ea887867811c18023cf7a9740cdfa942648f4fd7d6d996f5 SHA512 12ced02b89c2d8d8981104fe7fe93a95a2fb20607635194852e5ff6044c2def9df18ba1db8f639426fb9015f25e17d3b945170f4e1669a1281e0c8494363fe83 WHIRLPOOL 513b7b93e98f8207197476ade0282cf35cc8667c10a24f7cf73f46d39e465e869ab6563591fd3303d31553869b2a40c1ce7cf3260fb3f5023ab1918effab625e
+DIST xa2.0_cvid_sparcELF.o.Z 4730 SHA256 705511a4eb9a639b7c95a3bb7d6f4f7b1d0ce4a59db2a9cb567bfb3c4a513d02
+DIST xa2.0_iv32_linuxPPC.o.Z 56163 SHA256 d332753ffc6a47c9853a26443e562d3d5aa1cc7a8ac9fad471d3bd2ca0207d3e SHA512 73837266ff178568dd384207443b1236bad7c9867c03c8b45e3894b091780b7f4c2564a993ea4dbeeadc151dfcf87c3a5ecaa3efdc41fa2ab8461151c6aca72f WHIRLPOOL 72430e68df1e825ec48924a6d9845c282d1ded992d95f4487ec248fdd0522e27f90ab1d94077080a3f7ed53b9e1f0decc75f5a2200e732e58efd10743bb6e0b5
+DIST xa2.0_iv32_sparcELF.o.Z 48813 SHA256 86b4613490ac3cadc73524cc433deafebedacbda692ad5f88bcb7c029113ad24
+DIST xa2.1_iv32_linuxELFg21.o.gz 29291 SHA256 41420dca15e5e546c455553b6434435d53de17a08a6307a79de75e753a85b3a1 SHA512 df2a9c534239061da3dab413b6e4e9c127ec4b0a3fd6a8665169bc69e3577b10b7c26c21124e083ece891ac28605ec6f4e407dc2a35ffe54f16101d8cc9be179 WHIRLPOOL ec1c0074006a0b0229b8c1fc1bd777225ea96fdc4b77272ec3b6ffe3569e31c677fa8b175b6263b42904bbb5dd1d2d5c7fcbda262333c2394c993d8a03c379b9
+DIST xanim_exporting_edition.tar.gz 985946 SHA256 8e99b7ee3842fe6e4da43dc27f8c0584a66e6ef7168d30cd37cec64560207c33 SHA512 49d1aa8853f1688097788e2082e209b769f12996dce0fc613453decf22cd48553e2a7a1b08162a49803de1213864f3b42b1d2ab46d3b7242cfb018e8a543a871 WHIRLPOOL 648c6557c35cb3ab55845e86f6abfc6953dba87f14727efc47c36734b0287f0418d265476dccb04fc626a54da635693e241fe5751d9973f49b5b1374dfe1ec49
diff --git a/media-video/xanim-export/files/2.80.1-gentoo.patch b/media-video/xanim-export/files/2.80.1-gentoo.patch
new file mode 100644
index 000000000000..ffd0149a937e
--- /dev/null
+++ b/media-video/xanim-export/files/2.80.1-gentoo.patch
@@ -0,0 +1,88 @@
+Fixing as-needed issues, debundling libquicktime, respect FLAGS
+
+http://bugs.gentoo.org/show_bug.cgi?id=247919
+
+--- Makefile
++++ Makefile
+@@ -72,9 +72,6 @@
+ # a setup problem on my SunOS machine. Under Solaris, gcc worked
+ # fine.
+ #
+-# CC = cc
+- CC = gcc
+-#CC = egcs
+ #
+ ######### OPTIMIZATION FLAGS
+ # -- Specifiy Any compiler Optimization flags that you wish to use. This
+@@ -116,7 +113,7 @@
+ # to link against symbols inside xanim.
+ #
+ ### Linux
+-LD_FLAGS = -rdynamic
++LD_FLAGS = $(LDFLAGS) -rdynamic
+ ### SunOS/Solaris use:
+ # LD_FLAGS =
+
+@@ -133,7 +130,7 @@
+ #
+ XA_DLL_DEF = -DXA_DLL -DXA_PRINT
+ #### Use this only if the above doesn't work.
+-XA_DLL_DEF = -DXA_DLL
++#XA_DLL_DEF = -DXA_DLL
+ #
+ #### You may need this library.
+ XA_DLL_LIB = -ldl
+@@ -141,7 +138,7 @@
+ # If you'd like to change the default directory that XAnim searches while
+ # looking for dlls, then change the directory below.
+ #
+-XA_DLL_PATH = /usr/local/xanim/mods
++XA_DLL_PATH = /usr/lib/xanim/mods-export
+
+
+ ##########################################################################
+@@ -208,9 +205,9 @@
+ # XA_CVID_DEF = -DXA_CVID
+ # XA_CYUV_DEF = -DXA_CYUV
+ #
+-#XA_IV32_LIB = mods/xa2.0_iv32_linuxELF.o
+-#XA_CVID_LIB = mods/xa2.0_cvid_linuxELF.o
+-#XA_CYUV_LIB = mods/xa1.0_cyuv_linuxELF.o
++XA_IV32_LIB = mods/xa2.1_iv32_linuxELFg21.o
++XA_CVID_LIB = mods/xa2.0_cvid_linuxELFg21.o
++XA_CYUV_LIB = mods/xa1.0_cyuv_linuxELFg21.o
+ #
+ ###########################
+ # NOTE: SGI Machines Only:
+@@ -297,16 +294,16 @@
+ # XLIBDIR = -L/usr/openwin/lib
+ #
+ ###-- Linux using X11R6
+-INCLUDE = -I/usr/X11R6/include -I/usr/X11R6/include/X11
+-XLIBDIR = -L/usr/X11R6/lib
++INCLUDE = -I/usr/include -I/usr/include/X11
++XLIBDIR = -L/usr/lib
+ #
+ ###-- My SunOS machine running X11R5
+ # INCLUDE = -I/usr/X11R5/include -I/usr/X11R5/include/X11
+ # XLIBDIR = -L/usr/X11R5/lib -lnsl
+ #
+ ###-- My SunOS machine running X11R6
+-# INCLUDE = -I/usr/X11R6/include -I/usr/X11R6/include/X11
+-# XLIBDIR = -L/usr/X11R6/lib -lnsl
++# INCLUDE = -I/usr/include -I/usr/include/X11
++# XLIBDIR = -L/usr/lib -lnsl
+ #
+ ###-- Win32
+ #-- This depends on where you installed the Cygnus X11 includes and libs.
+@@ -534,8 +531,8 @@
+ #
+
+ XA_DEFS = $(XA_MISC_DEFS) $(XA_MOD_DEFS) $(XA_AUDIO_DEFS) -DXA_PETUNIA -DXA_KPCD -DXA_EXPORT -DXA_EXPORT_QT
+-XA_LIBS = $(XA_X11R6_LIBS) $(XA_MACH_LIBS) $(XA_MOD_LIBS) $(XA_AUDIO_LIBS) -lpthread quicktime/quicktime/libquicktime.a -ljpeg -lpng -lz
+-XA_INCS = $(INCLUDE) $(XA_VIDEO_INCS) $(XA_AUDIO_INCS) -Iquicktime/quicktime
++XA_LIBS = $(XA_X11R6_LIBS) $(XA_MACH_LIBS) $(XA_MOD_LIBS) $(XA_AUDIO_LIBS) -ljpeg -lpng $(shell pkg-config --libs libquicktime)
++XA_INCS = $(INCLUDE) $(XA_VIDEO_INCS) $(XA_AUDIO_INCS) $(shell pkg-config --cflags libquicktime)
+ CFLAGS = $(DEBUG) $(OPTIMIZE)
+
+ #####################################
diff --git a/media-video/xanim-export/files/2.80.1-implicit_funcs.patch b/media-video/xanim-export/files/2.80.1-implicit_funcs.patch
new file mode 100644
index 000000000000..f8fba207b4b2
--- /dev/null
+++ b/media-video/xanim-export/files/2.80.1-implicit_funcs.patch
@@ -0,0 +1,33 @@
+--- xa_g72x.c
++++ xa_g72x.c
+@@ -30,6 +30,7 @@
+ * Common routines for G.721 and G.723 conversions.
+ */
+
++#include <stdlib.h>
+ #include "xa_g72x.h"
+
+ static short power2[15] = {1, 2, 4, 8, 0x10, 0x20, 0x40, 0x80,
+--- xa_export.c
++++ xa_export.c
+@@ -7,7 +7,8 @@
+
+
+
+-
++#include <stdlib.h>
++#include <string.h>
+ #include <stdio.h>
+ #include <signal.h>
+ #include <jpeglib.h>
+--- xa_audio.c
++++ xa_audio.c
+@@ -227,7 +227,7 @@
+ */
+
+ /* TOP */
+-
++#include <sys/ioctl.h>
+ #include "xa_audio.h"
+
+ /* POD note: For opening audio device non-blocking. Should probably set it
diff --git a/media-video/xanim-export/files/2.80.1-makefile.patch b/media-video/xanim-export/files/2.80.1-makefile.patch
new file mode 100644
index 000000000000..d8f6c9721380
--- /dev/null
+++ b/media-video/xanim-export/files/2.80.1-makefile.patch
@@ -0,0 +1,33 @@
+--- a/Makefile 1999-10-28 00:18:23.000000000 -0400
++++ b/Makefile 2001-06-03 05:54:22.000000000 -0400
+@@ -133,7 +135,7 @@
+ #
+ XA_DLL_DEF = -DXA_DLL -DXA_PRINT
+ #### Use this only if the above doesn't work.
+-XA_DLL_DEF = -DXA_DLL
++#XA_DLL_DEF = -DXA_DLL
+ #
+ #### You may need this library.
+ XA_DLL_LIB = -ldl
+@@ -141,7 +143,7 @@
+ # If you'd like to change the default directory that XAnim searches while
+ # looking for dlls, then change the directory below.
+ #
+-XA_DLL_PATH = /usr/local/xanim/mods
++XA_DLL_PATH = /usr/X11R6/lib/xanim/mods-export
+
+
+ ##########################################################################
+@@ -208,9 +210,9 @@
+ # XA_CVID_DEF = -DXA_CVID
+ # XA_CYUV_DEF = -DXA_CYUV
+ #
+-#XA_IV32_LIB = mods/xa2.0_iv32_linuxELF.o
+-#XA_CVID_LIB = mods/xa2.0_cvid_linuxELF.o
+-#XA_CYUV_LIB = mods/xa1.0_cyuv_linuxELF.o
++XA_IV32_LIB = mods/xa2.1_iv32_linuxELFg21.o
++XA_CVID_LIB = mods/xa2.0_cvid_linuxELFg21.o
++XA_CYUV_LIB = mods/xa1.0_cyuv_linuxELFg21.o
+ #
+ ###########################
+ # NOTE: SGI Machines Only:
diff --git a/media-video/xanim-export/metadata.xml b/media-video/xanim-export/metadata.xml
new file mode 100644
index 000000000000..1cadc2e4ec21
--- /dev/null
+++ b/media-video/xanim-export/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>video</herd>
+<maintainer>
+ <email>media-video@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/media-video/xanim-export/xanim-export-2.80.1-r5.ebuild b/media-video/xanim-export/xanim-export-2.80.1-r5.ebuild
new file mode 100644
index 000000000000..a5ef7ef5fa54
--- /dev/null
+++ b/media-video/xanim-export/xanim-export-2.80.1-r5.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit flag-o-matic eutils toolchain-funcs
+
+_XA_CYUV_sparc=xa1.0_cyuv_sparcELF.o
+_XA_CVID_sparc=xa2.0_cvid_sparcELF.o
+_XA_IV32_sparc=xa2.0_iv32_sparcELF.o
+_XA_EXT_sparc=.Z
+
+_XA_CYUV_x86=xa1.0_cyuv_linuxELFg21.o
+_XA_CVID_x86=xa2.0_cvid_linuxELFg21.o
+_XA_IV32_x86=xa2.1_iv32_linuxELFg21.o
+_XA_EXT_x86=.gz
+
+_XA_CYUV_ppc=xa1.0_cyuv_linuxPPC.o
+_XA_CVID_ppc=xa2.0_cvid_linuxPPC.o
+_XA_IV32_ppc=xa2.0_iv32_linuxPPC.o
+_XA_EXT_ppc=.Z
+
+MY_P="xanim_exporting_edition"
+
+# This might leave _XA_EXT empty and that's fine, just indicates no
+# particular support for a given arch
+eval _XA_EXT=\${_XA_EXT_${ARCH}}
+eval _XA_CVID=\${_XA_CVID_${ARCH}}
+eval _XA_CYUV=\${_XA_CYUV_${ARCH}}
+eval _XA_IV32=\${_XA_IV32_${ARCH}}
+
+# Not much we could do here, the modules are predownloaded and
+# xanim-export compiles against them
+QA_EXECSTACK_x86="usr/bin/xanim-export
+ usr/lib/xanim/mods-export/${_XA_CVID}
+ usr/lib/xanim/mods-export/${_XA_CYUV}
+ usr/lib/xanim/mods-export/${_XA_IV32}
+ usr/lib/xanim/mods-export/${_XA_CVID/g21/}
+ usr/lib/xanim/mods-export/${_XA_CYUV/g21/}
+ usr/lib/xanim/mods-export/xa2.0_iv32_linuxELF.o"
+
+DESCRIPTION="XAnim with Quicktime and RAW Audio export functions"
+HOMEPAGE="http://heroin.linuxave.net/toys.html"
+SRC_URI="http://heroine.linuxave.net/${MY_P}.tar.gz
+ sparc? (
+ ftp://xanim.va.pubnix.com/modules/${_XA_CYUV_sparc}${_XA_EXT_sparc}
+ ftp://xanim.va.pubnix.com/modules/${_XA_CVID_sparc}${_XA_EXT_sparc}
+ ftp://xanim.va.pubnix.com/modules/${_XA_IV32_sparc}${_XA_EXT_sparc}
+ )
+ ppc? (
+ ftp://xanim.va.pubnix.com/modules/${_XA_CYUV_ppc}${_XA_EXT_ppc}
+ ftp://xanim.va.pubnix.com/modules/${_XA_CVID_ppc}${_XA_EXT_ppc}
+ ftp://xanim.va.pubnix.com/modules/${_XA_IV32_ppc}${_XA_EXT_ppc}
+ )
+ x86? (
+ ftp://xanim.va.pubnix.com/modules/${_XA_CYUV_x86}${_XA_EXT_x86}
+ ftp://xanim.va.pubnix.com/modules/${_XA_CVID_x86}${_XA_EXT_x86}
+ ftp://xanim.va.pubnix.com/modules/${_XA_IV32_x86}${_XA_EXT_x86}
+ )"
+
+LICENSE="XAnim"
+SLOT="0"
+KEYWORDS="ppc sparc x86"
+IUSE=""
+
+RDEPEND="virtual/jpeg
+ media-libs/libpng
+ x11-libs/libXext
+ x11-libs/libXt
+ media-libs/libquicktime"
+DEPEND="${RDEPEND}
+ app-arch/ncompress
+ x11-proto/xextproto
+ x11-proto/xproto
+ virtual/pkgconfig"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${MY_P}.tar.gz
+
+ if [[ -n ${_XA_EXT} ]]; then
+ cd "${S}"/mods || die
+ unpack ${_XA_CVID}${_XA_EXT}
+ unpack ${_XA_CYUV}${_XA_EXT}
+ unpack ${_XA_IV32}${_XA_EXT}
+ fi
+
+ cd "${S}"
+ rm -f xanim
+ epatch "${FILESDIR}"/${PV}-gentoo.patch \
+ "${FILESDIR}"/${PV}-implicit_funcs.patch
+}
+
+src_compile() {
+ tc-export CC
+ make \
+ XA_IV32_LIB=mods/${_XA_CYUV} \
+ XA_CVID_LIB=mods/${_XA_CVID} \
+ XA_CYUV_LIB=mods/${_XA_IV32} \
+ OPTIMIZE="${CFLAGS}" \
+ || die "main make failed"
+}
+
+src_install() {
+ newbin xanim xanim-export
+ insinto /usr/lib/xanim/mods-export
+ doins mods/*
+ dodoc README*
+ dodoc docs/README.* docs/*.readme docs/*.doc
+}