mirror of
https://gitdl.cn/https://github.com/chakralinux/lib32.git
synced 2025-01-23 17:33:34 +08:00
adding sopcast/qsopcast Qt front-end to p2p TV sopcast, voted in from ccr
This commit is contained in:
parent
6c62544a55
commit
b11e705bd8
6
.gitignore
vendored
6
.gitignore
vendored
@ -10,7 +10,9 @@ hdr
|
||||
build.sh
|
||||
clean-builddir.sh
|
||||
clean-workdir.sh
|
||||
copy.sh
|
||||
makepkg
|
||||
move.sh
|
||||
pkgrels-decrease.sh
|
||||
pkgrels-increase.sh
|
||||
pkgrels-reset.sh
|
||||
@ -25,6 +27,10 @@ sync-down.sh
|
||||
sync-up-nodb.sh
|
||||
sync-up.sh
|
||||
remove.sh
|
||||
recreate-database.sh
|
||||
upload.sh
|
||||
upload-nodb.sh
|
||||
unlock-database.sh
|
||||
|
||||
*-cfg.conf
|
||||
*-makepkg.conf
|
||||
|
38
qsopcast/PKGBUILD
Normal file
38
qsopcast/PKGBUILD
Normal file
@ -0,0 +1,38 @@
|
||||
#
|
||||
# Apps Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
# maintainer (i686): Phil Miller <philm[at]chakra-project[dot]org>
|
||||
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||||
# maintainer: Neo Kolokotronis <tetris4@gmail.com>
|
||||
|
||||
# include global config
|
||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
pkgname=qsopcast
|
||||
pkgver=0.3.8
|
||||
pkgrel=1
|
||||
pkgdesc="A Qt front-end to p2p TV sopcast"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://code.google.com/p/qsopcast"
|
||||
license=('GPL2')
|
||||
depends=('qt4' 'sopcast')
|
||||
source=(http://qsopcast.googlecode.com/files/$pkgname-$pkgver-qt4.tar.bz2 qsopcast.desktop)
|
||||
md5sums=('f2bcf0e31752694ee16d538ce605c3d9'
|
||||
'a71644b610b05443f011e774dbeb0804')
|
||||
|
||||
build() {
|
||||
cd $srcdir/$pkgname-$pkgver-qt4/src
|
||||
export PATH=$QTDIR/bin:$PATH
|
||||
export QMAKESPEC=/usr/share/qt/mkspecs/linux-g++
|
||||
sed -i "s:/usr/local:/usr:g" qsopcast.pro main.cpp
|
||||
qmake || return 1
|
||||
sed -i "s:/usr/X11R6/:/usr/:g" Makefile
|
||||
make || return 1
|
||||
}
|
||||
package() {
|
||||
cd $srcdir/$pkgname-$pkgver-qt4/src
|
||||
make INSTALL_ROOT=$pkgdir install
|
||||
install -D -m644 ../../qsopcast.desktop $pkgdir/usr/share/applications/qsopcast.desktop
|
||||
install -D -m644 icons/mozart.xpm $pkgdir/usr/share/pixmaps/qsopcast.xpm
|
||||
rm -f "${pkgdir}/usr/bin/sp-sc"
|
||||
}
|
10
qsopcast/qsopcast.desktop
Normal file
10
qsopcast/qsopcast.desktop
Normal file
@ -0,0 +1,10 @@
|
||||
[Desktop Entry]
|
||||
Comment=A Qt frontend of sopcast
|
||||
Exec=qsopcast
|
||||
GenericName=Online TV
|
||||
Icon=qsopcast.xpm
|
||||
Name=QSopcast
|
||||
StartupNotify=true
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Application;Network;
|
30
sopcast/PKGBUILD
Normal file
30
sopcast/PKGBUILD
Normal file
@ -0,0 +1,30 @@
|
||||
#
|
||||
# Apps Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
||||
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||||
# Maintainer: Neo Kolokotronis <tetris4@gmail.com>
|
||||
|
||||
# include global config
|
||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
pkgname=sopcast
|
||||
pkgver=3.2.6
|
||||
pkgrel=1
|
||||
pkgdesc="The Streaming Direct Broadcast System based on P2P"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.sopcast.org"
|
||||
license=('custom')
|
||||
depends=('libstdc++5')
|
||||
[ "${CARCH}" == "x86_64" ] && depends=('lib32-libstdc++5')
|
||||
source=(http://download.sopcast.com/download/sp-auth.tgz license)
|
||||
md5sums=('db931c9237fc93756dab7284800fa43f'
|
||||
'44ecefd6a3681879a9d84d7044570fcb')
|
||||
install=sopcast.install
|
||||
|
||||
package() {
|
||||
install -D -m755 sp-auth/sp-sc-auth $pkgdir/usr/bin/sp-sc-auth
|
||||
ln -s sp-sc-auth $pkgdir/usr/bin/sopcast
|
||||
ln -s sp-sc-auth $pkgdir/usr/bin/sp-sc
|
||||
install -D license $pkgdir/usr/share/licenses/sopcast/COPYING
|
||||
}
|
17
sopcast/license
Normal file
17
sopcast/license
Normal file
@ -0,0 +1,17 @@
|
||||
Date: Wed, 6 Dec 2006 16:6:35 +0800
|
||||
From: "contact@sopcast" <contact@sopcast.org>
|
||||
To: Alessio 'mOLOk' Bolognino <themolok@gmail.com>
|
||||
|
||||
Alessio 'mOLOk' Bolognino,
|
||||
|
||||
[...] SopCast is free of use and distribute. you can use this email as
|
||||
an authorization for your distribution.
|
||||
|
||||
Best regards
|
||||
|
||||
SopCast
|
||||
|
||||
------------------------
|
||||
|
||||
SopCast-Streaming Over P2P-SopCast
|
||||
http://www.sopcast.com
|
10
sopcast/sopcast.install
Normal file
10
sopcast/sopcast.install
Normal file
@ -0,0 +1,10 @@
|
||||
post_install() {
|
||||
cat << EOM
|
||||
|
||||
==> A simple example of sp-sc command line:
|
||||
==> ./sp-sc sop://broker.sopcast.com:3912/6098 3908 8908 > /dev/null &
|
||||
==> Start to transfer channel 6098, and you can play it on 8908 with VLC or mplayer
|
||||
==> by open the url: http://localhost:8908/tv.asf
|
||||
|
||||
EOM
|
||||
}
|
Loading…
Reference in New Issue
Block a user