Projekty/Wsparcie > POLAUR

KDE Applications 14.12

<< < (28/31) > >>

pavbaranov:
CXXXVIII. libkipi (KDE4.14)
PKGBUILD

--- Kod: ---# Maintainer: Andrea Scarpino <andrea@archlinux.org>

pkgname=libkipi
pkgver=14.12.0
pkgrel=1
pkgdesc="An interface to use kipi-plugins from a KDE application"
url="https://projects.kde.org/projects/kde/kdegraphics/libs/libkipi"
arch=('i686' 'x86_64')
license=('GPL' 'LGPL' 'FDL')
depends=('kdelibs')
makedepends=('cmake' 'automoc4')
replaces=('kdegraphics-libs')
conflicts=('kdegraphics-libs')
install=${pkgname}.install
source=("http://download.kde.org/stable/applications/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
sha1sums=('3dd3e9379cc96ed8a1b1e27c5f000ee185e9438d')

prepare() {
  mkdir build
}

build() {
  cd build
  cmake ../${pkgname}-${pkgver} \
    -DCMAKE_BUILD_TYPE=Release \
    -DKDE4_BUILD_TESTS=OFF \
    -DCMAKE_INSTALL_PREFIX=/usr
  make
}

package() {
  cd build
  make DESTDIR="${pkgdir}" install
}
--- Koniec kodu ---
libkipi.install

--- Kod: ---post_install() {
        xdg-icon-resource forceupdate --theme hicolor &> /dev/null
}

post_upgrade() {
        post_install
}

post_remove() {
        post_install
}
--- Koniec kodu ---

pavbaranov:
CXXXIX. libkomparediff2 (KDE4.14)
PKGBUILD

--- Kod: ---# Maintainer: Andrea Scarpino <andrea@archlinux.org>

pkgname=libkomparediff2
pkgver=14.12.0
pkgrel=1
pkgdesc="Library to compare files and strings"
url='https://projects.kde.org/projects/kde/kdesdk/libkomparediff2'
arch=('i686' 'x86_64')
license=('GPL' 'LGPL' 'FDL')
depends=('kdelibs')
makedepends=('cmake' 'automoc4')
source=("http://download.kde.org/stable/applications/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
sha1sums=('d345c77401548e20c2cf8f0baa977558c93381ae')

prepare() {
  mkdir build
}

build() {
  cd build
  cmake ../${pkgname}-${pkgver} \
    -DCMAKE_BUILD_TYPE=Release \
    -DKDE4_BUILD_TESTS=OFF \
    -DCMAKE_INSTALL_PREFIX=/usr
  make
}

package() {
  cd build
  make DESTDIR="${pkgdir}" install
}
--- Koniec kodu ---

pavbaranov:
CXL. libksane (KDE4.14)
PKGBUILD

--- Kod: ---# Maintainer: Andrea Scarpino <andrea@archlinux.org>

pkgname=libksane
pkgver=14.12.0
pkgrel=1
pkgdesc="An image scanning library"
url="https://projects.kde.org/projects/kde/kdegraphics/libs/libksane"
arch=('i686' 'x86_64')
license=('GPL' 'LGPL' 'FDL')
depends=('kdelibs' 'sane')
makedepends=('cmake' 'automoc4')
replaces=('kdegraphics-libs')
conflicts=('kdegraphics-libs')
install=${pkgname}.install
source=("http://download.kde.org/stable/applications/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
sha1sums=('868b04727773feb78cd6e5ced638332af2ef4e4e')

build() {
  cd "${srcdir}"
  mkdir build
  cd build
  cmake ../${pkgname}-${pkgver} \
    -DCMAKE_BUILD_TYPE=Release \
    -DKDE4_BUILD_TESTS=OFF \
    -DCMAKE_INSTALL_PREFIX=/usr
  make
}

package() {
  cd "${srcdir}"/build
  make DESTDIR="${pkgdir}" install
}
--- Koniec kodu ---
libksane.install

--- Kod: ---post_install() {
        xdg-icon-resource forceupdate --theme hicolor &> /dev/null
}

post_upgrade() {
        post_install
}

post_remove() {
        post_install
}
--- Koniec kodu ---

pavbaranov:
CXLI. Kdesdk-lokalize (KDE4.14)
PKGBUILD

--- Kod: ---# Maintainer: Andrea Scarpino <andrea@archlinux.org>

pkgname=kdesdk-lokalize
pkgver=14.12.0
pkgrel=1
pkgdesc='Computer-Aided Translation System'
url='http://kde.org/applications/development/lokalize/'
arch=('i686' 'x86_64')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdesdk')
depends=('kdebase-runtime' 'kdebindings-python2' 'kdesdk-strigi-analyzers')
makedepends=('cmake' 'automoc4')
optdepends=('translate-toolkit: enable extra scripts'
            'kdebindings-kross-python: enable python scripts')
install=${pkgname}.install
source=("http://download.kde.org/stable/applications/${pkgver}/src/lokalize-${pkgver}.tar.xz"
        'fix-python2-path.patch')
sha1sums=('545c9365b957f3d07f300ae26ebd1b7659ab115b'
          '07db42bbcae402c292eebf002e549b04162621c5')

prepare() {
  mkdir build

  cd lokalize-${pkgver}
  patch -p2 -i "${srcdir}"/fix-python2-path.patch
}

build() {
  cd build
  cmake ../lokalize-${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/share/apps/lokalize/scripts/odf/xliffmerge.py
}
--- Koniec kodu ---
fix-python2-path.patch

--- Kod: ------ kdesdk-4.5.80/lokalize/scripts/msgmerge.py~ 2010-11-24 11:22:42.120000002 +0100
+++ kdesdk-4.5.80/lokalize/scripts/msgmerge.py  2010-11-24 11:22:42.146666670 +0100
@@ -114,7 +114,7 @@
         print >>sys.stderr, "Execution failed:", e
 
     cmd='%s/odf/xliffmerge.py -i %s -t %s -o %s' % (ourPath,xliffpathname,xlifftemplatepathname,xliffpathname)
-    if os.name!='nt': cmd='python '+cmd
+    if os.name!='nt': cmd='python2 '+cmd
     else: cmd=cmd.replace('/','\\')
     os.system(cmd)

--- kdesdk-4.5.80/lokalize/scripts/xliff2odf.py~        2010-11-24 11:24:10.853333336 +0100
+++ kdesdk-4.5.80/lokalize/scripts/xliff2odf.py 2010-11-24 11:24:10.883333336 +0100
@@ -42,7 +42,7 @@
     xliff2odf.convertxliff(xliffinput, translatedodfpathname, odf)
 
     ourpath=([p for p in sys.path if os.path.exists(p+'/xliff2odf.py')]+[''])[0]
-    os.system('python "'+ourpath+'/xliff2odf-standalone.py" "%s" "%s" &'%(translatedodfpathname, Editor.currentEntryId()))
+    os.system('python2 "'+ourpath+'/xliff2odf-standalone.py" "%s" "%s" &'%(translatedodfpathname, Editor.currentEntryId()))
 
 try: convert()
 except: print 'error occured'
--- Koniec kodu ---
kdesdk-lokalize.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:
CXLII. Kdegames-lskat (KDE4.14)
PKGBUILD

--- Kod: ---# Maintainer: Andrea Scarpino <andrea@archlinux.org>

pkgname=kdegames-lskat
pkgver=14.12.0
pkgrel=1
pkgdesc="Lieutenant Skat is a fun and engaging card game for two players"
url="http://kde.org/applications/games/lskat/"
arch=('i686' 'x86_64')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdegames')
depends=('kdebase-runtime' 'libkdegames')
makedepends=('cmake' 'automoc4')
install=${pkgname}.install
source=("http://download.kde.org/stable/applications/${pkgver}/src/lskat-${pkgver}.tar.xz")
sha1sums=('4a8ebc599af00d336049ee43dd90763fd7b8b8b8')

build() {
  mkdir build
  cd build
  cmake ../lskat-${pkgver} \
    -DCMAKE_BUILD_TYPE=Release \
    -DKDE4_BUILD_TESTS=OFF \
    -DCMAKE_INSTALL_PREFIX=/usr
  make
}

package() {
  cd build
  make DESTDIR="${pkgdir}" install
}
--- Koniec kodu ---
kdegames-lskat.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

[0] Indeks wiadomości

[#] Następna strona

[*] Poprzednia strona

Idź do wersji pełnej