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/gimp/depends
Normal file
2
srcpkgs/gimp/depends
Normal file
@@ -0,0 +1,2 @@
|
||||
abi_depends=">=2.6.6"
|
||||
api_depends="${abi_depends}"
|
||||
19
srcpkgs/gimp/gimp-devel.template
Normal file
19
srcpkgs/gimp/gimp-devel.template
Normal file
@@ -0,0 +1,19 @@
|
||||
# Template file for 'gimp-devel'.
|
||||
#
|
||||
short_desc="${sourcepkg} development files"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains files for development, headers, static libs, etc."
|
||||
|
||||
Add_dependency run gimp
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/lib
|
||||
mkdir -p ${DESTDIR}/usr/share
|
||||
|
||||
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/share/gtk-doc ${DESTDIR}/usr/share
|
||||
mv ${SRCPKGDESTDIR}/usr/share/aclocal ${DESTDIR}/usr/share
|
||||
}
|
||||
60
srcpkgs/gimp/template
Normal file
60
srcpkgs/gimp/template
Normal file
@@ -0,0 +1,60 @@
|
||||
# Template build file for 'gimp'.
|
||||
pkgname=gimp
|
||||
version=2.6.7
|
||||
revision=1
|
||||
distfiles="http://sunsite.rediris.es/mirror/gimp/v2.6/$pkgname-$version.tar.bz2"
|
||||
build_style=gnu_configure
|
||||
configure_args="--without-aa --without-webkit --without-gvfs
|
||||
--without-gnomevfs --without-alsa --disable-python --disable-alsatest
|
||||
--enable-gimp-remote"
|
||||
short_desc="The GNU image manipulation program"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=a401c5fbe59e812413cb4d0b37607680089bf254056d8b5853aa79e03a6fe115
|
||||
long_desc="
|
||||
Powerful image manipulation program similar to \"Adobe Photoshop\"[tm].
|
||||
It supports layers, arbitrary image sizes and working on several images
|
||||
at the same time. It comes with a lot of useful plug-ins. Missing is CMYK
|
||||
support and more than 8 bits per channel."
|
||||
|
||||
gtk_iconcache_dirs="/usr/share/icons/hicolor"
|
||||
triggers="gtk-icon-cache mimedb"
|
||||
conf_files="/etc/gimp/2.0/unitrc
|
||||
/etc/gimp/2.0/gtkrc
|
||||
/etc/gimp/2.0/menurc
|
||||
/etc/gimp/2.0/ps-menurc
|
||||
/etc/gimp/2.0/sessionrc
|
||||
/etc/gimp/2.0/templaterc
|
||||
/etc/gimp/2.0/gimprc
|
||||
/etc/gimp/2.0/controllerrc"
|
||||
|
||||
subpackages="$pkgname-devel"
|
||||
Add_dependency build intltool
|
||||
Add_dependency build pkg-config
|
||||
Add_dependency build curl
|
||||
Add_dependency full glibc
|
||||
Add_dependency full gtk+
|
||||
Add_dependency full poppler
|
||||
Add_dependency full hicolor-icon-theme
|
||||
Add_dependency full babl
|
||||
Add_dependency full gegl
|
||||
Add_dependency full jpeg
|
||||
Add_dependency full lcms
|
||||
Add_dependency full libmng
|
||||
Add_dependency full libart
|
||||
Add_dependency full libexif
|
||||
Add_dependency full libpng
|
||||
Add_dependency full tiff
|
||||
Add_dependency full librsvg
|
||||
Add_dependency full libwmf
|
||||
Add_dependency full libICE
|
||||
Add_dependency full libSM
|
||||
Add_dependency full libXpm
|
||||
Add_dependency full libXmu
|
||||
Add_dependency full libXfixes
|
||||
Add_dependency full hal
|
||||
Add_dependency run curl-libs
|
||||
|
||||
pre_configure()
|
||||
{
|
||||
cd / && ${XBPS_TRIGGERSDIR}/gtk-pixbuf-loaders run post-install
|
||||
}
|
||||
Reference in New Issue
Block a user