kadu rebuild #73

This commit is contained in:
AlmAck 2018-07-10 23:13:35 +02:00
parent b0e0a90b7a
commit 06584370d9
5 changed files with 1 additions and 120 deletions

View File

@ -1,34 +0,0 @@
#
# Apps Packages for Chakra, part of chakra-project.org
#
# maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
pkgname=k9copy
pkgver=2.3.8
pkgrel=2
pkgdesc="A small utility which allows the copy of DVD under Linux"
arch=('x86_64')
url="http://k9copy.sourceforge.net"
license=('GPL')
depends=('kde-runtime' 'libmpeg2' 'xine-lib' 'dvd+rw-tools' 'dvdauthor' 'phonon' 'docbook-xsl')
makedepends=('automoc4' 'cmake')
categories=('multimedia')
install=k9copy.install
screenshot=(http://k9copy.sourceforge.net/web/images/screenshots/scr10.jpeg)
source=(http://downloads.sourceforge.net/project/${pkgname}/k9copy-kde4/${pkgver}/${pkgname}-${pkgver}-Source.tar.gz)
md5sums=('584f6cc50f28befbeb0d5c1ec9476456')
build() {
cd "${srcdir}/${pkgname}-${pkgver}-Source"
sed -i -e "s:Name=k9copy:Name=K9copy:g" k9copy.desktop k9copy_assistant.desktop
cmake -DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}-Source"
make DESTDIR="${pkgdir}" install
}

View File

@ -1,26 +0,0 @@
Passing const char * instead of QByteArray to printf
http://bugs.gentoo.org/show_bug.cgi?id=304755
Patch written by Kacper Kowalik <xarthisius.kk@gmail.com>
--- src/xine/k9xineplayer.cpp
+++ src/xine/k9xineplayer.cpp
@@ -251,7 +251,7 @@
if ((vo_port = xine_open_video_driver(xine,
m_vo.toAscii(), XINE_VISUAL_TYPE_X11, (void *) &vis)) == NULL) {
- printf("I'm unable to initialize '%s' video driver. Giving up.\n", m_vo.toAscii());
+ printf("I'm unable to initialize '%s' video driver. Giving up.\n", m_vo.toAscii().constData());
return ;
}
@@ -270,7 +270,7 @@
running=false;
m_title="";
if ((!xine_open(stream, m_mrl.toUtf8())) || (!xine_play(stream, 0, 0))) {
- printf("Unable to open mrl '%s'\n", m_mrl.toUtf8());
+ printf("Unable to open mrl '%s'\n", m_mrl.toUtf8().constData());
return ;
}
QTimer::singleShot (500, this, SLOT (updatePosition ()));

View File

@ -1,11 +0,0 @@
post_install() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}

View File

@ -1,6 +1,6 @@
pkgname=kadu
pkgver=4.3
pkgrel=1
pkgrel=3
pkgdesc="A Qt-based Gadu-Gadu client"
arch=('x86_64')
url="http://www.kadu.net/"
@ -12,7 +12,6 @@ makedepends=('cmake' 'libao' 'libsndfile' 'libxtst' 'curl' 'qt5-tools' 'qxmpp')
optdepends=('qxmpp: Jabber protocol')
conflicts=('kadu-svn')
screenshot=('http://www.kadu.im/wiki/images/thumb/2/24/Screen_mainpage_pl.png/450px-Screen_mainpage_pl.png')
install=kadu.install
source=(http://download.kadu.im/stable/$pkgname-$pkgver.tar.bz2)
md5sums=('011899121ca5a7e653892f29072032e2')

View File

@ -1,47 +0,0 @@
# arg 1: the new package version
pre_install() {
/bin/true
}
# arg 1: the new package version
post_install() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
echo
echo "Below is a list of optional dependencies needed by certain modules:"
echo
echo " ----------------------- ------------------"
echo "| module | package |"
echo " ----------------------- ------------------"
echo "| ao_sound | libao |"
echo "| encryption | qca |"
echo "| idle | libxss |"
echo "| plus_pl_sms | curl |"
echo "| sound | libsndfile |"
echo "| spellchecker | aspell |"
echo "| xmms_mediaplayer | xmms |"
echo " ----------------------- ------------------"
echo
}
# arg 1: the new package version
# arg 2: the old package version
pre_upgrade() {
/bin/true
}
# arg 1: the new package version
# arg 2: the old package version
post_upgrade() {
post_install
}
# arg 1: the old package version
pre_remove() {
/bin/true
}
# arg 1: the old package version
post_remove() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
}