Merge pull request #425 from oltulu/patch-210

Create talimat
This commit is contained in:
Milli İşletim Sistemi (Milis Linux) 2018-01-14 15:30:31 +02:00 committed by GitHub
commit c67625cdc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,26 @@
# Tanım: Xpdf 3.0'a dayalı PDF işleme kütüphanesi
# URL: http://poppler.freedesktop.org/
# Paketçi: Cihan_Alkan
# Gerekler: poppler xorg-libxxf86vm libpng xorg-fontconfig libjpeg-turbo cairo libxml2 openjpeg lcms lcms2 qt5
# Grup: kütüphane
isim=poppler-qt5
surum=0.61.1
devir=1
kaynak=(http://poppler.freedesktop.org/poppler-$surum.tar.xz)
derle() {
mkdir build
cd build
cmake ../poppler-$surum \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DENABLE_XPDF_HEADERS=ON \
-DENABLE_GTK_DOC=ON
make
make -C qt5 DESTDIR="${PKG}" install
install -m755 -d "${PKG}/usr/lib/pkgconfig"
install -m644 poppler-qt5.pc "${PKG}/usr/lib/pkgconfig/"
}