mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-23 18:14:51 +08:00
39 lines
1.3 KiB
Bash
39 lines
1.3 KiB
Bash
#
|
|
# 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')
|
|
categories=('network' 'multimedia')
|
|
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"
|
|
} |