digikam update, transmission-qt translation files added

This commit is contained in:
Anke 2012-06-06 04:41:45 +00:00
parent 82f64a10a7
commit baed045590
2 changed files with 30 additions and 10 deletions

View File

@ -1,24 +1,35 @@
#
# Apps Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# maintainer abveritas@chakra-project.org
pkgbase=digikam
kgbase=digikam
pkgname=('digikam' 'kipi-plugins' 'libkvkontakte')
pkgver=2.5.0
pkgver=2.6.0
pkgrel=1
url="http://digikam.sourceforge.net"
arch=('i686' 'x86_64')
license=('GPL')
screenshot=('http://i.imgur.com/6YnUM.png')
makedepends=('kde-runtime' 'kdegraphics-kgamma' 'kdepimlibs' 'lensfun' 'kdeedu-marble' 'liblqr' 'opencv' 'lapack' 'libgpod'
'pkgconfig' 'cmake' 'automoc4' 'doxygen' 'docbook-xsl' 'qjson')
source=(http://sourceforge.net/projects/digikam/files/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.bz2)
md5sums=('770355060d2033a044c21b0f155be00c')
source=("http://sourceforge.net/projects/digikam/files/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.bz2")
#'boost148.patch'
#'libkipi140.patch'
#'gcc-4.7.diff')
md5sums=('5caf799b9a74d3bed3490d2cf66021dd')
#'91e89dc3abc5dd88e2e161f66b3d3f87'
#'39f96ab48c829c01f1d6e522510b043e'
#'cc442743ca9a0eb17f30ecbf0f240330')
build() {
cd ${srcdir}
pushd ${pkgname}-${pkgver}/core
#patch -p0 -i ${srcdir}/boost148.patch
#patch -Np1 -i ${srcdir}/libkipi140.patch
popd
#patch -p0 -i $srcdir/gcc-4.7.diff
mkdir -p build
cd build
cmake ../${pkgname}-${pkgver} \
@ -33,6 +44,7 @@ package_digikam() {
install=digikam.install
replaces=('digikamimageplugins')
categories=('graphics')
screenshot=('http://farm4.staticflickr.com/3197/2606712653_e9b9dc6ca1_o.png')
splitdirs="core doc po"
for i in ${splitdirs} ; do

View File

@ -7,11 +7,11 @@
pkgbase=transmission
pkgname=('transmission-cli' 'transmission-qt')
pkgver=2.52
pkgrel=1
pkgrel=2
arch=('i686' 'x86_64')
url="http://www.transmissionbt.com/"
license=('MIT')
makedepends=('intltool' 'curl' 'pkgconfig' 'desktop-file-utils' 'qt' 'libevent')
makedepends=('intltool' 'curl' 'pkgconfig' 'desktop-file-utils' 'qt' 'libevent' 'gettext')
source=(http://mirrors.m0k.org/transmission/files/${pkgbase}-${pkgver}.tar.xz
transmissiond transmissiond.conf)
md5sums=('b50cc87b4cd77ba0cbda98b5568a4d07'
@ -22,7 +22,7 @@ build() {
export CFLAGS="$CFLAGS -fno-strict-aliasing"
./configure --prefix=/usr
./configure --prefix=/usr --enable-nls
make
pushd qt
qmake qtr.pro
@ -62,4 +62,12 @@ package_transmission-qt() {
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/transmission-qt/COPYING"
install -D -m644 qt/icons/transmission.png "${pkgdir}/usr/share/pixmaps/transmission-qt.png"
install -D -m644 qt/transmission-qt.desktop "${pkgdir}/usr/share/applications/transmission-qt.desktop"
mkdir -p "${pkgdir}/usr/share/transmission/i18n"
install -D -m644 qt/translations/transmission_en.ts "${pkgdir}/usr/share/transmission/i18n/transmission_en.ts"
install -D -m644 qt/translations/transmission_es.ts "${pkgdir}/usr/share/transmission/i18n/transmission_es.ts"
install -D -m644 qt/translations/transmission_kk.ts "${pkgdir}/usr/share/transmission/i18n/transmission_kk.ts"
install -D -m644 qt/translations/transmission_lt.ts "${pkgdir}/usr/share/transmission/i18n/transmission_lt.ts"
install -D -m644 qt/translations/transmission_pt_BR.ts "${pkgdir}/usr/share/transmission/i18n/transmission_pt_BR.ts"
install -D -m644 qt/translations/transmission_ru.ts "${pkgdir}/usr/share/transmission/i18n/transmission_ru.ts"
}