xfce4-hardware-monitor-plugin
This commit is contained in:
parent
c771708f23
commit
f28182da64
|
@ -0,0 +1,20 @@
|
|||
# Description: Libglade için bir C ++ sarmalayıcı.
|
||||
# URL: http://gtkmm.sourceforge.net/
|
||||
# Packager: yasarciv67@gmail.com
|
||||
# Depends on: pkg-config libglade gtkmm
|
||||
|
||||
name=libglademm
|
||||
version=2.6.7
|
||||
release=1
|
||||
source=(https://download.gnome.org/sources/$name/${version%.*}/$name-$version.tar.bz2
|
||||
)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
|
||||
CXXFLAGS+=' -std=c++11'
|
||||
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
|
||||
make
|
||||
make DESTDIR="${PKG}" install
|
||||
|
||||
}
|
|
@ -0,0 +1,21 @@
|
|||
# Description: Libgnomecanvas için bir C ++ sarmalayıcı.
|
||||
# URL: http://www.gtkmm.org/
|
||||
# Packager: yasarciv67@gmail.com
|
||||
# Depends on: pkg-config gtkmm libgnomecanvas
|
||||
|
||||
name=libgnomecanvasmm
|
||||
version=2.26.0
|
||||
release=1
|
||||
source=(https://download.gnome.org/sources/$name/${version%.*}/$name-$version.tar.bz2
|
||||
)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
|
||||
CXXFLAGS+=' -std=c++11'
|
||||
./configure --prefix=/usr --sysconfdir=/etc \
|
||||
--localstatedir=/var
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
|
||||
}
|
|
@ -0,0 +1,22 @@
|
|||
# Description: CPU kullanımı, ağ bant genişliği vb. Izlemenizi sağlayan Xfce4 paneli için eklenti
|
||||
# URL: http://git.xfce.org/panel-plugins/xfce4-hardware-monitor-plugin/
|
||||
# Packager: yasarciv67@gmail.com
|
||||
# Depends on: autoconf-archive intltool xfce4-dev-tools lm-sensors gtkmm libglademm libgnomecanvasmm libgtop xfce4-libui xfce4-panel
|
||||
|
||||
name=xfce4-hardware-monitor-plugin
|
||||
version=1.5.0
|
||||
release=1.
|
||||
source=(https://git.xfce.org/panel-plugins/xfce4-hardware-monitor-plugin/snapshot/$name-$version.tar.bz2)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
sed -i '/c++11/d' configure.ac
|
||||
sed -i '/gnu++11/d' configure.ac
|
||||
sed -i 's/AM_PROG_AR/AM_PROG_AR\nAX_CHECK_COMPILE_FLAG([-std=c++11], [CXXFLAGS="$CXXFLAGS -std=c++11"])/' configure.ac
|
||||
sed -i 's/AM_PROG_AR/AM_PROG_AR\nAX_CHECK_COMPILE_FLAG([-std=gnu++11], [CXXFLAGS="$CXXFLAGS -std=gnu++11"])/' configure.ac
|
||||
./autogen.sh
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
|
||||
}
|
Loading…
Reference in New Issue