forked from ports/contrib
libfm: marked unmaintained
This commit is contained in:
parent
8457e9a9ef
commit
113dce36ca
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF36vNGLX0d7TbmYygknUR/YFiWF8tASIevUJ6uiawgxRDMiiZnYhncpVi4JVdtalK/XFYoWfZhmS0z37QuB4Q7Ak=
|
||||
SHA256 (Pkgfile) = 41a8538865995d1a0768f3256e15a23a5ddc42c3309c13eb6e8c4758882a5c6d
|
||||
RWSagIOpLGJF3/k+7GqOowtw/HgltB9K8k65rnCozDrWC4dcdenAVxIN3L8Y15BX5KtOsiBHhp6Cl0yurmkjkwWQzLV1ezRFmwo=
|
||||
SHA256 (Pkgfile) = e5a6caf8b47b4ac046d4f76e117ba075661868cf13af3bd952691d0d77e5ab93
|
||||
SHA256 (.footprint) = 2e17e39f4d006c337e0cfa49aae9cdb2bd76b4fe7397816a93a7db317ba744c9
|
||||
SHA256 (libfm-1.3.2.tar.xz) = a5042630304cf8e5d8cff9d565c6bd546f228b48c960153ed366a34e87cad1e5
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Description: Library for file management.
|
||||
# Description: Library for file management
|
||||
# URL: https://wiki.lxde.org/en/PCManFM
|
||||
# Maintainer: Danny Rawlins, crux at romster dot me
|
||||
# Depends on: gtk3 libfm-extra menu-cache vala xorg-libxdamage
|
||||
# Maintainer: unmaintained
|
||||
# Depends on: gtk3 menu-cache vala
|
||||
# Optional: dbus-glib gtk gvfs libexif
|
||||
|
||||
name=libfm
|
||||
@ -10,48 +10,48 @@ release=3
|
||||
source=(https://downloads.sourceforge.net/pcmanfm/$name-$version.tar.xz)
|
||||
|
||||
build() {
|
||||
cp -r $SRC/$name-$version $SRC/gtk3
|
||||
cp -r $SRC/$name-$version $SRC/gtk3
|
||||
|
||||
cd $SRC/gtk3
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--with-gnu-ld \
|
||||
--disable-nls \
|
||||
--disable-gtk-doc-html \
|
||||
--with-gtk=3
|
||||
cd $SRC/gtk3
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--with-gnu-ld \
|
||||
--disable-nls \
|
||||
--disable-gtk-doc-html \
|
||||
--with-gtk=3
|
||||
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
|
||||
cd $SRC
|
||||
cd $SRC
|
||||
|
||||
if prt-get isinst gtk; then
|
||||
cp -r $SRC/$name-$version $SRC/gtk2
|
||||
if prt-get isinst gtk; then
|
||||
cp -r $SRC/$name-$version $SRC/gtk2
|
||||
|
||||
cd $SRC/gtk2
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--with-gnu-ld \
|
||||
--disable-nls \
|
||||
--disable-gtk-doc-html
|
||||
cd $SRC/gtk2
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--with-gnu-ld \
|
||||
--disable-nls \
|
||||
--disable-gtk-doc-html
|
||||
|
||||
# https://bugzilla.gnome.org/show_bug.cgi?id=656231
|
||||
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
||||
# https://bugzilla.gnome.org/show_bug.cgi?id=656231
|
||||
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
||||
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
cd $SRC
|
||||
fi
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
cd $SRC
|
||||
fi
|
||||
|
||||
rm -r $PKG/usr/share/locale
|
||||
rm -r $PKG/usr/share/locale
|
||||
|
||||
rm -r $PKG/usr/include/libfm
|
||||
mv $PKG/usr/include/libfm-1.0/ $PKG/usr/include/libfm
|
||||
rm -r $PKG/usr/include/libfm
|
||||
mv $PKG/usr/include/libfm-1.0/ $PKG/usr/include/libfm
|
||||
|
||||
# In libfm-extra
|
||||
rm -r $PKG/usr/include/libfm/fm-{extra,version,xml-file}.h \
|
||||
$PKG/usr/lib/libfm-extra.* \
|
||||
$PKG/usr/lib/pkgconfig/libfm-extra.pc
|
||||
# In libfm-extra
|
||||
rm -r $PKG/usr/include/libfm/fm-{extra,version,xml-file}.h \
|
||||
$PKG/usr/lib/libfm-extra.* \
|
||||
$PKG/usr/lib/pkgconfig/libfm-extra.pc
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user