Projekty/Wsparcie > POLAUR
Alexandra - program do katalogowania filmów
(1/1)
pavbaranov:
Więcej: http://qt-apps.org/content/show.php/Alexandra+Video+Library?content=170743 i w linkach na tej stronie.
PKGBUILD
--- Kod: ---# Maintainer: pavbaranov
pkgname=alexandra
pkgver=1.3.0
pkgrel=1
pkgdesc="Video Library"
arch=('i686' 'x86_64')
license=('GPL2')
depends=('libmediainfo' 'qt5-base' 'libstdc++5' )
makedepends=('git' 'cmake')
install=$pkgname.install
url="http://alexandra-qt.sourceforge.net/en/home/"
source=('https://codeload.github.com/jeka-js/alexandra/zip/v1.3.0')
sha256sums=('00c613310d4d3633cde0410f2f2cecd0791d4628c4ace3d3c338b8d628dfaecb')
build() {
cd "$srcdir/$pkgname-$pkgver/src/"
qmake-qt5 PREFIX=/usr .
make
}
package(){
cd $srcdir/$pkgname-$pkgver/src/
install -Dm 755 -p ${pkgname} ${pkgdir}/usr/bin/${pkgname}
#strip /usr/bin/alexandra
cd $srcdir/$pkgname-$pkgver
install -Dm 0644 -p linux/alexandra.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop
install -Dm 644 -p linux/alexandra_addfilms.desktop ${pkgdir}/usr/share/applications/alexandra_addfilms.desktop
install -Dm 644 -p linux/alexandra.png ${pkgdir}/usr/share/icons/$pkgname.png
install -Dm 644 -p linux/alexandra.svg ${pkgdir}/usr/share/icons/hicolor/scalable/apps/$pkgname.svg
}
--- Koniec kodu ---
alexandra.install
--- Kod: ---post_install() {
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
update-desktop-database -q
}
post_upgrade() {
post_install $1
}
post_remove() {
post_install $1
}
--- Koniec kodu ---
pavbaranov:
Od jakiegoś czasu dostępna jest wersja 1.4.0, ale dopiero teraz udało mi się ją zbudować. Oto PKGBUILD:
--- Kod: ---# Maintainer: pavbaranov
pkgname=alexandra
pkgver=1.4.0
pkgrel=1
pkgdesc="Video Library"
arch=('i686' 'x86_64')
license=('GPL2')
depends=('libmediainfo' 'qt5-base')
makedepends=('git' 'qt5-base')
install=$pkgname.install
url="http://alexandra-qt.sourceforge.net/en/home/"
source=('https://github.com/jeka-js/alexandra/archive/1.4.0.tar.gz')
sha256sums=('c2a43d3c67c08c9b5c942519f35acb5a098992c2047386ebec40c7b033648bdf')
build() {
cd "$pkgname-$pkgver/"
qmake-qt5 PREFIX=/usr .
make
}
package(){
cd $srcdir/$pkgname-$pkgver/src/
install -Dm 755 -p ${pkgname} ${pkgdir}/usr/bin/${pkgname}
cd $srcdir/$pkgname-$pkgver
install -Dm 0644 -p linux/alexandra.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop
install -Dm 644 -p linux/alexandra_addfilms.desktop ${pkgdir}/usr/share/applications/alexandra_addfilms.desktop
install -Dm 644 -p linux/alexandra.png ${pkgdir}/usr/share/icons/$pkgname.png
install -Dm 644 -p linux/alexandra.svg ${pkgdir}/usr/share/icons/hicolor/scalable/apps/$pkgname.svg
}
--- Koniec kodu ---
Nawigacja
Idź do wersji pełnej