libfm: new package

[Thomas:
  - switch from 'select BR2_PACKAGE_XORG7' to 'depends on
    BR2_PACKAGE_XORG7' as suggested by Yann E. Morin.
  - add LGPLv2.1+ in the list of licenses as well as a corresponding
    license file, as suggested by Yann E. Morin.]

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Vicente Olivert Riera 2014-11-21 15:33:09 +00:00 committed by Thomas Petazzoni
parent 91489ddc48
commit 1b43e91af3
4 changed files with 46 additions and 0 deletions

View File

@ -786,6 +786,7 @@ menu "Graphics"
source "package/libdri2/Config.in"
source "package/libdrm/Config.in"
source "package/libexif/Config.in"
source "package/libfm/Config.in"
source "package/libfm-extra/Config.in"
source "package/libfreeimage/Config.in"
source "package/libgail/Config.in"

28
package/libfm/Config.in Normal file
View File

@ -0,0 +1,28 @@
config BR2_PACKAGE_LIBFM
bool "libfm"
select BR2_PACKAGE_MENU_CACHE
select BR2_PACKAGE_LIBGLIB2
select BR2_PACKAGE_LIBGTK2
select BR2_PACKAGE_CAIRO
depends on BR2_PACKAGE_XORG7
depends on BR2_USE_WCHAR # libglib2
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
depends on BR2_USE_MMU # libglib2
depends on BR2_INSTALL_LIBSTDCPP # libgtk2
depends on BR2_ARCH_HAS_ATOMICS # libgtk2
help
A glib/gio-based library providing some file management
utilities and related-widgets missing in gtk+/glib. This is
the core of PCManFM. The library is desktop independent
(not LXDE specific) and has clean API. It can be used to
develop other applications requiring file management
functionality. For example, you can create your own file
manager with facilities provided by libfm.
http://wiki.lxde.org/en/Libfm
comment "libfm needs X.org and a toolchain w/ wchar, threads, C++"
depends on BR2_USE_MMU
depends on BR2_ARCH_HAS_ATOMICS
depends on !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP || \
!BR2_TOOLCHAIN_HAS_THREADS || !BR2_PACKAGE_XORG7

2
package/libfm/libfm.hash Normal file
View File

@ -0,0 +1,2 @@
# From http://blog.lxde.org/?p=1280
sha1 c3f2f34086761d89d6aba549883610084ba00750 libfm-1.2.3.tar.xz

15
package/libfm/libfm.mk Normal file
View File

@ -0,0 +1,15 @@
################################################################################
#
# libfm
#
################################################################################
LIBFM_VERSION = 1.2.3
LIBFM_SOURCE = libfm-$(LIBFM_VERSION).tar.xz
LIBFM_SITE = http://sourceforge.net/projects/pcmanfm/files
LIBFM_DEPENDENCIES = menu-cache libgtk2 libglib2 cairo
LIBFM_LICENSE = GPLv2+, LGPLv2.1+
LIBFM_LICENSE_FILES = COPYING src/extra/fm-xml-file.c
LIBFM_INSTALL_STAGING = YES
$(eval $(autotools-package))