mousepad: Update to 0.4.0

This commit updates mousepad to version 0.4.0. This
is the first version depending on GTK3.

Signed-off-by: Leo Unglaub <leo@leo-unglaub.net>
This commit is contained in:
Leo Unglaub 2015-03-05 03:47:51 +00:00
parent eca88c489e
commit 450f4453c3
3 changed files with 32 additions and 18 deletions

View File

@ -4,5 +4,6 @@ drwxr-xr-x root/root usr/bin/
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/applications/
-rw-r--r-- root/root usr/share/applications/mousepad.desktop
drwxr-xr-x root/root usr/share/pixmaps/
-rw-r--r-- root/root usr/share/pixmaps/mousepad.png
drwxr-xr-x root/root usr/share/glib-2.0/
drwxr-xr-x root/root usr/share/glib-2.0/schemas/
-rw-r--r-- root/root usr/share/glib-2.0/schemas/org.xfce.mousepad.gschema.xml

View File

@ -1 +1 @@
d98854edb76d823ac20b266fdf5a64a1 mousepad-0.2.16.tar.bz2
f55314c5dda6323883241e6cf01550a7 mousepad-0.4.0.tar.bz2

View File

@ -1,26 +1,39 @@
# Description: Text editor for XFce4
# URL: http://www.xfce.org
# Description: Text editor for Xfce
# URL: http://git.xfce.org/apps/mousepad/
# Maintainer: CRUX Xfce Team, xfce-ports at crux dot nu
# Packager: Juergen Daubert, juergen dot daubert at t-online dot de
# Depends on: libxfcegui4
# Depends on: libxfcegui4 gtksourceview
# Group: xfce4
name=mousepad
version=0.2.16
release=2
version=0.4.0
release=1
source=(http://archive.xfce.org/src/apps/$name/${version%.*}/$name-$version.tar.bz2)
build () {
cd $name-$version
build ()
{
# go into the source directory
cd $SRC/$name-$version
./configure --prefix=/usr \
--disable-static \
--disable-debug
make
make DESTDIR=$PKG install
# configure mousepad
./configure \
--prefix=/usr \
--disable-static \
--disable-debug \
--disable-dbus \
--disable-dependency-tracking \
--disable-nls \
--enable-gtk3
rm -rf $PKG/usr/share/locale
find $PKG/usr/share -type f -name '*.desktop' \
-exec sed -r '/\[.+\]=/d' -i {} \;
# make mousepad
make
make DESTDIR=$PKG install
# cleanup some stuff we dont need
rm -rf $PKG/usr/share/locale
find $PKG/usr/share -type f -name '*.desktop' \
-exec sed -r '/\[.+\]=/d' -i {} \;
}