forked from ports/contrib
libfm: dropped gtk dependency, added vala
This commit is contained in:
parent
707ac5e3fa
commit
abb532e188
@ -76,11 +76,6 @@ drwxr-xr-x root/root usr/include/libfm/
|
||||
-rw-r--r-- root/root usr/include/libfm/fm-utils.h
|
||||
-rw-r--r-- root/root usr/include/libfm/fm.h
|
||||
drwxr-xr-x root/root usr/lib/
|
||||
-rw-r--r-- root/root usr/lib/libfm-gtk.a
|
||||
-rwxr-xr-x root/root usr/lib/libfm-gtk.la
|
||||
lrwxrwxrwx root/root usr/lib/libfm-gtk.so -> libfm-gtk.so.4.1.3
|
||||
lrwxrwxrwx root/root usr/lib/libfm-gtk.so.4 -> libfm-gtk.so.4.1.3
|
||||
-rwxr-xr-x root/root usr/lib/libfm-gtk.so.4.1.3
|
||||
-rw-r--r-- root/root usr/lib/libfm-gtk3.a
|
||||
-rwxr-xr-x root/root usr/lib/libfm-gtk3.la
|
||||
lrwxrwxrwx root/root usr/lib/libfm-gtk3.so -> libfm-gtk3.so.4.1.3
|
||||
@ -100,7 +95,6 @@ drwxr-xr-x root/root usr/lib/libfm/modules/
|
||||
-rwxr-xr-x root/root usr/lib/libfm/modules/vfs-menu.so
|
||||
-rwxr-xr-x root/root usr/lib/libfm/modules/vfs-search.so
|
||||
drwxr-xr-x root/root usr/lib/pkgconfig/
|
||||
-rw-r--r-- root/root usr/lib/pkgconfig/libfm-gtk.pc
|
||||
-rw-r--r-- root/root usr/lib/pkgconfig/libfm-gtk3.pc
|
||||
-rw-r--r-- root/root usr/lib/pkgconfig/libfm.pc
|
||||
drwxr-xr-x root/root usr/share/
|
||||
|
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF3/QNhbGM8xdg9+UpNUXFOGE9roKot9x6nZ1CR6W4dWir9fgq6x4AGtu+nW0kxQbjQlJw/2inSKL8NrQi2813Lg0=
|
||||
SHA256 (Pkgfile) = 1da1ea77348a55681c65531f7dc801111cb4ecc0675f0dd8b3809c3fb98a5b7c
|
||||
SHA256 (.footprint) = fc655dd07430e96baca62c9b582dddd1cb8e0139443ea320f5105b8e1ecb6ca0
|
||||
RWSagIOpLGJF36vNGLX0d7TbmYygknUR/YFiWF8tASIevUJ6uiawgxRDMiiZnYhncpVi4JVdtalK/XFYoWfZhmS0z37QuB4Q7Ak=
|
||||
SHA256 (Pkgfile) = 41a8538865995d1a0768f3256e15a23a5ddc42c3309c13eb6e8c4758882a5c6d
|
||||
SHA256 (.footprint) = 2e17e39f4d006c337e0cfa49aae9cdb2bd76b4fe7397816a93a7db317ba744c9
|
||||
SHA256 (libfm-1.3.2.tar.xz) = a5042630304cf8e5d8cff9d565c6bd546f228b48c960153ed366a34e87cad1e5
|
||||
|
@ -1,31 +1,16 @@
|
||||
# Description: Library for file management.
|
||||
# URL: https://wiki.lxde.org/en/PCManFM
|
||||
# Maintainer: Danny Rawlins, crux at romster dot me
|
||||
# Depends on: gtk gtk3 menu-cache xorg-libxdamage libfm-extra
|
||||
# Optional: dbus-glib gvfs vala libexif
|
||||
# Depends on: gtk3 libfm-extra menu-cache vala xorg-libxdamage
|
||||
# Optional: dbus-glib gtk gvfs libexif
|
||||
|
||||
name=libfm
|
||||
version=1.3.2
|
||||
release=2
|
||||
release=3
|
||||
source=(https://downloads.sourceforge.net/pcmanfm/$name-$version.tar.xz)
|
||||
|
||||
build() {
|
||||
cp -r $name-$version gtk3
|
||||
cp -r $name-$version gtk2
|
||||
|
||||
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
|
||||
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
cp -r $SRC/$name-$version $SRC/gtk3
|
||||
|
||||
cd $SRC/gtk3
|
||||
./configure \
|
||||
@ -39,6 +24,27 @@ build() {
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
|
||||
cd $SRC
|
||||
|
||||
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
|
||||
|
||||
# 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
|
||||
|
||||
rm -r $PKG/usr/share/locale
|
||||
|
||||
rm -r $PKG/usr/include/libfm
|
||||
|
Loading…
x
Reference in New Issue
Block a user