Update talimat

This commit is contained in:
Aylinux 2018-05-05 16:08:43 +03:00 committed by GitHub
parent 686f883174
commit 976634c5aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 17 additions and 14 deletions

View File

@ -1,25 +1,28 @@
# Tanım: Cinnamon Oturumu
# URL: https://github.com/linuxmint/cinnamon-session
# Paketçi: Cihan_Alkan
# Gerekler: intltool dbus-glib cinnamon-desktop xorg-libsm libcanberra gtk3 tdb
# Gerekler: intltool dbus-glib cinnamon-desktop xorg-libsm libcanberra gtk3 tdb meson xorg-xtrans
# Grup: cinnamon
isim=cinnamon-session
surum=3.6.1
surum=3.8.1
devir=1
kaynak=(https://github.com/linuxmint/$isim/archive/$surum.tar.gz::$isim-$surum.tar.gz)
kaynak=(https://github.com/linuxmint/$isim/archive/$surum.tar.gz::$isim-$surum.tar.gz
https://github.com/linuxmint/${isim}/commit/be5e7380ae69a2620ecf488250ce7e48d51c6338.patch)
derle() {
cd $isim-$surum
CFLAGS="${CFLAGS} -Wno-error=format-nonliteral" ./autogen.sh \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--libexecdir=/usr/lib/cinnamon-session \
--disable-schemas-compile \
--disable-gconf \
--enable-qt57-theme-support
patch -p1 < ../be5e7380ae69a2620ecf488250ce7e48d51c6338.patch
mkdir -p "${SRC}"/${isim}-${surum}/build
cd "${SRC}"/${isim}-${surum}/build
make
make DESTDIR=$PKG install
meson --prefix=/usr \
--libexecdir=lib/${isim} \
--buildtype=plain \
-Dwith-gconf=false \
-Dwith-docbook=false \
..
ninja
DESTDIR="${PKG}" ninja install
}