more sysconf

This commit is contained in:
aliriza committed 2023-03-09 06:48:00 +00:00
1 parent 7a66cfed2e
commit 0480ded72b
4 files changed
+26 -4

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
#!/bin/sh
current=$(date +%s -r /usr/share/fonts)
last=$(cat /var/lib/ymp/sysconf/fontconfig/update.date)
if [ "$current" != "$last" ] ; then
fc-cache -f
echo "date +%s -r /usr/share/fonts" > /var/lib/ymp/sysconf/fontconfig/update.date
fi
+6 -2
View File
@@ -7,10 +7,12 @@ description='Fontconfig is a library for configuring and customizing font access
email='bayramk@gmail.com'
maintainer='bk'
license=('GPLv3')
source=("https://www.freedesktop.org/software/fontconfig/release/fontconfig-$version.tar.gz")
source=("https://www.freedesktop.org/software/fontconfig/release/fontconfig-$version.tar.gz"
"fontconfig.sysconf")
depends=(freetype)
makedepends=()
md5sums=('f3b930f329e66915e875b5aa498658ad')
md5sums=('f3b930f329e66915e875b5aa498658ad'
'SKIP')
group=(media.libs)
uses=()
arch=('x86_64')
@@ -35,5 +37,7 @@ package(){
ln -s ../../../usr/share/fontconfig/conf.avail/$link ${DESTDIR}/etc/fonts/conf.d/$link
fi
done
mkdir -p ${DESTDIR}/etc/sysconf.d/
install ../fontconfig.sysconf ${DESTDIR}/etc/sysconf.d/fontconfig
}
+7
View File
@@ -0,0 +1,7 @@
#!/bin/sh
current=$(date +%s -r /usr/lib64/gdk-pixbuf-2.0)
last=$(cat /var/lib/ymp/sysconf/gdk-pixbuf/update.date)
if [ "$current" != "$last" ] ; then
gdk-pixbuf-query-loaders --update-cache
echo "date +%s -r /usr/lib64/gdk-pixbuf-2.0" > /var/lib/ymp/sysconf/gdk-pixbuf/update.date
fi
+6 -2
View File
@@ -7,10 +7,12 @@ description='gdk-pixbuf Image loading library for GTK+ '
email='bayramk@gmail.com'
maintainer='bk'
license=('GPLv3')
source=("https://download.gnome.org/sources/gdk-pixbuf/${version%.*}/gdk-pixbuf-$version.tar.xz")
source=("https://download.gnome.org/sources/gdk-pixbuf/${version%.*}/gdk-pixbuf-$version.tar.xz"
"gdk-pixbuf.sysconf")
depends=(libjpeg-turbo shared-mime-info gi-docgen libtiff)
makedepends=()
md5sums=('4a62f339cb1424693fba9bb7ffef8150')
md5sums=('4a62f339cb1424693fba9bb7ffef8150'
'SKIP')
group=(x11.libs)
uses=()
arch=('x86_64')
@@ -33,5 +35,7 @@ build(){
package(){
ninja -C build install
mkdir -p ${DESTDIR}/etc/sysconf.d/
install ../gdk-pixbuf.sysconf ${DESTDIR}/etc/sysconf.d/gdk-pixbuf
}