diff options
Diffstat (limited to 'community')
-rw-r--r-- | community/apper/PKGBUILD | 42 | ||||
-rw-r--r-- | community/apper/apper.install | 29 | ||||
-rw-r--r-- | community/deadbeef/PKGBUILD | 17 | ||||
-rw-r--r-- | community/gdesklets/PKGBUILD | 48 | ||||
-rw-r--r-- | community/gdesklets/fix-vfs.patch | 11 | ||||
-rw-r--r-- | community/gdesklets/gdesklets-core-0.36.3-.in-files.patch | 149 | ||||
-rw-r--r-- | community/gdesklets/gdesklets.install | 13 | ||||
-rw-r--r-- | community/gdesklets/make-gconf-optional.patch | 36 | ||||
-rw-r--r-- | community/gnac/PKGBUILD | 33 | ||||
-rw-r--r-- | community/gnac/gnac.install | 13 | ||||
-rw-r--r-- | community/gupnp-dlna/PKGBUILD | 29 | ||||
-rw-r--r-- | community/rygel/PKGBUILD | 36 | ||||
-rw-r--r-- | community/rygel/rygel.install | 11 | ||||
-rw-r--r-- | community/spring/PKGBUILD | 9 | ||||
-rw-r--r-- | community/uget/PKGBUILD | 33 | ||||
-rw-r--r-- | community/uget/uget.install | 11 | ||||
-rw-r--r-- | community/xwax/PKGBUILD | 10 |
17 files changed, 509 insertions, 21 deletions
diff --git a/community/apper/PKGBUILD b/community/apper/PKGBUILD new file mode 100644 index 000000000..e7605e4bb --- /dev/null +++ b/community/apper/PKGBUILD @@ -0,0 +1,42 @@ +# $Id: PKGBUILD 68404 2012-03-24 09:35:57Z idevolder $ +# Maintainer: BlackIkeEagle < ike DOT devolder AT gmail DOT com > +# Contributor: Valeriy Lyasotskiy <onestep@ukr.net> +# Contributor: Zom <zom@eevul.org> + +pkgname=apper +_pkgmainver=0.7 +pkgver=0.7.1 +pkgrel=6 +pkgdesc="KDE tools for PackageKit" +arch=('i686' 'x86_64') +url="http://kde-apps.org/content/show.php/Apper?content=84745" +license=('GPL') +depends=('kdebase-workspace' 'packagekit-qt2>=0.6.17') +makedepends=('cmake' 'automoc4' 'chrpath') +install="$pkgname.install" +provides=('kpackagekit') +conflicts=('kpackagekit') +replaces=('kpackagekit') +source=("https://launchpad.net/$pkgname/$_pkgmainver/$pkgver/+download/$pkgname-$pkgver.tar.bz2") +sha256sums=('d604e766c788ed26d5e352b7e97477ba58d6fe9e41db0c2649a2a39460bcab98') + +build() { + cd "$pkgname-$pkgver" + [ -d "build" ] && rm -rf build + mkdir build + cd build + + cmake ../ \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd "$pkgname-$pkgver" + cd build + make DESTDIR="$pkgdir" install + # Hack around cmake rpath bug (debian) + chrpath --list "$pkgdir/usr/bin/apper" + chrpath --replace "/usr/lib/apper" "$pkgdir/usr/bin/apper" +} diff --git a/community/apper/apper.install b/community/apper/apper.install new file mode 100644 index 000000000..9837f1937 --- /dev/null +++ b/community/apper/apper.install @@ -0,0 +1,29 @@ +available() { + which "$1" >/dev/null 2>&1 +} + +updatemime() { + # Setup Menus + if available update-desktop-database + then + update-desktop-database -q /usr/share/applications + fi + + # Setup MIME types + if available update-mime-database + then + update-mime-database /usr/share/mime >/dev/null + fi +} + +post_install() { + updatemime +} + +post_upgrade() { + updatemime +} + +post_remove() { + updatemime +} diff --git a/community/deadbeef/PKGBUILD b/community/deadbeef/PKGBUILD index 138521a50..0346592a0 100644 --- a/community/deadbeef/PKGBUILD +++ b/community/deadbeef/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 66292 2012-02-23 13:43:57Z allan $ +# $Id: PKGBUILD 68423 2012-03-24 13:07:55Z lfleischer $ # Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> # Contributor: Alexey Yakovenko <waker@users.sourceforge.net> pkgname=deadbeef -pkgver=0.5.1 -pkgrel=5 +pkgver=0.5.2 +pkgrel=1 pkgdesc='An audio player for GNU/Linux based on GTK2.' arch=('i686' 'x86_64' 'mips64el') url='http://deadbeef.sourceforge.net' @@ -32,19 +32,12 @@ optdepends=('libsamplerate: for Resampler plugin' 'libzip: for vfs_zip plugin') options=('!libtool') install='deadbeef.install' -source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}-${pkgver}.tar.bz2" - 'deadbeef-0.5.1-ffmpeg-AV_VERSION_INT.patch' - 'deadbeef-0.5.1-ffmpeg-version-check-fix.patch') -md5sums=('be8359d1bd9cf7679cf2ca748996e726' - 'd1c913c0ccefef33012732cf0ae49f7f' - '6d22855f61f4d2fea4b343dca76d5e85') +source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}-${pkgver}.tar.bz2") +md5sums=('0810c1b609b6c1ca43578ebf321fdec4') build() { cd "${srcdir}/${pkgname}-${pkgver}" - patch -Np1 -i ../deadbeef-0.5.1-ffmpeg-AV_VERSION_INT.patch - patch -Np1 -i ../deadbeef-0.5.1-ffmpeg-version-check-fix.patch - ./configure --prefix=/usr make } diff --git a/community/gdesklets/PKGBUILD b/community/gdesklets/PKGBUILD new file mode 100644 index 000000000..197781d7c --- /dev/null +++ b/community/gdesklets/PKGBUILD @@ -0,0 +1,48 @@ +# $Id: PKGBUILD 68406 2012-03-24 09:48:30Z bgyorgy $ +# Maintainer: Balló György <ballogyor+arch at gmail dot com> +# Contributor: nifan <carlos@nifan.tk> +# Contributor: Roman Kyrylych <roman@archlinux.org> + +pkgname=gdesklets +pkgver=0.36.3 +pkgrel=4 +pkgdesc="System for bringing mini programs (desklets) onto your desktop" +arch=('i686' 'x86_64') +url="http://gdesklets.de/" +license=('GPL') +depends=('libgtop' 'librsvg' 'pygtk' 'desktop-file-utils' 'gnome-icon-theme' 'xdg-utils') +makedepends=('gnome-python' 'intltool') +options=(!libtool) +install=$pkgname.install +source=(http://gdesklets.de/files/$pkgname-$pkgver.tar.bz2 + gdesklets-core-0.36.3-.in-files.patch + fix-vfs.patch + make-gconf-optional.patch) +md5sums=('60c0c4e7301b3e653702b6fe5bf7e698' + '27839bbefc2f6664ff31cff2d48dfeed' + '55ac07d16a571f29033495307c4d0f0c' + '45e81dd0fb20157bb840d006c3a4e2ea') + +build() { + cd "$srcdir/$pkgname-$pkgver" + patch -Np0 -i "$srcdir/gdesklets-core-0.36.3-.in-files.patch" + patch -Np1 -i "$srcdir/fix-vfs.patch" + # https://code.launchpad.net/~ballogy/gdesklets/optional-use-gconf-appindicator/+merge/95809 + patch -Np1 -i "$srcdir/make-gconf-optional.patch" + + find . -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@' + sed -i 's/python -c/$PYTHON -c/' configure.ac + sed -i 's/python/python2/' shell/plugins/PackageInstaller/__init__.py + + autoreconf -fi + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --disable-static \ + PYTHON=python2 + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir/" install +} diff --git a/community/gdesklets/fix-vfs.patch b/community/gdesklets/fix-vfs.patch new file mode 100644 index 000000000..34f51f5f6 --- /dev/null +++ b/community/gdesklets/fix-vfs.patch @@ -0,0 +1,11 @@ +diff -Naur gdesklets-0.36.3.orig/utils/vfs.py gdesklets-0.36.3/utils/vfs.py +--- gdesklets-0.36.3.orig/utils/vfs.py 2008-03-20 00:00:59.000000000 +0100 ++++ gdesklets-0.36.3/utils/vfs.py 2012-01-10 03:40:42.026593299 +0100 +@@ -21,7 +21,6 @@ + OPEN_WRITE = gnomevfs.OPEN_WRITE + + except ImportError: +- log("Using urllib, because gnomevfs isn't available") + OPEN_READ = "r" + OPEN_WRITE = "w" + diff --git a/community/gdesklets/gdesklets-core-0.36.3-.in-files.patch b/community/gdesklets/gdesklets-core-0.36.3-.in-files.patch new file mode 100644 index 000000000..fc8753e46 --- /dev/null +++ b/community/gdesklets/gdesklets-core-0.36.3-.in-files.patch @@ -0,0 +1,149 @@ +=== modified file 'Makefile.am' +--- Makefile.am 2010-12-14 10:24:59 +0000 ++++ Makefile.am 2011-01-31 01:20:58 +0000 +@@ -11,8 +11,12 @@ + autostartdir = $(sysconfdir)/xdg/autostart + sharedmimepackagedir = $(datadir)/mime/packages + mimeicondir = $(datadir)/icons/gnome/48x48/mimetypes ++pixmapdir = $(datadir)/pixmaps + basicdeskletsdir = ${installdir} + ++# initialize this so we can add to it later ++nobase_dist_install_DATA = ++ + include Makefile_gdesklets.am + include Makefile_python.am + + +=== modified file 'Makefile_gdesklets.am' +--- Makefile_gdesklets.am 2011-01-06 11:01:06 +0000 ++++ Makefile_gdesklets.am 2011-01-31 01:20:58 +0000 +@@ -1,12 +1,14 @@ + # Set the LDFLAGS for this section + AM_LDFLAGS = -module -avoid-version -as-needed + ++# Libraries that get installed in these exact subdirectories + nobase_install_LTLIBRARIES = \ + libdesklets/system/gtop.la \ + utils/svg.la \ + utils/tiling.la \ + utils/x11.la + ++# Scripts that get distributed and installed + dist_install_SCRIPTS = \ + ctrlinfo \ + gdesklets \ +@@ -16,38 +18,62 @@ + gdesklets-shell \ + test-control.py + ++# "System" scripts that get distributed but not installed + dist_noinst_SCRIPTS = autogen.sh + ++# Man page + dist_man_MANS = doc/man/gdesklets.1 + +-EXTRA_DIST = \ +- AUTHORS \ +- COPYING \ +- README \ +- TODO \ +- NEWS \ +- contrib/bash/gdesklets +- ++# The .desktop file ++desktop_in_files = data/gdesklets.desktop.in ++# The shared mime XML file ++sharedmimepackage_in_files = data/gdesklets.xml.in ++ ++# Other odds and ends that get distributed, but not installed ++# It's up to distro package maintainers to install these ++EXTRA_DIST = \ ++ AUTHORS \ ++ COPYING \ ++ README \ ++ TODO \ ++ NEWS \ ++ contrib/bash/gdesklets \ ++ $(desktop_in_files) \ ++ $(sharedmimepackage_in_files) ++ ++# Docs and images that get distributed and installed to these specific ++# directories ++nobase_dist_install_DATA += \ ++ doc/basic/gdesklets-doc.xml \ ++ doc/basic/Images/desklet-context-menu.png \ ++ doc/basic/Images/desklet-start-shell.png \ ++ doc/basic/Images/gdesklets.png \ ++ doc/basic/Images/open-command.png \ ++ doc/basic/Images/preferences.png \ ++ doc/basic/Images/profile.png \ ++ doc/basic/Images/remote.png \ ++ doc/basic/Images/shell.png \ ++ data/about.png \ ++ data/gdesklets.png ++ ++# Additional files that get cleaned by distclean + # See http://www.gnu.org/software/hello/manual/automake/Clean.html + CLEANFILES = \ + po/.intltool-merge-cache + + # The .desktop file +-desktop_in_files = data/gdesklets.desktop.in +-dist_desktop_DATA= $(desktop_in_files) + desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) + autostart_DATA = $(desktop_in_files:.desktop.in=.desktop) + @INTLTOOL_DESKTOP_RULE@ + + # The shared mime XML file +-sharedmimepackage_in_files = data/gdesklets.xml.in +-dist_sharedmimepackage_DATA = $(sharedmimepackage_in_files) + sharedmimepackage_DATA = $(sharedmimepackage_in_files:.xml.in=.xml) + @INTLTOOL_XML_RULE@ + + # And the mime icon +-mimeicon_DATA = data/gnome-mime-application-x-gdesklets-display.png ++dist_mimeicon_DATA = data/gnome-mime-application-x-gdesklets-display.png + ++# Note, this gets installed in both $(pixmapdir) and $(installdir) + pixmap_DATA = data/gdesklets.png + + libdesklets_system_gtop_la_CFLAGS = $(GLIBTOP_CFLAGS) \ + +=== modified file 'Makefile_python.am' +--- Makefile_python.am 2010-12-14 10:24:59 +0000 ++++ Makefile_python.am 2011-01-31 01:20:58 +0000 +@@ -1,4 +1,4 @@ +-nobase_dist_install_DATA = \ ++nobase_dist_install_DATA += \ + Controls/__init__.py \ + Controls/ArrayBuffer/__init__.py \ + Controls/ArrayBuffer/IArrayBuffer.py \ +@@ -48,21 +48,6 @@ + config/DisplayConfigger.py \ + config/StateSaver.py \ + config/settings.py \ +- data/about.png \ +- data/calendar.png \ +- data/gdesklets.desktop \ +- data/gdesklets.png \ +- data/gdesklets.xml \ +- data/gnome-mime-application-x-gdesklets-display.png \ +- doc/basic/gdesklets-doc.xml \ +- doc/basic/Images/desklet-context-menu.png \ +- doc/basic/Images/desklet-start-shell.png \ +- doc/basic/Images/gdesklets.png \ +- doc/basic/Images/open-command.png \ +- doc/basic/Images/preferences.png \ +- doc/basic/Images/profile.png \ +- doc/basic/Images/remote.png \ +- doc/basic/Images/shell.png \ + display/__init__.py \ + display/ContainerTarget.py \ + display/DataTarget.py \ +@@ -212,4 +197,3 @@ + utils/typeconverter.py \ + utils/vfs.py \ + utils/xdr.py +- + diff --git a/community/gdesklets/gdesklets.install b/community/gdesklets/gdesklets.install new file mode 100644 index 000000000..9ba94ee6b --- /dev/null +++ b/community/gdesklets/gdesklets.install @@ -0,0 +1,13 @@ +post_install() { + update-desktop-database -q + update-mime-database usr/share/mime &> /dev/null + xdg-icon-resource forceupdate --theme gnome +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} diff --git a/community/gdesklets/make-gconf-optional.patch b/community/gdesklets/make-gconf-optional.patch new file mode 100644 index 000000000..8a9e9c2b8 --- /dev/null +++ b/community/gdesklets/make-gconf-optional.patch @@ -0,0 +1,36 @@ +diff -Naur gdesklets-0.36.3.orig/shell/plugins/PackageInstaller/Downloader.py gdesklets-0.36.3/shell/plugins/PackageInstaller/Downloader.py +--- gdesklets-0.36.3.orig/shell/plugins/PackageInstaller/Downloader.py 2008-03-20 00:00:58.000000000 +0100 ++++ gdesklets-0.36.3/shell/plugins/PackageInstaller/Downloader.py 2012-01-10 02:58:26.451869752 +0100 +@@ -61,16 +61,22 @@ + + dest_fd = open(dest, "w") + +- import gconf +- client = gconf.client_get_default() +- use_proxy = client.get_bool('/system/http_proxy/use_http_proxy') +- if (use_proxy != 0): +- host = client.get_string('/system/http_proxy/host') +- port = client.get_int('/system/http_proxy/port') +- if (host != ""): +- http_proxy = "http://" + host + ':' + str(port) +- else: +- http_proxy = None ++ try: ++ import gconf ++ except ImportError: ++ gconf = None ++ if gconf: ++ client = gconf.client_get_default() ++ use_proxy = client.get_bool('/system/http_proxy/use_http_proxy') ++ if (use_proxy != 0): ++ host = client.get_string('/system/http_proxy/host') ++ port = client.get_int('/system/http_proxy/port') ++ if (host != ""): ++ http_proxy = "http://" + host + ':' + str(port) ++ else: ++ http_proxy = None ++ else: ++ http_proxy = None + else: + http_proxy = None + diff --git a/community/gnac/PKGBUILD b/community/gnac/PKGBUILD new file mode 100644 index 000000000..9abd3206f --- /dev/null +++ b/community/gnac/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 68399 2012-03-24 07:12:29Z bgyorgy $ +# Maintainer: Balló György <ballogyor+arch at gmail dot com> + +pkgname=gnac +pkgver=0.2.4 +pkgrel=2 +pkgdesc="Audio converter for GNOME" +arch=('i686' 'x86_64') +url="http://gnac.sourceforge.net/" +license=('GPL') +depends=('libnotify' 'libunique3' 'gstreamer0.10-base-plugins' 'dconf' 'desktop-file-utils' 'hicolor-icon-theme' 'xdg-utils') +makedepends=('intltool' 'gnome-doc-utils') +optdepends=('gstreamer0.10-good-plugins: Extra media codecs' + 'gstreamer0.10-bad-plugins: Extra media codecs' + 'gstreamer0.10-ugly-plugins: Extra media codecs' + 'gstreamer0.10-ffmpeg: Extra media codecs') +install=$pkgname.install +source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2) +md5sums=('8794871d1abd8c186dd5b01d53f1e62e') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --disable-static --disable-schemas-compile + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir" install +} diff --git a/community/gnac/gnac.install b/community/gnac/gnac.install new file mode 100644 index 000000000..aa4c3e059 --- /dev/null +++ b/community/gnac/gnac.install @@ -0,0 +1,13 @@ +post_install() { + glib-compile-schemas usr/share/glib-2.0/schemas + update-desktop-database -q + xdg-icon-resource forceupdate +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} diff --git a/community/gupnp-dlna/PKGBUILD b/community/gupnp-dlna/PKGBUILD new file mode 100644 index 000000000..cbb30c5ef --- /dev/null +++ b/community/gupnp-dlna/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 68452 2012-03-24 21:52:20Z bgyorgy $ +# Maintainer: Balló György <ballogyor+arch at gmail dot com> + +pkgname=gupnp-dlna +pkgver=0.6.6 +pkgrel=1 +pkgdesc="Library to ease DLNA-related bits for applications using gupnp" +arch=('i686' 'x86_64') +url="http://gupnp.org/" +license=('LGPL') +depends=('gstreamer0.10-base-plugins') +makedepends=('gobject-introspection') +options=('!libtool') +source=(http://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz) +sha256sums=('82a1e75c398379567a5a5db9acd19bd01334b4f0053c8a166a77bc09bf0ca047') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --disable-static + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir/" install +} diff --git a/community/rygel/PKGBUILD b/community/rygel/PKGBUILD new file mode 100644 index 000000000..a8b670950 --- /dev/null +++ b/community/rygel/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 68453 2012-03-24 21:52:58Z bgyorgy $ +# Maintainer: Balló György <ballogyor+arch at gmail dot com> + +pkgname=rygel +pkgver=0.12.7 +pkgrel=2 +pkgdesc="UPnP AV MediaServer and MediaRenderer that allows you to easily share audio, video and pictures, and control of media player on your home network" +arch=('i686' 'x86_64') +url="http://live.gnome.org/Rygel" +license=('LGPL') +depends=('gupnp-av' 'gupnp-dlna' 'libgee' 'gtk3' 'sqlite3' 'hicolor-icon-theme' 'xdg-utils') +makedepends=('vala' 'intltool') +optdepends=('gstreamer0.10-good-plugins: Extra media codecs' + 'gstreamer0.10-bad-plugins: Extra media codecs' + 'gstreamer0.10-ugly-plugins: Extra media codecs' + 'gstreamer0.10-ffmpeg: Extra media codecs' + 'tracker: Share indexed media files') +backup=('etc/rygel.conf') +options=('!libtool') +install=$pkgname.install +source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz) +sha256sums=('e26f642ad6b44fef89d4dfea7c9862c0c77bc38a1b45bb63bb0038a9e4e0854d') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --disable-static + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir/" install +} diff --git a/community/rygel/rygel.install b/community/rygel/rygel.install new file mode 100644 index 000000000..2c455e952 --- /dev/null +++ b/community/rygel/rygel.install @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} diff --git a/community/spring/PKGBUILD b/community/spring/PKGBUILD index 9f9845dd4..af88202b1 100644 --- a/community/spring/PKGBUILD +++ b/community/spring/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 67291 2012-03-07 16:02:37Z svenstaro $ +# $Id: PKGBUILD 68416 2012-03-24 10:22:55Z svenstaro $ # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> # Contributor: Arkham <arkham at archlinux dot us> # Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org> pkgname=spring -pkgver=0.87.0 -_pkgver=87.0 +pkgver=0.88.0 +_pkgver=88.0 pkgrel=1 pkgdesc='A free 3D real-time-strategy (RTS) game engine' arch=('i686' 'x86_64' 'mips64el') @@ -17,7 +17,8 @@ makedepends=('boost' 'cmake' 'zip' 'lzma-utils' 'p7zip' 'python2' 'java-environm optdepends=('python2: python-based bots' 'java-runtime: java-based bots') source=(http://downloads.sourceforge.net/sourceforge/springrts/${pkgname}_${_pkgver}_src.tar.lzma) -md5sums=('8dc5bfbd95a8fbfc41a07808438fa1aa') + +md5sums=('151bf483f1c3b801b4cede6f02d79ea9') build() { bsdtar -xf ${pkgname}_${_pkgver}_src.tar.lzma diff --git a/community/uget/PKGBUILD b/community/uget/PKGBUILD new file mode 100644 index 000000000..01eb6df30 --- /dev/null +++ b/community/uget/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 68396 2012-03-24 05:49:50Z bgyorgy $ +# Maintainer: Balló György <ballogyor+arch at gmail dot com> + +pkgname=uget +pkgver=1.8.0 +pkgrel=3 +pkgdesc="GTK+ download manager featuring download classification and HTML import" +arch=('i686' 'x86_64') +url="http://urlget.sourceforge.net/" +license=('GPL') +depends=('libnotify' 'gtk3' 'gstreamer0.10' 'curl' 'hicolor-icon-theme' 'xdg-utils') +makedepends=('intltool') +optdepends=('aria2: alternative backend') +install=$pkgname.install +source=(http://downloads.sourceforge.net/urlget/$pkgname-$pkgver.tar.gz) +md5sums=('2e0ad66ecdd0104b8fb27b29fdb44df1') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + # Fix aria2 arguments + sed -i 's/\"--enable-xml-rpc\"/"--enable-rpc"/' uget-gtk/UgSetting.c + + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --disable-appindicator --with-gtk3 + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir/" install +} diff --git a/community/uget/uget.install b/community/uget/uget.install new file mode 100644 index 000000000..2c455e952 --- /dev/null +++ b/community/uget/uget.install @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} diff --git a/community/xwax/PKGBUILD b/community/xwax/PKGBUILD index eb5d1ba8c..b5583dc3d 100644 --- a/community/xwax/PKGBUILD +++ b/community/xwax/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 63352 2012-01-30 22:33:32Z lfleischer $ +# $Id: PKGBUILD 68434 2012-03-24 14:05:02Z lfleischer $ # Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> # Contributor: sputnick <gilles DOT quenot AT gmail DOT com> pkgname=xwax -pkgver=1.1 +pkgver=1.2 pkgrel=1 pkgdesc='Open-source vinyl emulation software for Linux.' arch=('i686' 'x86_64' 'mips64el') @@ -14,15 +14,15 @@ optdepends=('cdparanoia: for CD import' 'mpg123: for MP3 import' 'ffmpeg: for video fallback import') source=("http://www.xwax.co.uk/releases/${pkgname}-${pkgver}.tar.gz") -md5sums=('17649401ee16a91f56c1cdc8995a752a') +md5sums=('3be17f0021a791b52c7d097c6a686722') build() { cd "${srcdir}/${pkgname}-${pkgver}" - # Patch "rig.c" to use Arch Linux's default rtprio value + # patch "rig.c" to use Arch Linux's default rtprio value sed -i 's/^#define REALTIME_PRIORITY 80/#define REALTIME_PRIORITY 65/' rig.c - # Patch installation path for "xwax-scan" and "xwax-import" + # patch installation path for "xwax-scan" and "xwax-import" sed -i "s#^EXECDIR = \$(PREFIX)/libexec#EXECDIR = \$(PREFIX)/share/${pkgname}#" Makefile ./configure --enable-alsa --prefix /usr |