Projekty/Wsparcie > POLAUR
KDE Applications 14.12
pavbaranov:
XXIII. KDEEdu-marble (KDE4.14)
PKGBUILD
--- Kod: ---# Maintainer: Andrea Scarpino <andrea@archlinux.org>
pkgname=kdeedu-marble
pkgver=14.12.0
pkgrel=1
pkgdesc="Desktop Globe"
url="http://kde.org/applications/education/marble/"
arch=('i686' 'x86_64')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdeedu')
depends=('kdebase-runtime')
makedepends=('cmake' 'automoc4' 'gpsd')
optdepends=('gpsd: GPS support'
'quazip: reading and displaying KMZ files')
install=${pkgname}.install
source=("http://download.kde.org/stable/applications/${pkgver}/src/marble-${pkgver}.tar.xz")
sha1sums=('2f7956adfd1a45511714e16c29913d6fac4a1c6b')
prepare() {
mkdir build
}
build() {
cd build
cmake ../marble-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DKDE4_BUILD_TESTS=OFF \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}
--- Koniec kodu ---
kdeedu-marble.install
--- Kod: ---post_install() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
update-desktop-database -q
update-mime-database usr/share/mime &> /dev/null
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}
--- Koniec kodu ---
pavbaranov:
XXIV. Okteta (KF5)
PKGBUILD
--- Kod: ---# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Gustavo Alvarez <sl1pkn07@gmail.com>
# Maintainter of this PKGBUILD: pavbaranov
pkgname=okteta
pkgver=14.12.0
pkgrel=1
pkgdesc='Hex Editor'
url='http://kde.org/applications/utilities/okteta/'
arch=('i686' 'x86_64')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdesdk')
depends=('kcmutils' 'kparts' 'knewstuff' 'qca-qt5')
makedepends=('extra-cmake-modules' 'kdoctools' 'python' 'qt5-tools')
replaces=('kdesdk-okteta')
conflicts=('kdesdk-okteta<4.14.3-2')
install=${pkgname}.install
source=("http://download.kde.org/stable/applications/${pkgver}/src/okteta-${pkgver}.tar.xz" 'find_qca_qt5.patch')
sha1sums=('2dcea029120c7f7d92b7c7e2bcacdd0ea87c9b85'
'ff51e1448f4df5c2715bdcad57560e82acfbacbf')
prepare() {
rm -rf build
mkdir -p build
cd $pkgname-$pkgver
patch -p0 -i $srcdir/find_qca_qt5.patch
}
build() {
cd build
cmake ../okteta-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_TESTING=OFF \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DSYSCONF_INSTALL_DIR=/etc \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
make
}
package() {
make -C build DESTDIR=$pkgdir install
}
--- Koniec kodu ---
find_qca_qt5.patch
--- Kod: ------ cmake/modules/FindQCA2.cmake.orig 2014-12-02 22:38:40.129259069 +0100
+++ cmake/modules/FindQCA2.cmake 2014-12-02 23:05:45.986414768 +0100
@@ -17,13 +17,13 @@
if (NOT WIN32)
find_package(PkgConfig QUIET)
- pkg_check_modules(PC_QCA2 QUIET qca2)
+ pkg_search_module(PC_QCA2 QUIET qca2-qt5 qca2)
set(QCA2_DEFINITIONS ${PC_QCA2_CFLAGS_OTHER})
endif (NOT WIN32)
find_library(QCA2_LIBRARIES
WIN32_DEBUG_POSTFIX d
- NAMES qca
+ NAMES qca-qt5 qca
HINTS ${PC_QCA2_LIBDIR} ${PC_QCA2_LIBRARY_DIRS}
)
--- Koniec kodu ---
okteta.install
--- Kod: ---post_install() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
update-mime-database usr/share/mime &> /dev/null
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}
--- Koniec kodu ---
pavbaranov:
XXV. KDEBaseApps (KDE4.14), czyli Dolphin, Konqueror, kdepasswd, kdialog, keditbookmarks, kfind, konq-plugins, kdebase-lib i kdebase-plasma
Te paczki budowane są jednym PKGBUILDem, ale w wyniku jego działania tworzonych jest kilka pakietów. Jeśli nie chcecie ich wszystkich instalować, to najlepiej jest zbudować paczki poleceniem makepkg -src oraz zainstalować te, które chcecie z wykorzystaniem pacman -U.
PKGBUILD
--- Kod: ---# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>
pkgbase=kdebase
pkgname=('kdebase-dolphin'
'kdebase-kdepasswd'
'kdebase-kdialog'
'kdebase-keditbookmarks'
'kdebase-kfind'
'kdebase-konq-plugins'
'kdebase-konqueror'
'kdebase-lib'
'kdebase-plasma')
pkgver=14.12.0
pkgrel=1
arch=('i686' 'x86_64')
url='http://www.kde.org'
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdebase')
makedepends=('kdelibs' 'cmake' 'automoc4' 'tidyhtml' 'baloo4-widgets')
source=("http://download.kde.org/stable/applications/${pkgver}/src/kde-baseapps-${pkgver}.tar.xz")
sha1sums=('556383056e6198651353e213ef21bc1a539f2970')
prepare() {
mkdir build
}
build() {
cd build
cmake ../kde-baseapps-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DKDE4_BUILD_TESTS=OFF \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package_kdebase-dolphin() {
pkgdesc='File Manager'
depends=('kdebase-runtime' 'kdebase-lib' 'baloo4-widgets')
optdepends=('kdegraphics-svgpart: thumbailers for SVG files'
'kdegraphics-thumbnailers: thumbnailers for various graphics files'
'kdemultimedia-ffmpegthumbs: thumbnailers for video files'
'kdemultimedia-mplayerthumbs: thumbnailers for video files'
'kdesdk-thumbnailers: thumbnailers for development files'
'icoutils: thumbnailers for MS files'
'ruby: servicemenu installation')
url="http://kde.org/applications/system/dolphin/"
install=kdebase-dolphin.install
cd $srcdir/build/dolphin
make DESTDIR=$pkgdir install
cd $srcdir/build/doc/dolphin
make DESTDIR=$pkgdir install
}
package_kdebase-kdepasswd() {
pkgdesc='Change Password'
depends=('kdebase-runtime' 'kdebase-lib')
cd $srcdir/build/kdepasswd
make DESTDIR=$pkgdir install
cd $srcdir/build/doc/kdepasswd
make DESTDIR=$pkgdir install
}
package_kdebase-kdialog() {
pkgdesc='A utility for displaying dialog boxes from shell scripts'
depends=('kdebase-runtime')
cd $srcdir/build/kdialog
make DESTDIR=$pkgdir install
}
package_kdebase-keditbookmarks() {
pkgdesc='Bookmark Organizer and Editor'
depends=('kdebase-runtime')
cd $srcdir/build/keditbookmarks
make DESTDIR=$pkgdir install
}
package_kdebase-kfind() {
pkgdesc='Find Files/Folders'
depends=('kdebase-runtime' 'kdebase-lib')
url="http://kde.org/applications/utilities/kfind/"
install='kdebase.install'
cd $srcdir/build/kfind
make DESTDIR=$pkgdir install
cd $srcdir/build/doc/kfind
make DESTDIR=$pkgdir install
}
package_kdebase-konq-plugins() {
pkgdesc='Extra plugins for Konqueror'
depends=('kdebase-konqueror' 'tidyhtml')
replaces=('konq-plugins')
install='kdebase.install'
cd $srcdir/build/konq-plugins
make DESTDIR=$pkgdir install
}
package_kdebase-konqueror() {
pkgdesc='KDE File Manager & Web Browser'
depends=('kdebase-dolphin' 'kdebase-keditbookmarks')
optdepends=('kwebkitpart: to enable webkit engine')
url="http://kde.org/applications/internet/konqueror/"
install='kdebase-konqueror.install'
conflicts=('kdebase-nsplugins')
replaces=('kdebase-nsplugins')
for i in konqueror doc/konqueror nsplugins; do
cd $srcdir/build/${i}
make DESTDIR=$pkgdir install
done
}
package_kdebase-lib() {
pkgdesc='KDE libraries for the basic desktop applications'
groups=()
depends=('kdelibs')
cd $srcdir/build/lib
make DESTDIR=$pkgdir install
}
package_kdebase-plasma() {
pkgdesc='Display the contents of folders (User´s home folder as default)'
depends=('kdebase-workspace')
cd $srcdir/build/plasma
make DESTDIR=$pkgdir install
}
--- Koniec kodu ---
kdebase-dolphin.install
--- Kod: ---post_install() {
update-desktop-database -q
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}
--- Koniec kodu ---
kdebase-konqueror.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 ---
kdebase.install
--- Kod: ---post_install() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}
--- Koniec kodu ---
pavbaranov:
XXVI. KDE-dev-scripts (KDE4.14)
PKGBUILD
--- Kod: ---# Maintainer: Andrea Scarpino <andrea@archlinux.org>
pkgname=kdesdk-dev-scripts
pkgver=14.12.0
pkgrel=1
pkgdesc='Scripts and setting files useful during development of KDE software'
url='https://projects.kde.org/projects/kde/kdesdk/kde-dev-scripts'
arch=('i686' 'x86_64')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdesdk')
depends=('kdebase-runtime' 'python2')
makedepends=('cmake' 'automoc4')
source=("http://download.kde.org/stable/applications/${pkgver}/src/kde-dev-scripts-${pkgver}.tar.xz")
sha1sums=('1d3d2738792d39cf1e2609bc7a122af0369fbb86')
build() {
mkdir build
cd build
cmake ../kde-dev-scripts-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DKDE4_BUILD_TESTS=OFF \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd build
make DESTDIR=$pkgdir install
# Fix python 2 path
sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' \
"${pkgdir}"/usr/bin/{zonetab2pot,kde-systemsettings-tree}.py
sed -i 's|#! /usr/bin/env python|#!/usr/bin/env python2|' \
"${pkgdir}"/usr/bin/{kdelnk2desktop.py,kde_generate_export_header}
}
--- Koniec kodu ---
pavbaranov:
XXVII. Kolourpaint (KDE4)
PKGBUILD
--- Kod: ---# Maintainer: Andrea Scarpino <andrea@archlinux.org>
pkgname=kdegraphics-kolourpaint
pkgver=14.12.0
pkgrel=1
pkgdesc="Paint Program"
url="http://kde.org/applications/graphics/kolourpaint/"
arch=('i686' 'x86_64')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdegraphics')
depends=('kdebase-runtime' 'qimageblitz')
makedepends=('cmake' 'automoc4')
install=${pkgname}.install
source=("http://download.kde.org/stable/applications/${pkgver}/src/kolourpaint-${pkgver}.tar.xz")
sha1sums=('a6d6693dd5554e4eee4bfd3b69b220621be3c762')
build() {
cd "${srcdir}"
mkdir build
cd build
cmake ../kolourpaint-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DKDE4_BUILD_TESTS=OFF \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd "${srcdir}"/build
make DESTDIR="${pkgdir}" install
}
--- Koniec kodu ---
kdegraphics-kolourpaint.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 ---
Nawigacja
[#] Następna strona
Idź do wersji pełnej