|
|
google 开源了 html5 webm,学着做一个看看。http://zaheer.merali.org/article ... ive-from-flumotion/
把 portage 里的 flumotion-0.6.1.ebuild 复制改了一下
--- flumotion-0.6.1.ebuild 2010-05-25 09:51:20.000000000 +0800
+++ flumotion-0.7.0.ebuild 2010-05-25 12:13:21.000000000 +0800
@@ -2,11 +2,12 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/flumotion/flumotion-0.6.1.ebuild,v 1.1 2009/10/30 10:52:39 deathwing00 Exp $
-inherit eutils gnome2
+inherit eutils gnome2 git
+
+EGIT_REPO_URI="git://github.com/zaheerm/Flumotion.git"
DESCRIPTION="Flumotion Streaming server"
HOMEPAGE="http://www.flumotion.net"
-SRC_URI="http://www.flumotion.net/src/flumotion/${P}.tar.bz2"
LICENSE="GPL-2"
KEYWORDS="~x86 ~amd64"
@@ -45,9 +46,6 @@
LICENCE.Flumotion LICENCE.GPL \
NEWS README TODO"
-src_unpack() {
- unpack ${A} && cd "${S}"
-}
src_compile() {
addpredict "$(unset HOME; echo ~)/.gconf"
@@ -56,7 +54,8 @@
export HOME="${T}/home"
export GST_REGISTRY=${T}/home/registry.cache.xml
unset LINGUAS
- econf --localstatedir=/var || die
+ #econf --localstatedir=/var || die
+ ./autogen.sh --prefix=/usr --localstatedir=/var || die
emake -j1 || die
# fix ${exec_prefix} not being expanded
cd "${S}"/bin
然后
# ebuild flumotion-0.7.0.ebuild manifest
>>> Downloading 'ftp://ftp.osuosl.org/pub/gentoo/distfiles/distfiles/flumotion-0.7.0.tar.bz2'
--2010-05-25 12:13:45-- ftp://ftp.osuosl.org/pub/gentoo/ ... otion-0.7.0.tar.bz2
=> “/usr/portage/distfiles/flumotion-0.7.0.tar.bz2”
。。。。。。
就是不 git.
改 gstreamer 和 几个 gst-plugins-base/bad/good 都可以的。gst-plugins-ugly 改了也不 git。 |
|