mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-31 09:52:57 +02:00
exo: update to 4.18.0.
This commit is contained in:
parent
3593555526
commit
4b97954dcb
2 changed files with 3 additions and 58 deletions
|
@ -1,47 +0,0 @@
|
||||||
--- a/configure.ac
|
|
||||||
+++ b/configure.ac
|
|
||||||
@@ -137,22 +137,29 @@ AC_FUNC_MMAP()
|
|
||||||
dnl ***************************************
|
|
||||||
dnl *** Check for strftime() extensions ***
|
|
||||||
dnl ***************************************
|
|
||||||
-AC_TRY_RUN([
|
|
||||||
- #include <string.h>
|
|
||||||
- #include <time.h>
|
|
||||||
- int
|
|
||||||
- main (int argc, char **argv)
|
|
||||||
- {
|
|
||||||
- struct tm tm;
|
|
||||||
- char buffer[16];
|
|
||||||
- tm.tm_year = 81;
|
|
||||||
- if (strftime (buffer, 16, "%EY", &tm) == 4 && strcmp (buffer, "1981") == 0)
|
|
||||||
- return 0;
|
|
||||||
- return 1;
|
|
||||||
- }
|
|
||||||
-], [
|
|
||||||
+AC_CACHE_CHECK([Define if strftime supports %E and %O modifiers], ac_cv_strftime_extensions,
|
|
||||||
+ [AC_TRY_RUN([
|
|
||||||
+ #include <string.h>
|
|
||||||
+ #include <time.h>
|
|
||||||
+ int
|
|
||||||
+ main (int argc, char **argv)
|
|
||||||
+ {
|
|
||||||
+ struct tm tm;
|
|
||||||
+ char buffer[16];
|
|
||||||
+ tm.tm_year = 81;
|
|
||||||
+ if (strftime (buffer, 16, "%EY", &tm) == 4 && strcmp (buffer, "1981") == 0)
|
|
||||||
+ return 0;
|
|
||||||
+ return 1;
|
|
||||||
+ }
|
|
||||||
+ ],
|
|
||||||
+ ac_cv_strftime_extensions=yes,
|
|
||||||
+ ac_cv_strftime_extensions=no,
|
|
||||||
+ [AC_MSG_ERROR([cross-compiling, preset ac_cv_strftime_extensions=yes/no])]
|
|
||||||
+ )]
|
|
||||||
+)
|
|
||||||
+if test x"$ac_cv_strftime_extensions" = x"yes"; then
|
|
||||||
AC_DEFINE([HAVE_STRFTIME_EXTENSION], 1, [Define if strftime supports %E and %O modifiers.])
|
|
||||||
-])
|
|
||||||
+fi
|
|
||||||
|
|
||||||
dnl ******************************
|
|
||||||
dnl *** Check for i18n support ***
|
|
|
@ -1,10 +1,10 @@
|
||||||
# Template file for 'exo'
|
# Template file for 'exo'
|
||||||
pkgname=exo
|
pkgname=exo
|
||||||
version=4.16.4
|
version=4.18.0
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-static --with-locales-dir=/usr/share/locale"
|
configure_args="--disable-static --with-locales-dir=/usr/share/locale"
|
||||||
hostmakedepends="xfce4-dev-tools pkg-config intltool gettext-devel glib-devel"
|
hostmakedepends="pkg-config intltool gettext glib-devel"
|
||||||
makedepends="gtk+3-devel libxfce4ui-devel"
|
makedepends="gtk+3-devel libxfce4ui-devel"
|
||||||
depends="hicolor-icon-theme desktop-file-utils"
|
depends="hicolor-icon-theme desktop-file-utils"
|
||||||
short_desc="Extension library for the Xfce desktop environment"
|
short_desc="Extension library for the Xfce desktop environment"
|
||||||
|
@ -13,15 +13,7 @@ license="GPL-2.0-or-later, LGPL-2.1-or-later"
|
||||||
homepage="https://docs.xfce.org/xfce/exo/start"
|
homepage="https://docs.xfce.org/xfce/exo/start"
|
||||||
changelog="https://gitlab.xfce.org/xfce/exo/-/raw/master/NEWS"
|
changelog="https://gitlab.xfce.org/xfce/exo/-/raw/master/NEWS"
|
||||||
distfiles="https://archive.xfce.org/src/xfce/exo/${version%.*}/exo-${version}.tar.bz2"
|
distfiles="https://archive.xfce.org/src/xfce/exo/${version%.*}/exo-${version}.tar.bz2"
|
||||||
checksum=82a50c67e78f1e5c420b7615515bcca759b86eeab99224ab8eca4306b89d2eca
|
checksum=4f2c61d045a888cdb64297fd0ae20cc23da9b97ffb82562ed12806ed21da7d55
|
||||||
|
|
||||||
pre_configure() {
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
|
||||||
# Disable tests:
|
|
||||||
sed -i 's/^\([[:blank:]]*po\).*$/\1/;/^[[:blank:]]*tests$/d' Makefile.am
|
|
||||||
fi
|
|
||||||
NOCONFIGURE=1 xdt-autogen
|
|
||||||
}
|
|
||||||
|
|
||||||
exo-devel_package() {
|
exo-devel_package() {
|
||||||
depends="libxfce4ui-devel exo-${version}_${revision}"
|
depends="libxfce4ui-devel exo-${version}_${revision}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue