summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-libs/capseo/ChangeLog10
-rw-r--r--media-libs/capseo/Manifest16
-rw-r--r--media-libs/capseo/capseo-0.3.0_pre200706031.ebuild93
-rw-r--r--media-libs/capseo/files/digest-capseo-0.3.0_pre2007060313
-rw-r--r--media-libs/capseo/metadata.xml7
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..f40f9e2c1fca
--- /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 2230 RMD160 c304290bf752072213133ad6f26f9ece7f0f19d2 SHA1 7d140a5cc4ad35e59132bf33c8e18671eb7c448b SHA256 f555e79d0a8ff8dc0e8bf537e88da3abef62615cf856e695affd5ff6296fa8ee
+MD5 c167275eee23c962e515314864ce33be capseo-0.3.0_pre200706031.ebuild 2230
+RMD160 c304290bf752072213133ad6f26f9ece7f0f19d2 capseo-0.3.0_pre200706031.ebuild 2230
+SHA256 f555e79d0a8ff8dc0e8bf537e88da3abef62615cf856e695affd5ff6296fa8ee capseo-0.3.0_pre200706031.ebuild 2230
+MISC ChangeLog 265 RMD160 fd47a835777aec2509148f52f14176522f0cff00 SHA1 4ca1a33c41827175b5a9b5004fe7244e12a5a536 SHA256 7a21bf4685a302622540f6a1bf0fae8ee1c24aa71a9c63e93f175ba3d801d156
+MD5 5432823c3260c2d2e27ef456fdf1fc70 ChangeLog 265
+RMD160 fd47a835777aec2509148f52f14176522f0cff00 ChangeLog 265
+SHA256 7a21bf4685a302622540f6a1bf0fae8ee1c24aa71a9c63e93f175ba3d801d156 ChangeLog 265
+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>