diff --git a/common/shlibs b/common/shlibs index 7a025942642..fa1bbe96c3f 100644 --- a/common/shlibs +++ b/common/shlibs @@ -686,7 +686,7 @@ libatkmm-1.6.so.1 atkmm-2.22.1_1 libgtkmm-3.0.so.1 gtkmm-2.99.5_1 libgdkmm-3.0.so.1 gtkmm-2.99.5_1 libgtkmm-4.0.so.0 gtkmm4-4.0.0_1 -libgnome-bluetooth.so.13 gnome-bluetooth-3.12.0_1 +libgnome-bluetooth.so.13 gnome-bluetooth1-3.12.0_1 libsasl2.so.3 libsasl-2.1.26_1 liblber-2.4.so.2 libldap-2.4.21_1 libldap-2.4.so.2 libldap-2.4.21_1 diff --git a/srcpkgs/gnome-bluetooth1-devel b/srcpkgs/gnome-bluetooth1-devel new file mode 120000 index 00000000000..61c3fca4c52 --- /dev/null +++ b/srcpkgs/gnome-bluetooth1-devel @@ -0,0 +1 @@ +gnome-bluetooth1 \ No newline at end of file diff --git a/srcpkgs/gnome-bluetooth1/patches/meson-0.61.patch b/srcpkgs/gnome-bluetooth1/patches/meson-0.61.patch new file mode 100644 index 00000000000..c6962edd4f0 --- /dev/null +++ b/srcpkgs/gnome-bluetooth1/patches/meson-0.61.patch @@ -0,0 +1,25 @@ +From 755fd758f866d3a3f7ca482942beee749f13a91e Mon Sep 17 00:00:00 2001 +From: Bastien Nocera +Date: Fri, 7 Jan 2022 12:51:22 +0100 +Subject: [PATCH] build: Fix build for newer versions of meson + +sendto/meson.build:24:5: ERROR: Function does not take positional arguments. +--- + sendto/meson.build | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/sendto/meson.build b/sendto/meson.build +index 24a4e394..3e233a03 100644 +--- a/sendto/meson.build ++++ b/sendto/meson.build +@@ -22,7 +22,6 @@ desktop_in = configure_file( + ) + + i18n.merge_file ( +- desktop, + type: 'desktop', + input: desktop_in, + output: desktop, +-- +GitLab + diff --git a/srcpkgs/gnome-bluetooth1/template b/srcpkgs/gnome-bluetooth1/template new file mode 100644 index 00000000000..a7eb602dcb2 --- /dev/null +++ b/srcpkgs/gnome-bluetooth1/template @@ -0,0 +1,42 @@ +# Template file for 'gnome-bluetooth1' +pkgname=gnome-bluetooth1 +version=3.34.5 +revision=1 +wrksrc="gnome-bluetooth-${version}" +build_helper="gir" +build_style=meson +configure_args="-Dgtk_doc=false -Dintrospection=$(vopt_if gir true false)" +hostmakedepends="pkg-config gettext itstool $(vopt_if gir gobject-introspection) glib-devel" +makedepends="libXi-devel gtk+3-devel libnotify-devel dconf-devel + gvfs-devel bluez eudev-libudev-devel libcanberra-devel" +depends="bluez>=5 dconf>=0.20 gvfs>=1.20 hicolor-icon-theme desktop-file-utils" +checkdepends="python3-dbus" +short_desc="GNOME Bluetooth Subsystem" +maintainer="Enno Boland " +license="GPL-2.0-or-later, LGPL-2.1-or-later" +homepage="https://wiki.gnome.org/Projects/GnomeBluetooth" +distfiles="${GNOME_SITE}/gnome-bluetooth/${version%.*}/gnome-bluetooth-${version}.tar.xz" +checksum=6c949e52c8becc2054daacd604901f66ce5cf709a5fa91c4bb7cacc939b53ea9 + +build_options="gir" +build_options_default="gir" + +post_install() { + # conflicts with gnome-bluetooth + rm ${DESTDIR}/usr/bin/bluetooth-sendto + rm ${DESTDIR}/usr/share/applications/bluetooth-sendto.desktop + rm ${DESTDIR}/usr/share/man/man1/bluetooth-sendto.1 +} + +gnome-bluetooth1-devel_package() { + depends="glib-devel gtk+3-devel ${sourcepkg}>=${version}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.so" + if [ "$build_option_gir" ]; then + vmove usr/share/gir-1.0 + fi + } +} diff --git a/srcpkgs/gnome-bluetooth1/update b/srcpkgs/gnome-bluetooth1/update new file mode 100644 index 00000000000..6b527006d24 --- /dev/null +++ b/srcpkgs/gnome-bluetooth1/update @@ -0,0 +1,2 @@ +pkgname="gnome-bluetooth" +pattern="\Q$pkgname\E-\K3\.[0-9.]*[0-9](?=)"