LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: proge

尝试:Linux下的视频聊天

[复制链接]
 楼主| 发表于 2005-2-19 15:41:14 | 显示全部楼层

CVS中的ebuild文件


  1. # Copyright 1999-2004 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. # $Header: /home/cvsroot/gentoo-x86/media-libs/libj2k/libj2k-0.0.9.ebuild,v 1.1 2004/08/20 16:20:58 okayama Exp $

  4. DESCRIPTION="A clean and simple implementation possible of the JPEG-2000 standard"

  5. HOMEPAGE="http://www.j2000.org/"

  6. SRC_URI="mirror://sourceforge/gaim-vv/${P}.tar.gz"

  7. LICENSE="BSD"

  8. SLOT="0"

  9. KEYWORDS="~x86"

  10. DEPEND="virtual/libc"


  11. src_compile() {

  12.         econf || die "could not configure"
  13.         emake || die "emake failed"
  14. }

  15. src_install() {

  16.         make DESTDIR=${D} install || die
  17.         dodoc README
  18. }
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-2-19 15:47:56 | 显示全部楼层

我的涂鸦


  1. # Copyright 1999-2004 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. # $Header: net-libs/libj2k/libj2k-0.0.9_alpha.ebuild $

  4. DESCRIPTION="Unoffical gentoo ebuild for libj2k by Aelbery.Lee"

  5. HOMEPAGE="http://www.j2000.org/"

  6. SRC_URI="mirror://sourceforge/gaim-vv/${PN}-${PV}.tar.gz"

  7. LICENSE="BSD"

  8. SLOT="0"

  9. KEYWORDS="~x86"

  10. src_compile() {
  11.         econf || die
  12.         emake || die
  13. }

  14. src_install() {

  15.         make DESTDIR=${D} install || die
  16. }
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-2-19 15:55:43 | 显示全部楼层

CVS中的ebuild文件


  1. # Copyright 1999-2004 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. # $Header: /home/cvsroot/gentoo-x86/net-im/linphone-im/linphone-im-0.12.1.ebuild,v 1.1 2004/08/20 16:22:29 okayama Exp $

  4. DESCRIPTION="A modified version for Linphone to work with MSN Messenger voice and video conference modes"

  5. HOMEPAGE="http://gaim-vv.sourceforge.net/"

  6. MY_PV=20040705
  7. SRC_URI="http://mh.sodan.ecc.u-tokyo.ac.jp/~okayama/distfiles/${PN}-${MY_PV}.tar.gz"

  8. LICENSE="GPL-2"

  9. SLOT="0"

  10. KEYWORDS="~x86"

  11. IUSE="X alsa sdl zlib"

  12. DEPEND="!net-im/linphone
  13.         >=dev-libs/glib-2
  14.         dev-util/pkgconfig
  15.         =net-libs/libosip-0.9*
  16.         alsa? ( >media-libs/alsa-lib-0.5 )
  17.         sdl? ( media-libs/libsdl )
  18.         zlib? ( sys-libs/zlib )
  19.         X? ( virtual/x11 )"

  20. S=${WORKDIR}/${PN}

  21. src_compile() {

  22.         econf \
  23.                 $(use_enable alsa) \
  24.                 $(use_with X x) \
  25.                 --with-osip=/usr || die "could not configure"

  26.         (cd libr263 && emake library) && emake || die "emake failed"
  27. }

  28. src_install() {

  29.         make DESTDIR=${D} install || die
  30.         insinto /usr/include/${PN} && newins config.h linphone_config.h
  31.         insinto /usr/include/mediastreamer && doins mediastreamer/*h
  32.         dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README
  33. }
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-2-19 16:36:18 | 显示全部楼层

我的涂鸦


  1. # Copyright 1999-2004 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. # $Header: net-libs/linphone-im/linphone-im-0.12.1_alpha.ebuild Exp $

  4. DESCRIPTION="Unoffical gentoo ebuild for linphone-im by Aelbery.Lee"

  5. HOMEPAGE="http://gaim-vv.sourceforge.net/"

  6. SRC_URI="mirror://sourceforge/gaim-vv/${PN}-${PV}.tar.gz"

  7. LICENSE="GPL-2"

  8. SLOT="0"

  9. KEYWORDS="~x86"

  10. S=${WORKDIR}/${PN}

  11. src_compile() {
  12.         aclocal-1.6 -I macros
  13.         libtoolize --copy --force
  14.         econf || die
  15.         cd oRTP && mv Makefile Makefile.old &&
  16.         cat Makefile.old | sed 's/SUBDIRS = src docs build/SUBDIRS = src build/' > Makefile
  17.         cd ../osipua && mv Makefile Makefile.old &&
  18.         cat Makefile.old | sed 's/SUBDIRS = src docs/SUBDIRS = src/' > Makefile
  19.         (cd libr263 && emake library && cd ..) && emake || die
  20. }

  21. src_install() {
  22.         make DESTDIR=${D} install || die
  23.         insinto /usr/include/${PN} && newins config.h linphone_config.h
  24.         insinto /usr/include/mediastreamer && doins mediastreamer/*h
  25. }
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-2-19 16:38:47 | 显示全部楼层

CVS中的ebuild文件


  1. # Copyright 1999-2004 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. # $Header: /home/cvsroot/gentoo-x86/net-im/gaim-vv/gaim-vv-0.79.ebuild,v 1.1 2004/08/20 16:22:55 okayama Exp $

  4. inherit eutils flag-o-matic gcc
  5. use debug && inherit debug

  6. DESCRIPTION="A friendly fork of the gaim project to concentrate on video and voice support, which will eventually be backported."

  7. HOMEPAGE="http://gaim-vv.sourceforge.net/"

  8. MY_P="gaim-${PV}-vv-3"
  9. SRC_URI="mirror://sourceforge/gaim-vv/${MY_P}.tar.gz
  10.         cjk? http://www.cc.rim.or.jp/~yaz/gaim-${PV}_jp.patch.gz"

  11. LICENSE="GPL-2"

  12. SLOT="0"

  13. KEYWORDS="~x86"

  14. IUSE="nls perl spell nas debug crypt cjk gnutls silc evo krb4 upnp"

  15. DEPEND="!net-im/gaim
  16.         >=x11-libs/gtk+-2.0
  17.         >=dev-libs/glib-2.0
  18.         nas? ( >=media-libs/nas-1.4.1-r1 )
  19.         sys-devel/gettext
  20.         media-libs/libao
  21.         >=media-libs/audiofile-0.2.0
  22.         perl? ( >=dev-lang/perl-5.8.2-r1
  23.                 !<dev-perl/ExtUtils-MakeMaker-6.17 )
  24.         spell? ( >=app-text/gtkspell-2.0.2 )
  25.         dev-libs/nss
  26.         gnutls? ( net-libs/gnutls )
  27.         krb4? ( app-crypt/mit-krb5 )
  28.         silc? ( >=net-im/silc-toolkit-0.9.12-r2 )
  29.         evo? ( mail-client/evolution )
  30.         >=media-libs/libj2k-0.0.8
  31.         =net-libs/libosip-0.9*
  32.         =net-im/linphone-im-0.12*
  33.         upnp? ( net-misc/upnp )"

  34. PDEPEND="crypt? ( >=x11-plugins/gaim-encryption-2.28 )"

  35. #PROVIDE="virtual/gaim"

  36. S=${WORKDIR}/${MY_P}

  37. print_gaim_warning() {

  38.         ewarn
  39.         ewarn "If you are merging ${P} from an earlier version, you will need"
  40.         ewarn "to re-merge any plugins like gaim-encryption or gaim-snpp."
  41.         ewarn
  42.         ewarn "If you experience problems with gaim, file them as bugs with"
  43.         ewarn "Gentoo's bugzilla, [url]http://bugs.gentoo.org[/url].  DO NOT report them"
  44.         ewarn "as bugs with gaim's sourceforge tracker, and by all means DO NOT"
  45.         ewarn "seek help in #gaim."
  46.         ewarn
  47.         ewarn "Be sure to USE="debug" and include a backtrace for any seg"
  48.         ewarn "faults, see [url]http://gaim.sourceforge.net/gdb.php[/url] for details on"
  49.         ewarn "backtraces."
  50.         ewarn
  51.         ewarn "Please read the gaim FAQ at http://gaim.sourceforge.net/faq.php"
  52.         ewarn
  53.         for TICKER in 1 2 3 4 5; do
  54.                 # Double beep here.
  55.                 echo -ne "\a" ; sleep 0.11
  56.                 echo -ne "\a" ; sleep 1
  57.         done
  58.         sleep 3
  59. }

  60. pkg_setup() {

  61.         print_gaim_warning
  62. }

  63. src_unpack() {

  64.         unpack ${A}

  65.         cd ${S}/src/protocols/msn/
  66.         epatch ${FILESDIR}/gaim-0.81_msn-slp.diff

  67.         cd ${S}
  68. #        epatch ${FILESDIR}/gaim-0.81cvs-gtkblist_dnd.diff
  69. #        epatch ${FILESDIR}/gaim-0.81cvs-icon_scaling.diff
  70.         epatch ${FILESDIR}/gaim-0.81cvs-irc-ison-lessflood.patch
  71.         epatch ${FILESDIR}/gaim-0.81cvs-chatbutton-crashfix.patch
  72.         epatch ${FILESDIR}/gaim-0.82cvs-gtkprefs-fix.patch

  73.         if use cjk ; then
  74.                 epatch ../gaim-${PV}_jp.patch
  75.                 epatch ${FILESDIR}/gaim-0.76-xinput.patch
  76.         fi
  77. }

  78. src_compile() {

  79.         einfo
  80.         einfo "Note that we are now filtering all unstable flags in C[XX]FLAGS."
  81.         einfo

  82.         # Stabilize things, for your own good
  83.         strip-flags
  84.         replace-flags -O? -O2

  85.         # -msse2 doesn't play nice on gcc 3.2
  86.         [ "`gcc-version`" == "3.2" ] && filter-flags -msse2

  87.         local myconf

  88.         use krb4 && myconf="${myconf} --with-krb4=/usr"

  89.         if use gnutls ; then
  90.                 myconf="${myconf} --with-gnutls-includes=/usr/include/gnutls"
  91.                 myconf="${myconf} --with-gnutls-libs=/usr/lib"
  92.         else
  93.                 myconf="${myconf} --enable-gnutls=no"
  94.         fi

  95.         if use silc ; then
  96.                 myconf="${myconf} --with-silc-includes=/usr/include/silc-toolkit"
  97.                 myconf="${myconf} --with-silc-libs=/usr/lib"
  98.         fi

  99.         myconf="${myconf} --with-nspr-includes=/usr/include/nspr"
  100.         myconf="${myconf} --with-nss-includes=/usr/include/nss"
  101.         myconf="${myconf} --with-nspr-libs=/usr/lib"
  102.         myconf="${myconf} --with-nss-libs=/usr/lib"
  103.         myconf="${myconf} $(use_enable perl)"
  104.         myconf="${myconf} $(use_enable spell gtkspell)"
  105.         myconf="${myconf} $(use_enable nls)"
  106.         myconf="${myconf} $(use_enable nas)"
  107.         myconf="${myconf} $(use_enable evo gevolution)"

  108.         # gaim-vv's original options
  109.         myconf="${myconf} $(use_enable upnp)"
  110.         myconf="${myconf} --with-libj2k=/usr"
  111.         myconf="${myconf} --enable-linphone"
  112.         myconf="${myconf} --enable-msn-vv"

  113.         econf ${myconf} || die "Configuration failed"

  114.         emake || MAKEOPTS="${MAKEOPTS} -j1" emake || die "Make failed"
  115. }

  116. src_install() {

  117.         make install DESTDIR=${D} || die "Install failed"
  118.         dodoc ABOUT-NLS AUTHORS COPY* HACKING INSTALL NEWS PROGRAMMING_NOTES \
  119.                 README{,.gaim-vv} ChangeLog VERSION
  120. }

  121. pkg_postinst() {

  122.         print_gaim_warning
  123. }
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-2-19 16:46:34 | 显示全部楼层

我的涂鸦


  1. # Copyright 1999-2004 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. # $Header: net-im/gaim-vv/gaim-vv-0.79_alpha.ebuild $

  4. DESCRIPTION="Unoffical gentoo ebuild for gaim-vv by Aelbery.Lee"

  5. HOMEPAGE="http://gaim-vv.sourceforge.net/"

  6. SRC_URI="mirror://sourceforge/gaim-vv/gaim-${PV}-vv-3.tar.gz"

  7. LICENSE="GPL-2"

  8. SLOT="0"

  9. KEYWORDS="~x86"

  10. DEPEND="!net-im/gaim
  11.         =media-libs/libj2k-0.0.9*
  12.         =net-libs/libosip-0.9*
  13.         =net-im/linphone-im-0.12*"

  14. S=${WORKDIR}/${PN}

  15. pkg_setup() {

  16.         print_gaim_warning
  17. }

  18. src_compile() {
  19.         econf  --with-libj2k=/usr/local --enable-linphone --enable-msn-vv --with-libphone=/usr/local || die
  20.         emake || die
  21. }

复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-2-19 16:51:42 | 显示全部楼层
唉,年又快过完了。其实我们16号就收假了,只不最近还不算太忙。下周开始就要忙了,真想念过年的日子。
回复 支持 反对

使用道具 举报

发表于 2005-2-20 00:48:57 | 显示全部楼层
我曾经用过,没那么复杂,去硬件论坛看看就可以了!
回复 支持 反对

使用道具 举报

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

本版积分规则

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