diff --git a/srcpkgs/gucharmap-devel b/srcpkgs/gucharmap-devel new file mode 120000 index 0000000000..cafd15efd5 --- /dev/null +++ b/srcpkgs/gucharmap-devel @@ -0,0 +1 @@ +gucharmap \ No newline at end of file diff --git a/srcpkgs/gucharmap-python b/srcpkgs/gucharmap-python new file mode 120000 index 0000000000..cafd15efd5 --- /dev/null +++ b/srcpkgs/gucharmap-python @@ -0,0 +1 @@ +gucharmap \ No newline at end of file diff --git a/srcpkgs/gucharmap/depends b/srcpkgs/gucharmap/depends new file mode 100644 index 0000000000..071d27b792 --- /dev/null +++ b/srcpkgs/gucharmap/depends @@ -0,0 +1,2 @@ +abi_depends=">=2.30.0" +api_depends="${abi_depends}" diff --git a/srcpkgs/gucharmap/gucharmap-devel.template b/srcpkgs/gucharmap/gucharmap-devel.template new file mode 100644 index 0000000000..d74c5b5c74 --- /dev/null +++ b/srcpkgs/gucharmap/gucharmap-devel.template @@ -0,0 +1,27 @@ +# Template file for 'gucharmap-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 pygtk-devel + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/lib*.so ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib +} diff --git a/srcpkgs/gucharmap/gucharmap-python.template b/srcpkgs/gucharmap/gucharmap-python.template new file mode 100644 index 0000000000..b4f72cd9ed --- /dev/null +++ b/srcpkgs/gucharmap/gucharmap-python.template @@ -0,0 +1,25 @@ +# Template file for 'gucharmap-python'. +# +short_desc="${sourcepkg} - python bindings" +long_desc="${long_desc} + + This package contains the Python bindings." + +Add_dependency run glibc +Add_dependency run python +Add_dependency run atk +Add_dependency run glib +Add_dependency run pango +Add_dependency run cairo +Add_dependency run freetype +Add_dependency run fontconfig +Add_dependency run gtk+ +Add_dependency run pygtk +Add_dependency run gucharmap + +do_install() +{ + mkdir -p ${DESTDIR}/usr/{lib,share} + mv ${SRCPKGDESTDIR}/usr/lib/python* ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/share/pygtk ${DESTDIR}/usr/share +} diff --git a/srcpkgs/gucharmap/template b/srcpkgs/gucharmap/template new file mode 100644 index 0000000000..a5dfb258ab --- /dev/null +++ b/srcpkgs/gucharmap/template @@ -0,0 +1,44 @@ +# Template file for 'gucharmap' +pkgname=gucharmap +version=2.30.0 +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 --enable-python-bindings" +short_desc="GNOME Unicode Charmap" +maintainer="Juan RP " +checksum=4d66007bbf715df7773f212ea6142bdb52f614ff1963c1745fe19f6f9402b577 +long_desc=" + gucharmap is a Unicode/ISO10646 character map and font viewer for the + GNOME platform. It supports anti-aliased, scalable fonts and more." + +gconf_schemas="$pkgname.schemas" +gtk_iconcache_dirs="/usr/share/icons/hicolor" +subpackages="$pkgname-devel $pkgname-python" + +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 GConf + +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 pygtk-devel + +Add_dependency full hicolor-icon-theme +Add_dependency full desktop-file-utils diff --git a/xbps-src/common/mapping_shlib_binpkg.txt b/xbps-src/common/mapping_shlib_binpkg.txt index b1ec31d05e..c514a4a982 100644 --- a/xbps-src/common/mapping_shlib_binpkg.txt +++ b/xbps-src/common/mapping_shlib_binpkg.txt @@ -594,3 +594,4 @@ liblvm2app.so.2 liblvm2app liblvm2app-devel libgdu.so gnome-disk-utility gnome-disk-utility-devel libgdu-gtk.so gnome-disk-utility gnome-disk-utility-devel libcpufreq.so libcpufreq libcpufreq-devel +libgucharmap.so gucharmap gucharmap-devel