LinuxSir.cn,穿越时空的Linuxsir!

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

[PKGBUILD] Gsopcast的0.3.1版本。也就是svn版本。

[复制链接]
发表于 2007-11-13 18:58:04 | 显示全部楼层 |阅读模式
貌似这个东西很久没有更新了。源里面是0.2.10版本。

还有些了个补丁,把配置文件转移到.config目录下了。

不喜欢所有配置文件都在home一级目录下。
  1. # Contributor: lh <jarryson@gmail.com>
  2. pkgname=gsopcast
  3. pkgver=0.3.1
  4. pkgrel=1
  5. pkgdesc="A GTK front-end of p2p TV sopcast"
  6. arch=('i686' 'x86_64')
  7. url="http://lianwei3.googlepages.com/home2"
  8. license="GPL"
  9. arch=('i686')
  10. makedepends=('pkgconfig' 'gnome-common')
  11. depends=('sopcast' 'gtk2' 'cairo' 'alsa-lib')
  12. source=(gsopcast.desktop gsopcast.png gsopcast-move-configfile.patch)
  13. build()  {
  14.   cd $startdir/src
  15.   echo "svn checkout ..."
  16.   svn checkout http://gsopcast.googlecode.com/svn/trunk/ gsopcast
  17.   cd $startdir/src/$pkgname
  18.   patch -NRp0 < ../gsopcast-move-configfile.patch
  19.   ./autogen.sh
  20.   ./configure --prefix=/usr
  21.   make || return 1
  22.   make DESTDIR="$startdir/pkg" install
  23.   
  24.   chmod a+x $$startdir/pkg/usr/bin/gsopcast
  25.   install -D $startdir/src/gsopcast.desktop $startdir/pkg/usr/share/applications/gsopcast.desktop
  26.   install -D $startdir/src/gsopcast.png $startdir/pkg/usr/share/pixmaps/gsopcast.png
  27. }
  28. # vim:set ts=2 sw=2 et:
复制代码

打包文件见附件。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
发表于 2007-11-14 12:01:53 | 显示全部楼层
==> Starting build()...
svn checkout ...
PKGBUILD: line 22: svn: command not found
PKGBUILD: line 24: cd: /home/liangzhdp/arch/gsopcast/src/gsopcast: No such file or directory
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- src/loadsave.cc.new        2007-11-13 18:27:39.418297058 +0800
|+++ src/loadsave.cc    2007-11-13 18:26:35.084971331 +0800
--------------------------
File to patch:  

不会用啊,可以详细说说?
回复 支持 反对

使用道具 举报

发表于 2007-11-14 13:59:39 | 显示全部楼层
Post by xblx;1782153
==> Starting build()...
svn checkout ...
PKGBUILD: line 22: [color="Red"]svn: command not found
PKGBUILD: line 24: cd: /home/liangzhdp/arch/gsopcast/src/gsopcast: No such file or directory
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- src/loadsave.cc.new        2007-11-13 18:27:39.418297058 +0800
|+++ src/loadsave.cc    2007-11-13 18:26:35.084971331 +0800
--------------------------
File to patch:  

不会用啊,可以详细说说?

很明顯你沒裝上 subversion
回复 支持 反对

使用道具 举报

发表于 2007-11-14 17:34:52 | 显示全部楼层
安装了之后使用不正常,没办法显示频道列表……
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-11-14 18:11:42 | 显示全部楼层
这个就是网络问题了。你用源里面自带的那个有没有什么问题?
回复 支持 反对

使用道具 举报

发表于 2007-11-14 22:51:12 | 显示全部楼层
没问题。之前我自己也编译过svn版的,一直无法显示频道列表。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-11-14 22:57:30 | 显示全部楼层
那就用源里面那个好了。其实我感觉没有什么变化。呵呵。只是很久不更新了,心里感觉不好而已吧。。主要还是那个频道不多
回复 支持 反对

使用道具 举报

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

本版积分规则

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