From 3a068fa140694501f3182bbe7e14e9ba59d750f2 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 9 Jun 2010 10:16:22 +0200 Subject: [PATCH] Added gedit-2.30.2 build template. --- srcpkgs/gedit-devel | 1 + srcpkgs/gedit/depends | 2 ++ srcpkgs/gedit/gedit-devel.template | 34 +++++++++++++++++++ srcpkgs/gedit/template | 54 ++++++++++++++++++++++++++++++ 4 files changed, 91 insertions(+) create mode 120000 srcpkgs/gedit-devel create mode 100644 srcpkgs/gedit/depends create mode 100644 srcpkgs/gedit/gedit-devel.template create mode 100644 srcpkgs/gedit/template diff --git a/srcpkgs/gedit-devel b/srcpkgs/gedit-devel new file mode 120000 index 0000000000..a1d833e423 --- /dev/null +++ b/srcpkgs/gedit-devel @@ -0,0 +1 @@ +gedit \ No newline at end of file diff --git a/srcpkgs/gedit/depends b/srcpkgs/gedit/depends new file mode 100644 index 0000000000..be7a40ff4e --- /dev/null +++ b/srcpkgs/gedit/depends @@ -0,0 +1,2 @@ +abi_depends=">=2.30.2" +api_depends="${abi_depends}" diff --git a/srcpkgs/gedit/gedit-devel.template b/srcpkgs/gedit/gedit-devel.template new file mode 100644 index 0000000000..90f3bfe5ea --- /dev/null +++ b/srcpkgs/gedit/gedit-devel.template @@ -0,0 +1,34 @@ +# Template file for 'gedit-devel'. +# +short_desc="${sourcepkg} - development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run pkg-config +Add_dependency run intltool +Add_dependency run gnome-doc-utils +Add_dependency run glib-devel +Add_dependency run atk-devel +Add_dependency run pango-devel +Add_dependency run cairo-devel +Add_dependency run freetype-devel +Add_dependency run fontconfig-devel +Add_dependency run gtk+-devel +Add_dependency run GConf-devel +Add_dependency run libxml2-devel +Add_dependency run gtksourceview-devel +Add_dependency run enchant-devel +Add_dependency run libX11-devel +Add_dependency run libSM-devel +Add_dependency run libICE-devel +Add_dependency run pygtksourceview +Add_dependency run gedit + +do_install() +{ + mkdir -p ${DESTDIR}/usr/{lib,share} + mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/share/gtk-doc ${DESTDIR}/usr/share +} diff --git a/srcpkgs/gedit/template b/srcpkgs/gedit/template new file mode 100644 index 0000000000..5fcbc9fccc --- /dev/null +++ b/srcpkgs/gedit/template @@ -0,0 +1,54 @@ +# Template file for 'gedit' +pkgname=gedit +version=2.30.2 +distfiles="${GNOME_SITE}/$pkgname/2.30/$pkgname-$version.tar.bz2" +build_style=gnu_configure +configure_args="--disable-schemas-install --disable-scrollkeeper +--with-gconf-schema-file-dir=/usr/share/gconf/schemas --localstatedir=/var" +short_desc="A text editor for GNOME" +maintainer="Juan RP " +checksum=bcaa3ececd38293524b12f793bc939268531ce7a2b7f49212362098cf36b1bd5 +long_desc=" + The GNOME Editor." + +gconf_schemas="gedit-file-browser.schemas gedit.schemas" +gtk_iconcache_dirs="/usr/share/icons/hicolor" +subpackages="$pkgname-devel" + +Add_dependency run glibc +Add_dependency run glib +Add_dependency run atk +Add_dependency run pango +Add_dependency run cairo +Add_dependency run freetype +Add_dependency run fontconfig +Add_dependency run gtk+ +Add_dependency run libxml2 +Add_dependency run GConf +Add_dependency run gtksourceview +Add_dependency run enchant +Add_dependency run libX11 +Add_dependency run libSM +Add_dependency run libICE + +Add_dependency build pkg-config +Add_dependency build intltool +Add_dependency build gnome-doc-utils +Add_dependency build glib-devel +Add_dependency build atk-devel +Add_dependency build pango-devel +Add_dependency build cairo-devel +Add_dependency build freetype-devel +Add_dependency build fontconfig-devel +Add_dependency build gtk+-devel +Add_dependency build GConf-devel +Add_dependency build libxml2-devel +Add_dependency build gtksourceview-devel +Add_dependency build enchant-devel +Add_dependency build libX11-devel +Add_dependency build libSM-devel +Add_dependency build libICE-devel + +Add_dependency full pygtksourceview +Add_dependency full hicolor-icon-theme +Add_dependency full desktop-file-utils