summaryrefslogtreecommitdiff
path: root/packages/net-misc/uget/uget-2.2.1.exheres-0
diff options
context:
space:
mode:
authorAvatar Rasmus Thomsen <cogitri@exherbo.org> 2018-08-04 13:32:11 +0200
committerAvatar Rasmus Thomsen <cogitri@exherbo.org> 2018-08-04 13:46:15 +0200
commitc00c85914d868a294fae6ad834ae9a28278435fc (patch)
treefcd0e878a09f5cd7f2ae1ada3ca26971b0e34c7c /packages/net-misc/uget/uget-2.2.1.exheres-0
parent87f39eb0298ae24a48e2e6d8e7d0fed3d792d784 (diff)
downloadcogitri-c00c85914d868a294fae6ad834ae9a28278435fc.tar.gz
cogitri-c00c85914d868a294fae6ad834ae9a28278435fc.tar.xz
uget: version bump to 2.2.1
Diffstat (limited to 'packages/net-misc/uget/uget-2.2.1.exheres-0')
-rw-r--r--packages/net-misc/uget/uget-2.2.1.exheres-063
1 files changed, 63 insertions, 0 deletions
diff --git a/packages/net-misc/uget/uget-2.2.1.exheres-0 b/packages/net-misc/uget/uget-2.2.1.exheres-0
new file mode 100644
index 0000000..1996d16
--- /dev/null
+++ b/packages/net-misc/uget/uget-2.2.1.exheres-0
@@ -0,0 +1,63 @@
+# Copyright 2017-2018 Rasmus Thomsen <Rasmus.thomsen@protonmail.com>
+# Distributed under the terms of the GNU General Public License v2
+
+require sourceforge [ project=urlget suffix=tar.gz ]
+require gtk-icon-cache
+
+SUMMARY="uGet, the Best Download Manager for Linux"
+HOMEPAGE="http://ugetdm.com/"
+
+LICENCES="LGPL-2.1"
+SLOT="0"
+PLATFORMS="~amd64 ~x86"
+
+MYOPTIONS="
+ appindicator [[ description = [ Use AppIndicator for tray icon rather than a standard tray icon ] ]]
+ gstreamer [[ description = [ Enable audio support via gstreamer ] ]]
+ libnotify [[ description = [ Display notifications when downloads are added or finished ] ]]
+ ( providers: gnutls libressl openssl ) [[ number-selected = exactly-one ]]
+"
+
+DEPENDENCIES="
+ build:
+ dev-util/intltool
+ sys-devel/gettext
+ virtual/pkg-config
+ build+run:
+ dev-libs/glib:2[>=2.32]
+ dev-libs/pcre
+ net-misc/curl[>=7.19.1]
+ x11-libs/gtk+:3[>=3.4]
+ appindicator? ( dev-libs/libappindicator:0.1 )
+ gstreamer? ( media-libs/gstreamer:= )
+ libnotify? ( x11-libs/libnotify )
+ providers:gnutls? ( dev-libs/libgcrypt )
+ providers:libressl? ( dev-libs/libressl )
+ providers:openssl? ( dev-libs/openssl )
+"
+
+src_configure() {
+ local myconf=(
+ --enable-rss-notify
+ # Unpackaged dependency
+ --disable-pwmd
+ $(option_enable appindicator)
+ $(option_enable gstreamer)
+ $(option_enable libnotify notify)
+ )
+
+ if option providers:libressl || option providers:openssl; then
+ myconf+=(
+ --with-openssl
+ --without-gnutls
+ )
+ else
+ myconf+=(
+ --with-gnutls
+ --without-openssl
+ )
+ fi
+
+ econf "${myconf[@]}"
+}
+