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:
2
srcpkgs/pango/depends
Normal file
2
srcpkgs/pango/depends
Normal file
@@ -0,0 +1,2 @@
|
||||
abi_depends=">=1.24.0"
|
||||
api_depends="${abi_depends}"
|
||||
20
srcpkgs/pango/pango-devel.template
Normal file
20
srcpkgs/pango/pango-devel.template
Normal file
@@ -0,0 +1,20 @@
|
||||
# Template file for 'pango-devel'.
|
||||
#
|
||||
short_desc="${sourcepkg} (development files)"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains files for development, headers, static libs, etc."
|
||||
|
||||
Add_dependency run pango
|
||||
|
||||
do_install()
|
||||
{
|
||||
local lver="1.6.0"
|
||||
|
||||
mkdir -p ${DESTDIR}/usr/lib/pango/${lver}/modules
|
||||
mkdir -p ${DESTDIR}/usr/share
|
||||
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/lib*.so ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/share/gtk-doc ${DESTDIR}/usr/share
|
||||
}
|
||||
46
srcpkgs/pango/template
Normal file
46
srcpkgs/pango/template
Normal file
@@ -0,0 +1,46 @@
|
||||
# Template build file for 'pango'.
|
||||
pkgname=pango
|
||||
version=1.26.0
|
||||
distfiles="${GNOME_SITE}/pango/1.26/$pkgname-$version.tar.bz2"
|
||||
build_style=gnu_configure
|
||||
configure_args="--localstatedir=/var"
|
||||
short_desc="Library for layout and rendering of text"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=e1bfaefd2614ff86d531152f31fbf4a61aea723eef19b132733ccd3eb8d9a6c3
|
||||
long_desc="
|
||||
Pango is a library for layout and rendering of text, with an emphasis
|
||||
on internationalization. Pango can be used anywhere that text layout
|
||||
is needed; however, most of the work on Pango-1.0 was done using the
|
||||
GTK+ widget toolkit as a test platform. Pango forms the core of text
|
||||
and font handling for GTK+-2.0.
|
||||
|
||||
Pango is designed to be modular; the core Pango layout can be used
|
||||
with four different font backends:
|
||||
|
||||
- Core X windowing system fonts
|
||||
- Client-side fonts on X using the Xft library
|
||||
- Direct rendering of scalable fonts using the FreeType library
|
||||
- Native fonts on Microsoft backends
|
||||
|
||||
Dynamically loaded modules then handle text layout for particular
|
||||
combinations of script and font backend.
|
||||
|
||||
As well as the low level layout rendering routines, Pango includes
|
||||
PangoLayout, a high level driver for laying out entire blocks of text,
|
||||
and routines to assist in editing internationalized text."
|
||||
|
||||
subpackages="$pkgname-devel"
|
||||
triggers="pango-modules"
|
||||
|
||||
Add_dependency build pkg-config
|
||||
Add_dependency full glibc
|
||||
Add_dependency full glib
|
||||
Add_dependency full zlib
|
||||
Add_dependency full fontconfig
|
||||
Add_dependency full freetype
|
||||
Add_dependency full cairo
|
||||
Add_dependency full libX11
|
||||
Add_dependency full libXt
|
||||
Add_dependency full libXft
|
||||
Add_dependency full libXrender
|
||||
# XXX Add missing dependency libthai.
|
||||
Reference in New Issue
Block a user