LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 537|回复: 1

改了一个ebuild, ebuild 不 git 源代码, 请各位给看看

[复制链接]
发表于 2010-5-25 13:12:39 | 显示全部楼层 |阅读模式
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。
 楼主| 发表于 2010-5-25 14:12:49 | 显示全部楼层

原来是要 SRC_URI=""

SRC_URI=""
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表