x11-misc/growl-for-linux: add libressl support
authorAnthony G. Basile <blueness@gentoo.org>
Fri, 4 Dec 2015 09:33:50 +0000 (04:33 -0500)
committerAnthony G. Basile <blueness@gentoo.org>
Fri, 4 Dec 2015 09:50:37 +0000 (04:50 -0500)
Package-Manager: portage-2.2.20.1

x11-misc/growl-for-linux/growl-for-linux-0.6.7-r1.ebuild [new file with mode: 0644]
x11-misc/growl-for-linux/growl-for-linux-0.6.7.ebuild
x11-misc/growl-for-linux/growl-for-linux-9999.ebuild

diff --git a/x11-misc/growl-for-linux/growl-for-linux-0.6.7-r1.ebuild b/x11-misc/growl-for-linux/growl-for-linux-0.6.7-r1.ebuild
new file mode 100644 (file)
index 0000000..69103e2
--- /dev/null
@@ -0,0 +1,42 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+AUTOTOOLS_AUTORECONF=1
+inherit autotools-utils
+
+DESCRIPTION="Growl Implementation For Linux"
+HOMEPAGE="https://mattn.github.com/growl-for-linux/"
+SRC_URI="mirror://github/mattn/growl-for-linux/${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="libressl"
+
+RDEPEND="dev-db/sqlite:3
+       dev-libs/dbus-glib
+       dev-libs/glib:2
+       dev-libs/libxml2
+       !libressl? ( dev-libs/openssl:0 )
+       libressl? ( dev-libs/libressl )
+       net-misc/curl
+       x11-libs/gtk+:2"
+DEPEND="${RDEPEND}
+       virtual/pkgconfig"
+
+DOCS=( AUTHORS ChangeLog NEWS README TODO )
+
+src_configure() {
+       local myeconfargs=(
+               LIBS=-lgthread-2.0
+               --disable-static
+       )
+       autotools-utils_src_configure
+}
+
+src_install() {
+       autotools-utils_src_install
+       prune_libtool_files --modules
+}
index c406ebeeff83a4b32ec41cc8487281b1e5f2ed37..10f7e1ed8c666fab9495e55604e2841dbb9bedad 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -18,7 +18,7 @@ RDEPEND="dev-db/sqlite:3
        dev-libs/dbus-glib
        dev-libs/glib:2
        dev-libs/libxml2
-       dev-libs/openssl
+       dev-libs/openssl:0
        net-misc/curl
        x11-libs/gtk+:2"
 DEPEND="${RDEPEND}
index 5787e8dcfe0964905f499894c94a4f50447bd861..4d78169060445d66e65ce98b5a2a54ac7c4857db 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -14,12 +14,14 @@ HOMEPAGE="https://mattn.github.com/growl-for-linux/"
 LICENSE="BSD-2"
 SLOT="0"
 KEYWORDS=""
+IUSE="libressl"
 
 RDEPEND="dev-db/sqlite:3
        dev-libs/dbus-glib
        dev-libs/glib:2
        dev-libs/libxml2
-       dev-libs/openssl
+       !libressl? ( dev-libs/openssl:0 )
+       libressl? ( dev-libs/libressl )
        net-misc/curl
        x11-libs/gtk+:2"
 DEPEND="${RDEPEND}