mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-06 12:37:15 +08:00
appset-qt removed from testing git
This commit is contained in:
parent
cb505e19ba
commit
99e6ba63a7
@ -1,65 +0,0 @@
|
|||||||
# Maintainer: Phil Miller <philm[at]chakra-project[dot]org>
|
|
||||||
# Committer: Simone Tobia <simone.tobia at gmail dot com>
|
|
||||||
# Translators: http://chakra-project.org/bbs/viewtopic.php?pid=29626#p29626
|
|
||||||
|
|
||||||
pkgname=appset-qt
|
|
||||||
pkgver=0.7.1
|
|
||||||
pkgrel=2
|
|
||||||
pkgdesc="An advanced and feature rich Package Manager Frontend"
|
|
||||||
arch=('i686' 'x86_64')
|
|
||||||
url="http://appset.sourceforge.net/"
|
|
||||||
license=('GPL2')
|
|
||||||
depends=('qt>=4.7' 'kde-baseapps-konsole')
|
|
||||||
optdepends=('ccr: For Community Repository support')
|
|
||||||
categories=('system')
|
|
||||||
install=${pkgname}.install
|
|
||||||
source=(http://sourceforge.net/projects/appset/files/appset-qt/0.7/0.7.1/appset-qt-0.7.1-sources.tar.gz
|
|
||||||
http://chakra.sourceforge.net/sources/$pkgname/appset-qt-oxygen-icons.tar.xz
|
|
||||||
http://chakra.sourceforge.net/sources/$pkgname/$pkgname-0.7.1-chakra.patch
|
|
||||||
http://chakra.sourceforge.net/sources/$pkgname/revert-qt48.patch
|
|
||||||
)
|
|
||||||
md5sums=(83100d84a8735abd3a1cca4f6f1d3197
|
|
||||||
87f5f278e3fe67ed2cd6165c2835d81b
|
|
||||||
3c89d94eefdebcf2afc1cf1ca22521d7
|
|
||||||
eac478cde3bd3ece4610e9aea2aafe69
|
|
||||||
)
|
|
||||||
|
|
||||||
build() {
|
|
||||||
cd $srcdir/$pkgname-0.7.1-sources
|
|
||||||
# copy oxygen icons
|
|
||||||
cp -v ../*png Qt/AppSet-Qt
|
|
||||||
|
|
||||||
# patch it for Chakra GNU/Linux
|
|
||||||
patch -Np1 -i ${startdir}/src/$pkgname-0.7.1-chakra.patch
|
|
||||||
# revert 4.8 changes
|
|
||||||
patch -Rp0 -i ${startdir}/src/revert-qt48.patch
|
|
||||||
|
|
||||||
# check for updated strings
|
|
||||||
cd Qt/AppSet-Qt
|
|
||||||
lupdate *.cpp *.ui *.h -ts *.ts
|
|
||||||
cd ../AppSetTray-Qt
|
|
||||||
lupdate *.cpp *.h -ts *.ts
|
|
||||||
cd ../AppSetRepoEditor-Qt
|
|
||||||
lupdate *.cpp *.ui *.h -ts *.ts
|
|
||||||
cd ../..
|
|
||||||
|
|
||||||
qmake PREFIX=/usr -Wnone
|
|
||||||
|
|
||||||
#localization
|
|
||||||
lrelease Qt/AppSet-Qt/*.ts
|
|
||||||
lrelease Qt/AppSetTray-Qt/*.ts
|
|
||||||
lrelease Qt/AppSetRepoEditor-Qt/*.ts
|
|
||||||
|
|
||||||
make || return 1
|
|
||||||
}
|
|
||||||
|
|
||||||
package() {
|
|
||||||
cd $srcdir/$pkgname-0.7.1-sources
|
|
||||||
|
|
||||||
make INSTALL_ROOT="$pkgdir/" install
|
|
||||||
|
|
||||||
#helper daemon
|
|
||||||
install -m 755 -d "$pkgdir/etc/rc.d" || return 1
|
|
||||||
install -m 755 "$srcdir/$pkgname-0.7.1-sources/AppSetHelper/appset-helper.sh" "$pkgdir/etc/rc.d/appset-helper"
|
|
||||||
}
|
|
||||||
|
|
@ -1,31 +0,0 @@
|
|||||||
whisperer(){
|
|
||||||
echo "----------------------------------------------------------------"
|
|
||||||
echo "AppSet is in your desktop menu under Applications->System"
|
|
||||||
echo "To launch AppSet from shell run 'appset-launch.sh' as normal"
|
|
||||||
echo "user. To launch the tray type appsettray-qt as normal user."
|
|
||||||
echo "----------------------------------------------------------------"
|
|
||||||
}
|
|
||||||
|
|
||||||
mr_daemon(){
|
|
||||||
angel=$(grep ^DAEMONS /etc/rc.conf | grep appset-helper)
|
|
||||||
|
|
||||||
if [ "$angel" = "" ]; then
|
|
||||||
sed -i '/^DAEMONS/{s/)$/ appset-helper)/}' /etc/rc.conf
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
post_install(){
|
|
||||||
mr_daemon
|
|
||||||
whisperer
|
|
||||||
}
|
|
||||||
|
|
||||||
post_upgrade(){
|
|
||||||
mr_daemon
|
|
||||||
whisperer
|
|
||||||
}
|
|
||||||
|
|
||||||
post_remove(){
|
|
||||||
sed -i '/^DAEMONS/{s/ appset-helper)$/)/}' /etc/rc.conf
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user