Projekty/Wsparcie > POLAUR
KDE Applications 14.12
pavbaranov:
XVIII. KDEMultimedia-KMix (KDE4.14)
PKGBUILD
--- Kod: ---# Maintainer: Andrea Scarpino <andrea@archlinux.org>
pkgname=kdemultimedia-kmix
pkgver=14.12.0
pkgrel=1
pkgdesc="KDE volume control program"
url='http://kde.org/applications/multimedia/kmix/'
arch=('i686' 'x86_64')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdemultimedia')
depends=('kdebase-runtime')
makedepends=('cmake' 'automoc4')
optdepends=('libcanberra-pulse: PulseAudio support')
install="${pkgname}.install"
source=("http://download.kde.org/stable/applications/${pkgver}/src/kmix-${pkgver}.tar.xz"
'use-qdbus-qt4.patch')
sha1sums=('4b69d15293af6c98ab52d009b79fad04ee57a222'
'f89a076c5a29c51d213864e27d07baf5400ece03')
prepare() {
mkdir build
cd kmix-${pkgver}
# FS#40786
patch -p1 -i "${srcdir}"/use-qdbus-qt4.patch
}
build() {
cd build
cmake ../kmix-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DKDE4_BUILD_TESTS=OFF \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}
--- Koniec kodu ---
use-qdbus-qt4.patch
--- Kod: ------ kmix-4.13.2/apps/kmixremote~ 2014-06-14 15:17:06.856474667 +0000
+++ kmix-4.13.2/apps/kmixremote 2014-06-14 15:17:44.759594763 +0000
@@ -28,7 +28,7 @@
# Prints the mixer DBUS ID's on the console. leaving out the "/Mixers/" prefix
function listMixers
{
- qdbus org.kde.kmix /Mixers org.freedesktop.DBus.Properties.Get org.kde.KMix.MixSet mixers | cut -f3 -d/
+ qdbus-qt4 org.kde.kmix /Mixers org.freedesktop.DBus.Properties.Get org.kde.KMix.MixSet mixers | cut -f3 -d/
errorCode=$?
if test $errorCode != 0; then
echo "Error $errorCode listing mixers. KMix is not running."
@@ -38,7 +38,7 @@
# Prints the mixer control DBUS ID's of the given mixer on the console. leaving out the "/Mixers/" prefix
function listControls
{
- qdbus org.kde.kmix $1 org.freedesktop.DBus.Properties.Get org.kde.KMix.Mixer controls | cut -f4 -d/
+ qdbus-qt4 org.kde.kmix $1 org.freedesktop.DBus.Properties.Get org.kde.KMix.Mixer controls | cut -f4 -d/
errorCode=$?
if test $errorCode != 0; then
echo "Error $errorCode listing controls. KMix is not running."
@@ -47,8 +47,8 @@
command=""
-if ! type qdbus >/dev/null 2>&1 ; then
- exit_with_error "$0 requires qdbus, but it cannot be found. Please install or check \$PATH"
+if ! type qdbus-qt4 >/dev/null 2>&1 ; then
+ exit_with_error "$0 requires qdbus-qt4, but it cannot be found. Please install or check \$PATH"
fi
# Read args
@@ -58,8 +58,8 @@
if test -z "$arg"; then
break
elif test "x--master" = "x$arg"; then
- mixer=`qdbus org.kde.kmix /Mixers org.kde.KMix.MixSet.currentMasterMixer`
- control=`qdbus org.kde.kmix /Mixers org.kde.KMix.MixSet.currentMasterControl`
+ mixer=`qdbus-qt4 org.kde.kmix /Mixers org.kde.KMix.MixSet.currentMasterMixer`
+ control=`qdbus-qt4 org.kde.kmix /Mixers org.kde.KMix.MixSet.currentMasterControl`
elif test "x--help" = "x$arg" -o "x-h" = "x$arg"; then
usage
exit 0
@@ -113,13 +113,13 @@
# --- EXECUTE PHASE --------------------------------------------------------------------------------------------------
if test "xget" = "x$command"; then
# GET
- qdbus org.kde.kmix $targetControl org.freedesktop.DBus.Properties.Get org.kde.KMix.Control volume
+ qdbus-qt4 org.kde.kmix $targetControl org.freedesktop.DBus.Properties.Get org.kde.KMix.Control volume
elif test "xset" = "x$command"; then
# SET
- qdbus org.kde.kmix $targetControl org.freedesktop.DBus.Properties.Set org.kde.KMix.Control volume $genericArg
+ qdbus-qt4 org.kde.kmix $targetControl org.freedesktop.DBus.Properties.Set org.kde.KMix.Control volume $genericArg
elif test "xmute" = "x$command"; then
# MUTE
- qdbus org.kde.kmix $targetControl org.freedesktop.DBus.Properties.Set org.kde.KMix.Control mute $genericArg
+ qdbus-qt4 org.kde.kmix $targetControl org.freedesktop.DBus.Properties.Set org.kde.KMix.Control mute $genericArg
else
exit_with_error "No such command '$command'"
fi
--- Koniec kodu ---
kdemultimedia-kmix.install
--- Kod: ---post_install() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}
--- Koniec kodu ---
pavbaranov:
XIX. KDEutils-kcalc (KDE4.14)
PKGBUILD
--- Kod: ---# Maintainer: Andrea Scarpino <andrea@archlinux.org>
pkgname=kdeutils-kcalc
pkgver=14.12.0
pkgrel=1
pkgdesc='Scientific Calculator'
url='http://kde.org/applications/utilities/kcalc/'
arch=('i686' 'x86_64')
license=('GPL' 'LGPL' 'FDL')
depends=('kdebase-runtime')
makedepends=('cmake' 'automoc4')
groups=('kde' 'kdeutils')
install=${pkgname}.install
source=("http://download.kde.org/stable/applications/${pkgver}/src/kcalc-${pkgver}.tar.xz")
sha1sums=('399f3760a19e416029bbd82bb35f56753c8142fc')
build() {
cd "${srcdir}"
mkdir build
cd build
cmake ../kcalc-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DKDE4_BUILD_TESTS=OFF \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd $srcdir/build
make DESTDIR=$pkgdir install
}
--- Koniec kodu ---
kdeutils-kcalc.install
--- Kod: ---post_install() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}
--- Koniec kodu ---
pavbaranov:
XX. KDENetwork-kopete (KDE4.14)
PKGBUILD
--- Kod: ---# Maintainer: Andrea Scarpino <andrea@archlinux.org>
pkgname=kdenetwork-kopete
pkgver=14.12.0
pkgrel=1
pkgdesc='Instant Messenger'
url='http://kde.org/applications/internet/kopete/'
arch=('i686' 'x86_64')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdenetwork')
depends=('kdebase-runtime' 'kdepimlibs' 'qca-ossl' 'libotr' 'libidn'
'qimageblitz' 'libgadu' 'mediastreamer' 'jsoncpp')
makedepends=('cmake' 'automoc4' 'boost' 'kdepim-libkdepim')
install=${pkgname}.install
source=("http://download.kde.org/stable/applications/${pkgver}/src/kopete-${pkgver}.tar.xz")
sha1sums=('2160795d1751e475b4680d8c43b047cde4f1034a')
prepare() {
mkdir build
}
build() {
cd build
cmake ../kopete-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DKDE4_BUILD_TESTS=OFF \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_SKIP_RPATH=ON \
-DWITH_Libmsn=OFF
make
}
package() {
cd build
make DESTDIR=$pkgdir install
}
--- Koniec kodu ---
kdenetwork-kopete.install
--- Kod: ---post_install() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
update-desktop-database -q
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}
--- Koniec kodu ---
pavbaranov:
XXI. KDEUtils-kwalletmanager (KDE4.14)
PKGBUILD
--- Kod: ---# Maintainer: Andrea Scarpino <andrea@archlinux.org>
pkgname=kdeutils-kwalletmanager
pkgver=14.12.0
pkgrel=1
pkgdesc='Wallet Management Tool'
url='http://kde.org/applications/system/kwalletmanager/'
arch=('i686' 'x86_64')
license=('GPL' 'LGPL' 'FDL')
depends=('kdebase-runtime')
makedepends=('cmake' 'automoc4')
groups=('kde' 'kdeutils')
conflicts=('kdeutils-kwallet')
replaces=('kdeutils-kwallet')
install=${pkgname}.install
source=("http://download.kde.org/stable/applications/${pkgver}/src/kwalletmanager-${pkgver}.tar.xz")
sha1sums=('6c9b419399bdf9887e69d3b055a3e369dc8be5de')
prepare() {
mkdir build
}
build() {
cd build
cmake ../kwalletmanager-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DKDE4_BUILD_TESTS=OFF \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}
--- Koniec kodu ---
kdeutils-kwalletmanager.install
--- Kod: ---post_install() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
update-desktop-database -q
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}
--- Koniec kodu ---
pavbaranov:
XXII. KDEUtils-print-manager (KDE4.14)
PKGBUILD
--- Kod: ---# Maintainer: Andrea Scarpino <andrea@archlinux.org>
pkgname=kdeutils-print-manager
pkgver=14.12.0
pkgrel=1
pkgdesc="A tool for managing print jobs and printers"
arch=('i686' 'x86_64')
url='https://projects.kde.org/projects/kde/kdeutils/print-manager'
license=('GPL' 'LGPL' 'FDL')
depends=('kdebase-workspace' 'libcups')
makedepends=('cmake' 'automoc4')
optdepends=('system-config-printer: auto-detect the printer driver')
replaces=('print-manager' 'kdeutils-printer-applet' 'kdeadmin-system-config-printer-kde')
conflicts=('print-manager')
groups=('kde' 'kdeutils')
source=("http://download.kde.org/stable/applications/${pkgver}/src/print-manager-${pkgver}.tar.xz")
sha1sums=('5f1f05b69962254c05bad426df8c9462ec3bc2e3')
build() {
mkdir build
cd build
cmake ../print-manager-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DKDE4_BUILD_TESTS=OFF \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}
--- Koniec kodu ---
Nawigacja
[#] Następna strona
Idź do wersji pełnej