Major infrastructure changes, part 2.
* Moved helpers, common and triggers dirs into xbps-src, where
they belong.
* Renamed the templates dir to srcpkgs, it was so redundant before.
* Make it possible to add subpkgs with no restriction in names, for
example udev now has a subpkgs called "libgudev". Previously
subpkgs were named "${sourcepkg}-${pkgname}".
* xbps-src: changed to look for template files in current directory.
That means that most arguments from the targets have been removed.
* xbps-src: added a reinstall target, to remove + install.
* xbps-src: do not overwrite binpkgs by default, skip them.
And more that I forgot because it's a mega-commit that I've been
working for some days already...
--HG--
extra : convert_revision : 0f466878584d1e6895d2a234f07ea1b2d1e61b3e
This commit is contained in:
18
srcpkgs/cairo/cairo-devel.template
Normal file
18
srcpkgs/cairo/cairo-devel.template
Normal file
@@ -0,0 +1,18 @@
|
||||
# Template file for 'cairo-devel'.
|
||||
#
|
||||
short_desc="${sourcepkg} (development files)"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains files for development, headers, static libs, etc."
|
||||
|
||||
Add_dependency run cairo
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/lib*.so ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/share ${DESTDIR}/usr
|
||||
}
|
||||
2
srcpkgs/cairo/depends
Normal file
2
srcpkgs/cairo/depends
Normal file
@@ -0,0 +1,2 @@
|
||||
abi_depends=">=1.8.6"
|
||||
api_depends="${abi_depends}"
|
||||
36
srcpkgs/cairo/template
Normal file
36
srcpkgs/cairo/template
Normal file
@@ -0,0 +1,36 @@
|
||||
# Template build file for 'cairo'.
|
||||
pkgname=cairo
|
||||
version=1.8.8
|
||||
distfiles="http://cairographics.org/releases/$pkgname-$version.tar.gz"
|
||||
build_style=gnu_configure
|
||||
configure_args="--enable-xlib=yes --enable-xlib-xrender=yes
|
||||
--enable-xcb=yes --enable-png=yes --enable-glitz=yes
|
||||
--enable-directfb=no --enable-ft=yes --enable-pdf=yes
|
||||
--enable-ps=yes --enable-svg=yes --disable-gcov"
|
||||
short_desc="Vector graphics library with cross-device output support"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=3c51d3de5dc4596e01a6675acd3c86c2c99c00f02e8fad5493758a29fe451c90
|
||||
long_desc="
|
||||
Cairo is a vector graphics library with cross-device output support. Currently
|
||||
supported output targets include the X Window System and in-memory image
|
||||
buffers. PostScript and PDF file output is planned. Cairo is designed to
|
||||
produce identical output on all output media while taking advantage of display
|
||||
hardware acceleration when available (eg. through the X Render Extension).
|
||||
|
||||
Cairo provides a stateful user-level API with capabilities similar to the PDF
|
||||
1.4 imaging model. Cairo provides operations including stroking and filling
|
||||
Bezier cubic splines, transforming and compositing translucent images, and
|
||||
antialiased text rendering."
|
||||
|
||||
subpackages="$pkgname-devel"
|
||||
Add_dependency build pkg-config
|
||||
Add_dependency full glibc
|
||||
Add_dependency full zlib
|
||||
Add_dependency full libpng
|
||||
Add_dependency full fontconfig
|
||||
Add_dependency full freetype
|
||||
Add_dependency full pixman
|
||||
Add_dependency full glitz
|
||||
Add_dependency full xcb-util
|
||||
Add_dependency full libX11
|
||||
Add_dependency full libXrender
|
||||
Reference in New Issue
Block a user