libfm: switch to gtk+3

This commit is contained in:
teldra 2019-08-11 14:31:06 +02:00 committed by Enno Boland
parent 25ccbad8fc
commit 88eaaa609e
4 changed files with 16 additions and 14 deletions

View file

@ -914,7 +914,7 @@ libgupnp-dlna-1.0.so.2 gupnp-dlna-0.6.1_1
libtracker-common.so libtracker-2.2.0_1 libtracker-common.so libtracker-2.2.0_1
libtracker-data.so libtracker-2.2.0_1 libtracker-data.so libtracker-2.2.0_1
libfm.so.4 libfm-1.2.3_3 libfm.so.4 libfm-1.2.3_3
libfm-gtk.so.4 libfm-gtk-1.2.4_2 libfm-gtk3.so.4 libfm-gtk+3-1.3.1_2
libfm-extra.so.4 libfm-extra-1.2.3_3 libfm-extra.so.4 libfm-extra-1.2.3_3
libunique-1.0.so.0 libunique1-1.1.6_1 libunique-1.0.so.0 libunique1-1.1.6_1
libxnoise.so.0 libxnoise-0.1.29_1 libxnoise.so.0 libxnoise-0.1.29_1

View file

@ -4,12 +4,12 @@
# #
pkgname=libfm pkgname=libfm
version=1.3.1 version=1.3.1
revision=1 revision=2
build_style=gnu-configure build_style=gnu-configure
configure_args="--enable-udisks --disable-static" configure_args="--enable-udisks --disable-static --with-gtk=3"
hostmakedepends="automake gettext-devel glib-devel gtk-doc intltool libtool hostmakedepends="automake gettext-devel glib-devel intltool libtool
pkg-config vala-devel" pkg-config vala-devel"
makedepends="dbus-glib-devel gtk+-devel libexif-devel menu-cache-devel" makedepends="dbus-glib-devel gtk+3-devel libexif-devel menu-cache-devel"
depends="libfm-extra>=${version}" depends="libfm-extra>=${version}"
short_desc="Core library of PCManFM file manager" short_desc="Core library of PCManFM file manager"
maintainer="Juan RP <xtraeme@voidlinux.org>" maintainer="Juan RP <xtraeme@voidlinux.org>"
@ -44,11 +44,12 @@ libfm-devel_package() {
} }
} }
libfm-gtk_package() { libfm-gtk+3_package() {
short_desc+=" - GTK+ library" short_desc+=" - GTK+3 library"
replaces="libfm-gtk>=0"
pkg_install() { pkg_install() {
vmove usr/bin vmove usr/bin
vmove usr/lib/libfm-gtk.so.* vmove usr/lib/libfm-gtk3.so.*
vmove usr/lib/libfm/modules/gtk-*.so vmove usr/lib/libfm/modules/gtk-*.so
vmove usr/share/applications vmove usr/share/applications
vmove usr/share/libfm/images vmove usr/share/libfm/images
@ -57,12 +58,13 @@ libfm-gtk_package() {
} }
} }
libfm-gtk-devel_package() { libfm-gtk+3-devel_package() {
depends="gtk+-devel depends="gtk+3-devel
libfm-devel>=${version}_${revision} libfm-gtk>=${version}_${revision}" libfm-devel>=${version}_${revision} libfm-gtk+3>=${version}_${revision}"
short_desc+=" - GTK+ library (development files)" short_desc+=" - GTK+3 library (development files)"
replaces="libfm-gtk-devel>=0"
pkg_install() { pkg_install() {
vmove usr/lib/libfm-gtk.so vmove usr/lib/libfm-gtk3.so
vmove usr/lib/pkgconfig/libfm-gtk.pc vmove usr/lib/pkgconfig/libfm-gtk3.pc
} }
} }