New package: libindicator-12.10.1

This commit is contained in:
Toyam Cox 2017-06-14 02:42:14 -04:00
parent 65ea9cef2f
commit 8afacb9630
4 changed files with 44 additions and 0 deletions

View file

@ -2770,3 +2770,4 @@ libappstream-glib.so.8 appstream-glib-0.6.13_1
libappstream-builder.so.8 appstream-glib-0.6.13_1
libflatpak.so.0 flatpak-0.9.3_2
libnanomsg.so.5.0.0 nanomsg-1.0.0_2
libindicator3.so.7 libindicator-12.10.1_1

1
srcpkgs/libindicator-devel Symbolic link
View file

@ -0,0 +1 @@
libindicator

View file

@ -0,0 +1,11 @@
--- libindicator/indicator-image-helper.c.bck 2017-06-14 03:46:33.174214553 -0400
+++ libindicator/indicator-image-helper.c 2017-06-14 03:47:00.594494305 -0400
@@ -69,7 +69,7 @@
GdkPixbuf * pixbuf = gdk_pixbuf_new_from_file(icon_filename, &error);
if (icon_info != NULL) {
- gtk_icon_info_free(icon_info);
+ g_object_unref(icon_info);
}
if (pixbuf == NULL) {

View file

@ -0,0 +1,31 @@
# Template file for 'libindicator'
pkgname=libindicator
version=12.10.1
revision=1
build_style=gnu-configure
configure_args="--with-gtk=3"
hostmakedepends="pkg-config glib-devel"
makedepends="garcon gtk+3-devel libglib-devel"
short_desc="Convenient symbols and functions for indicators in the Ayatana project"
maintainer="Toyam Cox <Vaelatern@gmail.com>"
license="GPL-3"
homepage="https://launchpad.net/libindicator"
distfiles="https://launchpad.net/libindicator/${version%.*}/${version}/+download/libindicator-${version}.tar.gz"
checksum=b2d2e44c10313d5c9cd60db455d520f80b36dc39562df079a3f29495e8f9447f
post_configure() {
# Due to laziness, let's just fix the problem here without
# understanding it
sed -i -e 's/-lglib-2.0-lm/-lglib-2.0 -lm/' Makefile */Makefile
}
libindicator-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
vmove usr/lib/*.a
}
}