diff --git a/srcpkgs/gtksourceview-devel b/srcpkgs/gtksourceview-devel new file mode 120000 index 00000000000..4917807f0ad --- /dev/null +++ b/srcpkgs/gtksourceview-devel @@ -0,0 +1 @@ +gtksourceview \ No newline at end of file diff --git a/srcpkgs/gtksourceview/depends b/srcpkgs/gtksourceview/depends new file mode 100644 index 00000000000..2f428f61c18 --- /dev/null +++ b/srcpkgs/gtksourceview/depends @@ -0,0 +1,2 @@ +abi_depends=">=2.10.0" +api_depends="${abi_depends}" diff --git a/srcpkgs/gtksourceview/gtksourceview-devel.template b/srcpkgs/gtksourceview/gtksourceview-devel.template new file mode 100644 index 00000000000..63427424d37 --- /dev/null +++ b/srcpkgs/gtksourceview/gtksourceview-devel.template @@ -0,0 +1,27 @@ +# Template file for 'gtksourceview-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 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 libxml2-devel +Add_dependency run gtksourceview + +do_install() +{ + mkdir -p ${DESTDIR}/usr/{lib,share} + mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/lib*.a ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/share/gtk-doc ${DESTDIR}/usr/share +} diff --git a/srcpkgs/gtksourceview/template b/srcpkgs/gtksourceview/template new file mode 100644 index 00000000000..fd515848389 --- /dev/null +++ b/srcpkgs/gtksourceview/template @@ -0,0 +1,36 @@ +# Template file for 'gtksourceview' +pkgname=gtksourceview +version=2.10.3 +distfiles="${GNOME_SITE}/$pkgname/2.10/$pkgname-$version.tar.bz2" +build_style=gnu_configure +configure_args="--localstatedir=/var" +short_desc="Text widget that extends GTK+ GtkTextView widget" +maintainer="Juan RP " +checksum=4657d680ef2648d1068cd2b5a8cc42254c1f1119aca4db8f679b78e363bd88f6 +long_desc=" + GtkSourceView is a text widget that extends the standard gtk+ 2.x text + widget GtkTextView. It improves GtkTextView by implementing syntax + highlighting and other features typical of a source editor." + +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 build pkg-config +Add_dependency build intltool +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 libxml2-devel diff --git a/xbps-src/common/mapping_shlib_binpkg.txt b/xbps-src/common/mapping_shlib_binpkg.txt index a7fe39b10fa..c296bba86db 100644 --- a/xbps-src/common/mapping_shlib_binpkg.txt +++ b/xbps-src/common/mapping_shlib_binpkg.txt @@ -644,3 +644,4 @@ libopen-pal.so openmpi openmpi-devel libopen-rte.so openmpi openmpi-devel libmtp.so libmtp libmtp-devel libelf.so libelf libelf-devel +libgtksourceview-2.0.so gtksourceview gtksourceview-devel