tint2: update to 0.12.2
This commit is contained in:
parent
bc0765a7b7
commit
1fb3dda9f1
2 changed files with 7 additions and 24 deletions
|
@ -1,18 +0,0 @@
|
|||
--- src/battery/battery.c 2010-12-02 23:56:11.313403140 +0100
|
||||
+++ src/battery/battery.c 2010-12-02 23:57:22.266956142 +0100
|
||||
@@ -184,8 +184,14 @@ void init_battery()
|
||||
}
|
||||
g_free(path2);
|
||||
}
|
||||
- if (path_energy_now && path_energy_full) {
|
||||
+
|
||||
+ path_current_now = g_build_filename(battery_dir, "power_now", NULL);
|
||||
+ if (!g_file_test (path_current_now, G_FILE_TEST_EXISTS)) {
|
||||
+ g_free(path_current_now);
|
||||
path_current_now = g_build_filename(battery_dir, "current_now", NULL);
|
||||
+ }
|
||||
+
|
||||
+ if (path_energy_now && path_energy_full) {
|
||||
path_status = g_build_filename(battery_dir, "status", NULL);
|
||||
|
||||
// check file
|
|
@ -1,14 +1,15 @@
|
|||
# Template file for 'tint2'
|
||||
pkgname=tint2
|
||||
version=0.11
|
||||
revision=5
|
||||
version=0.12.2
|
||||
revision=1
|
||||
build_style=cmake
|
||||
hostmakedepends="cmake pkg-config"
|
||||
makedepends="libXdamage-devel libXcomposite-devel libXinerama-devel libXrandr-devel gtk+-devel imlib2-devel"
|
||||
makedepends="libXdamage-devel libXcomposite-devel libXinerama-devel libXrandr-devel gtk+-devel imlib2-devel librsvg-devel startup-notification-devel"
|
||||
depends="desktop-file-utils"
|
||||
short_desc="A basic, good-looking task manager for WMs"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
license="GPL-2"
|
||||
homepage="http://code.google.com/p/tint2/"
|
||||
distfiles="http://$pkgname.googlecode.com/files/$pkgname-${version}.tar.bz2"
|
||||
checksum=fe106e6a6057d2631abddde9f82d3fd4fb1985c4fb93f10d3886417a9e22471d
|
||||
homepage="https://gitlab.com/o9000/tint2"
|
||||
distfiles="https://gitlab.com/o9000/${pkgname}/repository/archive.tar.gz?ref=${version}>${pkgname}-${version}.tar.gz"
|
||||
checksum=eb4743fde5939bcb644f82ee8a69fa87a7a45f07095aca8a4ba91886260b0113
|
||||
wrksrc=tint2-${version}-dc300c021531f47cca336e15b50adf3b4a9bc9ae
|
||||
|
|
Loading…
Reference in a new issue