Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cups-filters
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pkg
obextra
cups-filters
Commits
e0504245
Commit
e0504245
authored
Aug 30, 2019
by
Eric Vidal
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
upgpkg: 1.25.3-2
parent
974b4e16
Pipeline
#161874
passed with stages
in 4 minutes and 25 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
67 additions
and
31 deletions
+67
-31
trunk/PKGBUILD
trunk/PKGBUILD
+67
-31
No files found.
trunk/PKGBUILD
View file @
e0504245
# Maintainer: Eric Vidal <eric@obarun.org>
# based on the original https://git.archlinux.org/svntogit/packages.git/log/trunk?h=packages/cups-filters
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Obarun : 66 init/supervisor
# Maintainer : Eric Vidal <eric@obarun.org>
# Maintainer : Jean-Michel T.Dydak <jean-michel@obarun.org>
# PkgSource : url="https://framagit.org/pkg/obextra/cups-filters"
#-----------------------------------------------------------------------------------------------
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname
=
cups-filters
pkgver
=
1.25.0
pkgrel
=
2
pkgdesc
=
"OpenPrinting CUPS Filters"
arch
=(
x86_64
)
pkgver
=
1.25.3
pkgrel
=
2
url
=
"https://wiki.linuxfoundation.org/openprinting/cups-filters"
license
=(
'custom'
)
depends
=(
'lcms2'
'poppler'
'qpdf'
'imagemagick'
'liblouis'
'ijs'
'libcups>=2.2.6-2'
)
makedepends
=(
'ghostscript'
'ttf-dejavu'
'python'
'mupdf-tools'
)
# ttf-dejavu for make check
optdepends
=(
'ghostscript: for non-PostScript printers to print with CUPS to convert PostScript to raster images'
'foomatic-db: drivers use Ghostscript to convert PostScript to a printable form directly'
'foomatic-db-engine: drivers use Ghostscript to convert PostScript to a printable form directly'
'foomatic-db-nonfree: drivers use Ghostscript to convert PostScript to a printable form directly'
'antiword: needed to convert MS Word documents (requires also docx2txt (AUR)'
)
backup
=(
etc/cups/cups-browsed.conf
)
source
=(
https://www.openprinting.org/download/cups-filters/
$pkgname
-
$pkgver
.tar.xz
)
sha256sums
=(
'8119149a8b61466e94c141205a5a9d2de798fe7a932a260ce2d66f8f30d351d1'
)
track
=
target
=
"
$pkgname
-
$pkgver
.tar.xz"
source
=(
https://www.openprinting.org/download/cups-filters/
${
target
}
)
#-------------------------------------| BUILD CONFIGURATION |-----------------------------------
makedepends
=(
'ghostscript'
'ttf-dejavu'
'python'
'mupdf-tools'
)
# ttf-dejavu for make check
#--------------------------------------------| BUILD |------------------------------------------
build
()
{
cd
$pkgname
-
$pkgver
cd
$pkgname
-
$pkgver
# Ignore const-related errors (remove once fixed upstream)
#CXXFLAGS+=' -fpermissive'
./configure
--prefix
=
/usr
\
--sysconfdir
=
/etc
\
--sbindir
=
/usr/bin
\
--localstatedir
=
/var
\
--with-rcdir
=
no
\
--disable-avahi
\
--with-browseremoteprotocols
=
DNSSD,CUPS
\
--enable-auto-setup-driverless
\
--with-test-font-path
=
/usr/share/fonts/TTF/DejaVuSans.ttf
make
./configure
--prefix
=
/usr
\
--sysconfdir
=
/etc
\
--sbindir
=
/usr/bin
\
--localstatedir
=
/var
\
--with-rcdir
=
no
\
--disable-avahi
\
--with-browseremoteprotocols
=
DNSSD,CUPS
\
--enable-auto-setup-driverless
\
--with-test-font-path
=
/usr/share/fonts/TTF/DejaVuSans.ttf
make
}
#--------------------------------------------| CHECK |------------------------------------------
check
()
{
cd
$pkgname
-
$pkgver
make check
}
#-------------------------------------------| PACKAGE |-----------------------------------------
package
()
{
cd
$pkgname
-
$pkgver
make
DESTDIR
=
"
$pkgdir
/"
install
...
...
@@ -55,3 +64,30 @@ package() {
mkdir
-p
"
${
pkgdir
}
"
/usr/share/licenses/
${
pkgname
}
install
-m644
"
${
srcdir
}
"
/
${
pkgname
}
-
${
pkgver
}
/COPYING
"
${
pkgdir
}
"
/usr/share/licenses/
${
pkgname
}
/
}
#------------------------------------| INSTALL CONFIGURATION |----------------------------------
arch
=(
x86_64
)
backup
=(
etc/cups/cups-browsed.conf
)
depends
=(
'lcms2'
'poppler'
'qpdf'
'imagemagick'
'liblouis'
'ijs'
'libcups>=2.2.6-2'
)
optdepends
=(
'ghostscript: for non-PostScript printers to print with CUPS to convert PostScript to raster images'
'foomatic-db: drivers use Ghostscript to convert PostScript to a printable form directly'
'foomatic-db-engine: drivers use Ghostscript to convert PostScript to a printable form directly'
'foomatic-db-nonfree: drivers use Ghostscript to convert PostScript to a printable form directly'
'antiword: needed to convert MS Word documents (requires also docx2txt (AUR)'
)
#-------------------------------------| SECURITY AND LICENCE |----------------------------------
license
=(
'custom'
)
sha256sums
=(
'8119149a8b61466e94c141205a5a9d2de798fe7a932a260ce2d66f8f30d351d1'
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment