1
0
forked from ports/contrib

libfm: fix building

This commit is contained in:
Danny Rawlins 2020-01-05 18:34:19 +11:00
parent 9094bba664
commit a426ce59cd
2 changed files with 10 additions and 5 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3x2gv6Z02/Au+xYiYeepqP0U0ULpc9QLMME+AAnDwyMW7q0C+/ArvJz1DhAa40sSSpwc87k/bSB2AXCEi7V5jAw=
SHA256 (Pkgfile) = 0856c7191801e15ea764f1776ca8378b8b212676caccda829e3372d1b13feea8
RWSagIOpLGJF340aQ43UtPf9vaNLwKmgoxFcOtnDMFn94FFLAENU82aRMfbxRyNIMLFxrUahDpdNyeumNGbNLh4sPBLz4NJZYA4=
SHA256 (Pkgfile) = f00872bcae1f03d78e901557585e8df1888e6ae5c71fc18aec761928ad6dbd79
SHA256 (.footprint) = c42534b3c8a14abbe041cd2b63d3531d84beb600c91b96ddc78fdf05c19a2d9b
SHA256 (libfm-1.3.1.tar.xz) = 96b1244bde41ca0eef0332cfb5c67bb16725dfd102128f3e6f74fadc13a1cfe4

View File

@ -5,16 +5,22 @@
name=libfm
version=1.3.1
release=1
release=2
source=(https://downloads.sourceforge.net/pcmanfm/$name-$version.tar.xz)
build() {
cd $name-$version
# https://github.com/lxde/libfm/issues/35
sed -i 's/create=xarchiver --add-to %F/create=xarchiver --compress %F/' data/archivers.list
autoreconf -fi
./configure \
--prefix=/usr \
--disable-nls \
--sysconfdir=/etc \
--with-gnu-ld \
--disable-nls \
--disable-gtk-doc-html
# https://bugzilla.gnome.org/show_bug.cgi?id=656231
@ -24,7 +30,6 @@ build() {
make DESTDIR=$PKG install
rm -r $PKG/usr/share/locale
#rm -r $PKG/usr/share/gtk-doc
if [[ -h $PKG/usr/include/libfm/libfm-1.0 ]]; then
rm -r $PKG/usr/include/libfm