mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-15 11:59:03 +08:00
splix: moved to desktop
This commit is contained in:
parent
53510c2209
commit
d1c36d81c3
@ -1,35 +0,0 @@
|
|||||||
#
|
|
||||||
# Platform package 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>
|
|
||||||
|
|
||||||
pkgname=splix
|
|
||||||
pkgver=2.0.0
|
|
||||||
pkgrel=2
|
|
||||||
pkgdesc="CUPS drivers for SPL (Samsung Printer Language) printers"
|
|
||||||
arch=('i686' 'x86_64')
|
|
||||||
url="http://splix.ap2c.org/"
|
|
||||||
license=('GPL')
|
|
||||||
depends=('libcups' 'gcc-libs' 'ghostscript>=9.02')
|
|
||||||
makedepends=('libcups' 'jbigkit')
|
|
||||||
install=splix.install
|
|
||||||
source=(http://downloads.sourceforge.net/splix/$pkgname-$pkgver.tar.bz2)
|
|
||||||
md5sums=('f3aa735c22a926818b3d8b26c9964186')
|
|
||||||
|
|
||||||
build() {
|
|
||||||
cd "$srcdir/$pkgname-$pkgver"
|
|
||||||
|
|
||||||
sed -i 's#const PPDFile::Value::Value #const PPDFile::Value #' src/ppdfile.cpp
|
|
||||||
|
|
||||||
make PSTORASTER=gstoraster
|
|
||||||
}
|
|
||||||
|
|
||||||
package() {
|
|
||||||
cd "$srcdir/$pkgname-$pkgver"
|
|
||||||
|
|
||||||
install -d "$pkgdir/usr/lib/cups/filter"
|
|
||||||
install -d "$pkgdir/usr/share/cups/model/samsung"
|
|
||||||
|
|
||||||
make DESTDIR="$pkgdir" install
|
|
||||||
}
|
|
@ -1,19 +0,0 @@
|
|||||||
post_install() {
|
|
||||||
cat <<EOF
|
|
||||||
Installation of the color profile for color printers:
|
|
||||||
-----------------------------------------------------
|
|
||||||
|
|
||||||
Color printers needs color profile files to get better results. These
|
|
||||||
files are provided by your printer manufacturer and you have to install them
|
|
||||||
manually. To do that, download the linux official drivers and locate the "cms"
|
|
||||||
directory. Install this directory to "/usr/share/cups/model/\$MANUFACTURER/cms".
|
|
||||||
|
|
||||||
Samsung color profile files are available at:
|
|
||||||
(Then use MANUFACTURER=samsung)
|
|
||||||
http://splix.ap2c.org/samsung_cms.tar.bz2
|
|
||||||
EOF
|
|
||||||
}
|
|
||||||
|
|
||||||
post_upgrade() {
|
|
||||||
post_install
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user