diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-04-20 06:54:37 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-04-20 07:16:47 +0000 |
commit | f7108a52947196e71078ba32ad93ede3b607db1e (patch) | |
tree | b8f048fd8e5668ab0a677deb0f5f931703cb96f0 | |
parent | 443af6fbde8be65de45228a926e021f8be852d39 (diff) | |
download | alpine_aports-f7108a52947196e71078ba32ad93ede3b607db1e.tar.bz2 alpine_aports-f7108a52947196e71078ba32ad93ede3b607db1e.tar.xz alpine_aports-f7108a52947196e71078ba32ad93ede3b607db1e.zip |
main/thunar: upgrade to 1.3.0
-rw-r--r-- | main/thunar/APKBUILD | 36 | ||||
-rw-r--r-- | main/thunar/thunar-sendto-audacious-playlist.desktop | 14 | ||||
-rw-r--r-- | main/thunar/thunar-sendto-bluetooth.desktop | 13 |
3 files changed, 55 insertions, 8 deletions
diff --git a/main/thunar/APKBUILD b/main/thunar/APKBUILD index 3f788af174..c12ffef3c0 100644 --- a/main/thunar/APKBUILD +++ b/main/thunar/APKBUILD | |||
@@ -1,23 +1,29 @@ | |||
1 | # Maintainer: Natanael Copa <ncopa@alpinelinux.org> | 1 | # Maintainer: Natanael Copa <ncopa@alpinelinux.org> |
2 | pkgname=thunar | 2 | pkgname=thunar |
3 | pkgver=1.2.1 | 3 | pkgver=1.3.0 |
4 | pkgrel=0 | 4 | pkgrel=0 |
5 | pkgdesc="File manager for Xfce" | 5 | pkgdesc="File manager for Xfce" |
6 | url="http://thunar.xfce.org" | 6 | url="http://thunar.xfce.org" |
7 | arch="all" | 7 | arch="all" |
8 | license="GPL2 LGPL2" | 8 | license="GPL2 LGPL2" |
9 | subpackages="$pkgname-dev $pkgname-doc" | 9 | subpackages="$pkgname-dev $pkgname-doc" |
10 | depends="desktop-file-utils hicolor-icon-theme" | 10 | depends="desktop-file-utils hicolor-icon-theme shared-mime-info" |
11 | makedepends="libexif-dev xfce4-panel-dev exo-dev pcre-dev udev-dev | 11 | makedepends="libexif-dev xfce4-panel-dev exo-dev pcre-dev udev-dev |
12 | libnotify-dev startup-notification-dev libxfce4ui-dev" | 12 | libnotify-dev startup-notification-dev libxfce4ui-dev dbus-glib-dev" |
13 | install= | 13 | install= |
14 | source="http://archive.xfce.org/src/xfce/thunar/${pkgver%.*}/Thunar-$pkgver.tar.bz2" | 14 | source="http://archive.xfce.org/src/xfce/thunar/${pkgver%.*}/Thunar-$pkgver.tar.bz2 |
15 | thunar-sendto-audacious-playlist.desktop | ||
16 | thunar-sendto-bluetooth.desktop | ||
17 | " | ||
15 | 18 | ||
16 | depends_dev="gtk+-dev glib-dev" | 19 | depends_dev="gtk+-dev glib-dev exo-dev" |
17 | _builddir="$srcdir"/Thunar-$pkgver | 20 | _builddir="$srcdir"/Thunar-$pkgver |
18 | 21 | ||
19 | prepare() { | 22 | prepare() { |
20 | cd "$_builddir" | 23 | cd "$_builddir" |
24 | # fix icon in thunar-sendto-email.desktop | ||
25 | sed -i 's!internet-mail!mail-message-new!' \ | ||
26 | plugins/thunar-sendto-email/thunar-sendto-email.desktop.in.in | ||
21 | } | 27 | } |
22 | 28 | ||
23 | build() { | 29 | build() { |
@@ -28,14 +34,28 @@ build() { | |||
28 | --localstatedir=/var \ | 34 | --localstatedir=/var \ |
29 | --disable-static \ | 35 | --disable-static \ |
30 | --enable-exif \ | 36 | --enable-exif \ |
31 | --enable-pcre | 37 | --enable-pcre \ |
38 | --enable-dbus \ | ||
39 | || return 1 | ||
32 | make || return 1 | 40 | make || return 1 |
33 | } | 41 | } |
34 | 42 | ||
35 | package() { | 43 | package() { |
36 | cd "$_builddir" | 44 | cd "$_builddir" |
45 | local f | ||
37 | make DESTDIR="$pkgdir" install || return 1 | 46 | make DESTDIR="$pkgdir" install || return 1 |
38 | sed -i 's:x-directory/gnome-default-handler;::' "$pkgdir"/usr/share/applications/Thunar-folder-handler.desktop | 47 | sed -i -e 's:x-directory/gnome-default-handler;::' \ |
48 | "$pkgdir"/usr/share/applications/Thunar-folder-handler.desktop | ||
49 | for f in $source; do | ||
50 | case $f in | ||
51 | thunar-sendto*.desktop) | ||
52 | install -m644 "$srcdir"/$f \ | ||
53 | "$pkgdir"/usr/share/Thunar/sendto/ || return 1 | ||
54 | ;; | ||
55 | esac | ||
56 | done | ||
39 | } | 57 | } |
40 | 58 | ||
41 | md5sums="d8dce796890619d67aed0cd7ef84c7b1 Thunar-1.2.1.tar.bz2" | 59 | md5sums="ab6f728384c0d925b40afae2f41268f3 Thunar-1.3.0.tar.bz2 |
60 | 5a1e2ed692f3f95113339f5646f83af3 thunar-sendto-audacious-playlist.desktop | ||
61 | 1131368b7360a0132d5b36ff2cae898a thunar-sendto-bluetooth.desktop" | ||
diff --git a/main/thunar/thunar-sendto-audacious-playlist.desktop b/main/thunar/thunar-sendto-audacious-playlist.desktop new file mode 100644 index 0000000000..97f9853180 --- /dev/null +++ b/main/thunar/thunar-sendto-audacious-playlist.desktop | |||
@@ -0,0 +1,14 @@ | |||
1 | [Desktop Entry] | ||
2 | Version=1.0 | ||
3 | Name=Audacious Playlist | ||
4 | Name[de]=Audacious Wiedergabeliste | ||
5 | GenericName=Audio Playlist | ||
6 | GenericName[de]= Wiedergabeliste | ||
7 | Comment=Enque files to playlist | ||
8 | Comment[de]=Dateien zur Wiedergabeliste hinzufügen | ||
9 | Exec=audacious -e %F | ||
10 | TryExec=audacious | ||
11 | Icon=audacious | ||
12 | MimeType=audio/prs.sid;audio/x-flac;audio/x-it;audio/x-mod;audio/x-ms-wma;audio/x-musepack;audio/x-s3m;audio/x-stm;audio/x-xm;application/ogg;audio/x-vorbis+ogg;inode/directory; | ||
13 | Terminal=false | ||
14 | Type=Application | ||
diff --git a/main/thunar/thunar-sendto-bluetooth.desktop b/main/thunar/thunar-sendto-bluetooth.desktop new file mode 100644 index 0000000000..98899f69ab --- /dev/null +++ b/main/thunar/thunar-sendto-bluetooth.desktop | |||
@@ -0,0 +1,13 @@ | |||
1 | [Desktop Entry] | ||
2 | Version=1.0 | ||
3 | Name=Bluetooth OBEX Recipient | ||
4 | Name[de]=Bluetooth OBEX Empfänger | ||
5 | GenericName=Bluetooth Recipient | ||
6 | GenericName[de]=Bluetooth Empfänger | ||
7 | Comment=Send selected files via Bluetooth | ||
8 | Comment[de]=Ausgewählte Dateien per Bluetooth senden | ||
9 | Exec=bluetooth-sendto %F | ||
10 | TryExec=bluetooth-sendto | ||
11 | Icon=bluetooth | ||
12 | Terminal=false | ||
13 | Type=Application | ||