summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Kustov <coyote@bks.tv>2017-11-25 22:33:00 +0100
committerJonas Stein <jstein@gentoo.org>2017-11-25 22:59:18 +0100
commitbaa900e368781d3d67baff05a5a51b67e6d90f7c (patch)
tree0ae04669a5b91e0fa873c9ce74f375d7a3ff5e57 /app-mobilephone/gammu/gammu-1.38.5.ebuild
parentdev-python/yolk-portage: [QA] Consistent whitespace in metadata.xml (diff)
downloadgentoo-baa900e368781d3d67baff05a5a51b67e6d90f7c.tar.gz
gentoo-baa900e368781d3d67baff05a5a51b67e6d90f7c.tar.bz2
gentoo-baa900e368781d3d67baff05a5a51b67e6d90f7c.zip
app-mobilephone/gammu: Version bump to 1.38.5
A simple bump and removed one obsolete patch. Package-Manager: Portage-2.3.16, Repoman-2.3.5
Diffstat (limited to 'app-mobilephone/gammu/gammu-1.38.5.ebuild')
-rw-r--r--app-mobilephone/gammu/gammu-1.38.5.ebuild59
1 files changed, 59 insertions, 0 deletions
diff --git a/app-mobilephone/gammu/gammu-1.38.5.ebuild b/app-mobilephone/gammu/gammu-1.38.5.ebuild
new file mode 100644
index 00000000000..a7cde61cf98
--- /dev/null
+++ b/app-mobilephone/gammu/gammu-1.38.5.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="A tool to handle your cellular phone"
+HOMEPAGE="https://wammu.eu/gammu/"
+SRC_URI="https://dl.cihar.com/${PN}/releases/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="bluetooth curl dbi debug irda mysql nls odbc postgres usb"
+
+COMMON_DEPEND="
+ dev-libs/glib:2=
+ virtual/libgudev:=
+ bluetooth? ( net-wireless/bluez:= )
+ curl? ( net-misc/curl:= )
+ dbi? ( >=dev-db/libdbi-0.8.3:= )
+ mysql? ( virtual/mysql:= )
+ postgres? ( dev-db/postgresql:= )
+ usb? ( virtual/libusb:1= )
+"
+DEPEND="
+ ${COMMON_DEPEND}
+ irda? ( virtual/os-headers )
+ nls? ( sys-devel/gettext )
+ odbc? ( dev-db/unixODBC )
+"
+RDEPEND="
+ ${COMMON_DEPEND}
+ dev-util/dialog
+ virtual/libiconv
+"
+src_configure() {
+ local mycmakeargs=(
+ -DWITH_BLUETOOTH=$(usex bluetooth)
+ -DWITH_CURL=$(usex curl)
+ -DWITH_Gettext=$(usex nls)
+ -DWITH_Iconv=$(usex nls)
+ -DWITH_IRDA=$(usex irda)
+ -DWITH_LibDBI=$(usex dbi)
+ -DWITH_MySQL=$(usex mysql)
+ -DWITH_ODBC=$(usex odbc)
+ -DWITH_Postgres=$(usex postgres)
+ -DWITH_USB=$(usex usb)
+ -DBUILD_SHARED_LIBS=ON
+ -DINSTALL_DOC_DIR="share/doc/${PF}"
+ )
+ cmake-utils_src_configure
+}
+
+src_test() {
+ addwrite "/run/lock/LCK..bar"
+ MAKEOPTS+=" -j1" LD_LIBRARY_PATH="${BUILD_DIR}/libgammu" cmake-utils_src_test
+}