diff options
-rw-r--r-- | media-libs/capseo/ChangeLog | 10 | ||||
-rw-r--r-- | media-libs/capseo/Manifest | 16 | ||||
-rw-r--r-- | media-libs/capseo/capseo-0.3.0_pre200706031.ebuild | 93 | ||||
-rw-r--r-- | media-libs/capseo/files/digest-capseo-0.3.0_pre200706031 | 3 | ||||
-rw-r--r-- | media-libs/capseo/metadata.xml | 7 |
5 files changed, 129 insertions, 0 deletions
diff --git a/media-libs/capseo/ChangeLog b/media-libs/capseo/ChangeLog new file mode 100644 index 000000000000..230d4eccb359 --- /dev/null +++ b/media-libs/capseo/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for media-libs/capseo +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/capseo/ChangeLog,v 1.1 2007/06/14 14:30:57 trapni Exp $ + +*capseo-0.3.0_pre200706031 (14 Jun 2007) + + 14 Jun 2007; <trapni@gentoo.org> +metadata.xml, + +capseo-0.3.0_pre200706031.ebuild: + initial import + diff --git a/media-libs/capseo/Manifest b/media-libs/capseo/Manifest new file mode 100644 index 000000000000..d2dfcb2d6679 --- /dev/null +++ b/media-libs/capseo/Manifest @@ -0,0 +1,16 @@ +DIST captury-0.3.0_pre200706031.tar.bz2 1215736 RMD160 fedb5db4b560a3fcb225a204f2b58f95c61c393c SHA1 ccd84184b37fe4120c82034fbc3d1cff859d7cbf SHA256 51904c4b1183cf77809ff47bbe6b1cdcffabfdefc301ac838de89a0d4d799289 +EBUILD capseo-0.3.0_pre200706031.ebuild 2342 RMD160 cf1bdc28540f0a3a9161a6e2f045fa572c4e231e SHA1 126edec0ce462442fec9cd8dd3ca361b8636d08f SHA256 12f4316f16c395f1b043512a19738a951703529aaec70a9f4485fd0a5b067b08 +MD5 205d4858309967fb26b670849abae073 capseo-0.3.0_pre200706031.ebuild 2342 +RMD160 cf1bdc28540f0a3a9161a6e2f045fa572c4e231e capseo-0.3.0_pre200706031.ebuild 2342 +SHA256 12f4316f16c395f1b043512a19738a951703529aaec70a9f4485fd0a5b067b08 capseo-0.3.0_pre200706031.ebuild 2342 +MISC ChangeLog 354 RMD160 9808e2a22c30eef5078093acf957388c5f9ffe39 SHA1 4cbdf84125fde60bac83dcd493e58d24c76b88aa SHA256 14156db39a41172a2d68439f6c3ebd4257dceb3bccb1c9d789e8cfe7a4e41316 +MD5 548834f69bd13cb88006eb0b27697480 ChangeLog 354 +RMD160 9808e2a22c30eef5078093acf957388c5f9ffe39 ChangeLog 354 +SHA256 14156db39a41172a2d68439f6c3ebd4257dceb3bccb1c9d789e8cfe7a4e41316 ChangeLog 354 +MISC metadata.xml 199 RMD160 852e94c35804ed3cf83a7149b577cd41a38e2ea1 SHA1 fda1928420c1ef71f25d78ac4a34e6236d9740fc SHA256 3137765885d09c96954a5018ae5627d0276f743c3d7a1f9cf7f1be517855ac5d +MD5 bff27c36ac89297d86169d3fc2d2ad46 metadata.xml 199 +RMD160 852e94c35804ed3cf83a7149b577cd41a38e2ea1 metadata.xml 199 +SHA256 3137765885d09c96954a5018ae5627d0276f743c3d7a1f9cf7f1be517855ac5d metadata.xml 199 +MD5 1f1a3bd6711b2b55c547d8cc430e47bd files/digest-capseo-0.3.0_pre200706031 286 +RMD160 55bc2ad6bbe5354fcb188c2bb0fa2d16ccd7068e files/digest-capseo-0.3.0_pre200706031 286 +SHA256 98a25268eff43a13bed753f0aca90340c888b33b891b4311d0b7789e08d9c968 files/digest-capseo-0.3.0_pre200706031 286 diff --git a/media-libs/capseo/capseo-0.3.0_pre200706031.ebuild b/media-libs/capseo/capseo-0.3.0_pre200706031.ebuild new file mode 100644 index 000000000000..f4a3fefc6e77 --- /dev/null +++ b/media-libs/capseo/capseo-0.3.0_pre200706031.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/capseo/capseo-0.3.0_pre200706031.ebuild,v 1.1 2007/06/14 14:30:57 trapni Exp $ + +inherit flag-o-matic multilib + +DESCRIPTION="Capseo Video Codec Library" +HOMEPAGE="http://rm-rf.in/captury/wiki/CapseoCodec" +SRC_URI="http://upstream.rm-rf.in/captury/captury-${PV}.tar.bz2" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug theora" + +RDEPEND=">=media-libs/libtheora-1.0_alpha6-r1" + +DEPEND="${RDEPEND} + >=dev-lang/yasm-0.4.0 + dev-util/pkgconfig" + +RESTRICT="multilib-pkg-force" + +S="${WORKDIR}/captury-${PV}/${PN}" + +src_compile() { + if [[ -z ${OABI} ]] && has_multilib_profile; then + use debug && append-flags -O0 -g3 + use debug || append-flags -DNDEBUG=1 + + einfo "Building multilib ${PN} for ABIs: $(get_install_abis)" + OABI=${ABI} + for ABI in $(get_install_abis); do + export ABI=${ABI} + src_compile + done + ABI=${OABI} + return + fi + + cd ${S} || die + + if [[ ! -f configure ]]; then + ./autogen.sh || die "autogen.sh failed" + fi + + # obviousely in src_install() it is set to "default" on non-multilib hosts, + # but isn't in src_compile() + ABI=${ABI:-default} + + mkdir abi-${ABI} + cd abi-${ABI} + + local myconf= + case ${ABI} in + amd64|x86) + myconf="${myconf} --with-accel=${ABI}" + ;; + esac + myconf="${myconf} $(use_enable theora)" + + ../configure ${myconf} \ + --prefix="/usr" \ + --host="$(get_abi_CHOST ${ABI})" \ + --libdir="/usr/$(get_libdir)" \ + || die "./configure for ABI ${ABI} failed" + + emake || die "make for ABI ${ABI} failed" +} + +src_install() { + for ABI in $(get_install_abis); do + make -C abi-${ABI} install DESTDIR="${D}" || die "make install for ABI ${ABI} failed." + done + + rm "${D}/usr/bin/cpsplay" # currently unsupported + + dodoc AUTHORS ChangeLog* NEWS README* TODO +} + +pkg_postinst() { + einfo "Use the following command to re-encode your screen captures to a" + einfo "file format current media players do understand:" + einfo + einfo " cpsrecode -i capture.cps -o - | mencoder - -o capture.avi \\" + einfo " -ovc lavc -lavcopts vcodec=xvid:autoaspect=1" + einfo + einfo "or if use-flag theora enabled, create your ogg/theora file inplace:" + einfo + einfo " cpsrecode -i capture.cps -o capture.ogg -c theora" + echo +} + +# vim:ai:noet:ts=4:nowrap diff --git a/media-libs/capseo/files/digest-capseo-0.3.0_pre200706031 b/media-libs/capseo/files/digest-capseo-0.3.0_pre200706031 new file mode 100644 index 000000000000..ebc7613d1260 --- /dev/null +++ b/media-libs/capseo/files/digest-capseo-0.3.0_pre200706031 @@ -0,0 +1,3 @@ +MD5 ddeebbde3acfe728dd98d100d5423340 captury-0.3.0_pre200706031.tar.bz2 1215736 +RMD160 fedb5db4b560a3fcb225a204f2b58f95c61c393c captury-0.3.0_pre200706031.tar.bz2 1215736 +SHA256 51904c4b1183cf77809ff47bbe6b1cdcffabfdefc301ac838de89a0d4d799289 captury-0.3.0_pre200706031.tar.bz2 1215736 diff --git a/media-libs/capseo/metadata.xml b/media-libs/capseo/metadata.xml new file mode 100644 index 000000000000..7f177456d4ef --- /dev/null +++ b/media-libs/capseo/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer> +<email>trapni@gentoo.org</email> +</maintainer> +</pkgmetadata> |