mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
95 lines
2.3 KiB
Bash
95 lines
2.3 KiB
Bash
SUMMARY="Core library of PCManFM file manager"
|
|
DESCRIPTION="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."
|
|
HOMEPAGE="https://wiki.lxde.org/en/Libfm/"
|
|
COPYRIGHT="Hong Jen Yee, aka PCMan
|
|
Jürgen Hötzel
|
|
Andriy Grytsenko (LStranger)"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="1"
|
|
SOURCE_URI="https://github.com/lxde/libfm/archive/$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="e65aa86650879fcd6c06983164b95409b92724482191f06472c567cbd8cf5ddd"
|
|
SOURCE_DIR="libfm-$portVersion"
|
|
|
|
ARCHITECTURES="all"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
libVersion="4.1.3"
|
|
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
|
|
|
PROVIDES="
|
|
libfm_extra$secondaryArchSuffix = $portVersion
|
|
lib:libfm_extra$secondaryArchSuffix = $libVersionCompat
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libexif$secondaryArchSuffix
|
|
lib:libgio_2.0$secondaryArchSuffix
|
|
lib:libglib_2.0$secondaryArchSuffix
|
|
lib:libgobject_2.0$secondaryArchSuffix
|
|
lib:libgthread_2.0$secondaryArchSuffix
|
|
lib:libintl$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libfm_extra${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libfm_extra$secondaryArchSuffix = $libVersionCompat
|
|
"
|
|
REQUIRES_devel="
|
|
libfm_extra$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libexif$secondaryArchSuffix
|
|
devel:libglib_2.0$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:gtkdocize
|
|
cmd:intltoolize
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
cmd:vala
|
|
cmd:which
|
|
"
|
|
|
|
defineDebugInfoPackage libfm_extra$secondaryArchSuffix \
|
|
"$libDir"/libfm-extra.so.$libVersion
|
|
|
|
BUILD()
|
|
{
|
|
./autogen.sh
|
|
runConfigure ./configure \
|
|
--without-gtk \
|
|
--disable-gtk-doc \
|
|
--with-extra-only \
|
|
--disable-static
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
rm -f $libDir/libfm-extra.la
|
|
|
|
prepareInstalledDevelLibs libfm-extra
|
|
fixPkgconfig
|
|
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make check
|
|
}
|