From a7ca755d5dca8a5610523b0646154e194fe24874 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 14 Oct 2011 17:45:29 +0200 Subject: [PATCH] New package: libfm-0.1.16. --- srcpkgs/libfm-devel | 1 + srcpkgs/libfm/depends | 2 ++ srcpkgs/libfm/libfm-devel.template | 17 +++++++++ .../libfm/patches/fix_configure_error.patch | 11 ++++++ srcpkgs/libfm/template | 35 +++++++++++++++++++ 5 files changed, 66 insertions(+) create mode 120000 srcpkgs/libfm-devel create mode 100644 srcpkgs/libfm/depends create mode 100644 srcpkgs/libfm/libfm-devel.template create mode 100644 srcpkgs/libfm/patches/fix_configure_error.patch create mode 100644 srcpkgs/libfm/template diff --git a/srcpkgs/libfm-devel b/srcpkgs/libfm-devel new file mode 120000 index 00000000000..c9929577f8a --- /dev/null +++ b/srcpkgs/libfm-devel @@ -0,0 +1 @@ +libfm \ No newline at end of file diff --git a/srcpkgs/libfm/depends b/srcpkgs/libfm/depends new file mode 100644 index 00000000000..000d53d92b1 --- /dev/null +++ b/srcpkgs/libfm/depends @@ -0,0 +1,2 @@ +abi_depends=">=0.1.16" +api_depends="${abi_depends}" diff --git a/srcpkgs/libfm/libfm-devel.template b/srcpkgs/libfm/libfm-devel.template new file mode 100644 index 00000000000..9f74c9f73a1 --- /dev/null +++ b/srcpkgs/libfm/libfm-devel.template @@ -0,0 +1,17 @@ +# Template file for 'libfm-devel'. +# +short_desc="${sourcepkg} development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run gtk+-devel +Add_dependency run menu-cache-devel +Add_dependency run libfm + +do_install() +{ + vmove usr/include usr + vmove usr/lib/pkgconfig usr/lib + vmove "usr/lib/*.a" usr/lib +} diff --git a/srcpkgs/libfm/patches/fix_configure_error.patch b/srcpkgs/libfm/patches/fix_configure_error.patch new file mode 100644 index 00000000000..0500bc2f51e --- /dev/null +++ b/srcpkgs/libfm/patches/fix_configure_error.patch @@ -0,0 +1,11 @@ +--- configure.orig 2011-10-14 11:52:37.150473742 +0200 ++++ configure 2011-10-14 11:52:46.191239300 +0200 +@@ -14181,7 +14181,7 @@ cat >>confdefs.h <<_ACEOF + _ACEOF + + +-ac_config_files="$ac_config_files Makefile src/Makefile src/tests/Makefile data/Makefile data/ui/Makefile po/Makefile.in docs/Makefile docs/reference/Makefile docs/reference/libfm/Makefile libfm.pc libfm-gtk.pc" ++ac_config_files="$ac_config_files Makefile src/Makefile src/tests/Makefile data/Makefile data/ui/Makefile po/Makefile.in libfm.pc libfm-gtk.pc" + + + cat >confcache <<\_ACEOF diff --git a/srcpkgs/libfm/template b/srcpkgs/libfm/template new file mode 100644 index 00000000000..d6d8bc08424 --- /dev/null +++ b/srcpkgs/libfm/template @@ -0,0 +1,35 @@ +# Template file for 'libfm' +pkgname=libfm +version=0.1.16 +distfiles="${SOURCEFORGE_SITE}/pcmanfm/$pkgname-$version.tar.gz" +build_style=gnu_configure +short_desc="LXDE GLib/GIO based library" +maintainer="Juan RP " +checksum=ed49365319b941757c155b3790a2adf73f5072227c578d9bcba7329c6f9fcd3b +long_desc=" + libfm is a glib/gio-based lib used to develop file managers providing some + file management utilities." + +subpackages="libfm-devel" + +conf_files=" +/etc/xdg/libfm/libfm.conf +/etc/xdg/libfm/pref-apps.conf" + +Add_dependency run glibc +Add_dependency run glib +Add_dependency run menu-cache +Add_dependency run gtk+ +Add_dependency run atk +Add_dependency run pango +Add_dependency run gdk-pixbuf +Add_dependency run cairo +Add_dependency run freetype +Add_dependency run fontconfig + +Add_dependency build pkg-config +Add_dependency build intltool +Add_dependency build gtk+-devel +Add_dependency build menu-cache-devel + +Add_dependency full desktop-file-utils