summaryrefslogtreecommitdiff
path: root/app-mobilephone/gammu
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-03-19 11:37:34 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-03-19 11:37:34 +0000
commitb7b97785ebbb2f11d24d14dab8b81ed274f4ce6a (patch)
tree9fd110f9fc996e8a4213eeda994a8c112491b86d /app-mobilephone/gammu
parent066d27181e9a797ad9f8fc43b49fc9a10ff2f707 (diff)
gentoo resync : 19.03.2019
Diffstat (limited to 'app-mobilephone/gammu')
-rw-r--r--app-mobilephone/gammu/Manifest4
-rw-r--r--app-mobilephone/gammu/gammu-1.39.0-r1.ebuild (renamed from app-mobilephone/gammu/gammu-1.39.0.ebuild)4
-rw-r--r--app-mobilephone/gammu/gammu-1.40.0.ebuild64
3 files changed, 69 insertions, 3 deletions
diff --git a/app-mobilephone/gammu/Manifest b/app-mobilephone/gammu/Manifest
index e216d50d77f0..49616c2f8b45 100644
--- a/app-mobilephone/gammu/Manifest
+++ b/app-mobilephone/gammu/Manifest
@@ -1,5 +1,7 @@
DIST gammu-1.38.5.tar.bz2 2138742 BLAKE2B 7a72a7b67475f73dc3580d618dee379893dc82d7950599b41ed1f7efb5fecd80af3a42a0cc0742cb73d055a4a778eaa4d42037c5be74d9b61a4b53cfe827bd00 SHA512 89a6b3872dfd9b4ebaf8b0f51265fec7e7ef72a42178f85846c7f52d926e96b3087bbe6650c4246e66c2624822021c5803b1bb6ca8ac90f3e5c109a644c0ee80
DIST gammu-1.39.0.tar.bz2 2151226 BLAKE2B 0e9b7a3f5321a166bbafe833134f49ac8dc93a68c5522be1c16e5ceb894cb242b644761a90188fbc9fa9dd62bde51828a72b29d09fc37b2aa2911d301dffac39 SHA512 ed8994f6ec25d8ddbed23680e8a02db05c8e7f85aa6b8c0d409b5e8377e7c9e07fc61e62d80f6741d648709fb58a10ec631155d8b1ffc1c7d3b6e425cf53c797
+DIST gammu-1.40.0.tar.bz2 2156194 BLAKE2B b030e1293eaf1aeb38a553d45507ec2c3b4ba9ae34e7cb6589a60bd34451b545cc8e1f7bebfe28c9c1a12c89cecedeac17ffe27ddffab27c274590801b2091dc SHA512 6dbab68f30567a501487cf4edf19e23b7b23b7b78e3dfff69fc8d3c95b62f74ee14fe25ca380eac071e67f1a523dfd69cb9137fe049bf6477dfcc94930b71ce9
EBUILD gammu-1.38.5.ebuild 1370 BLAKE2B 186baca896540594587219a137c496337f85b4270f584d52e2ce6e19969a85c2ca86c93dc55912a788d4c76a4b7a816deca6b6cb3360068644a77e0eba5708c4 SHA512 c6c481ab7206162e59734f04e2c6c5ccf0d9ab27d1de7750b02d89189d71a62db249bc45a0b875a57e9d046f2dd27ccee0be87e4ea2925306e6db81434832c82
-EBUILD gammu-1.39.0.ebuild 1359 BLAKE2B e8ded6da0e4c2b666a2b92c398576b43b82d9fa6376c9bd93644b377bf52a64ad181ba470cef61a93f594d2824e66003cbdaafa0bdbfb430d294ebc09d1fd148 SHA512 dee8d1a1b6197157649d57a8d1e1f6b249e5e03f28916facf0e918fe3eb0dd912bc50f477ba2a04d6c5637bfeb69268e53bc5341fc3eb8bb233d01cc18b10d4f
+EBUILD gammu-1.39.0-r1.ebuild 1367 BLAKE2B e9210ef751d124de84443a4e5ff78cc171cc4c428626087d4ad49c303d77fb034f68c362d53c5b8a7961c026c3095a74dd26c78a988e3cb6bdf7c776b14a6369 SHA512 eabadd6e99e6650f8b98a73b3e83319569d1d076fdf6f01f8368447bb720a6a521b4919c0c6acf6a2022fe8124f9296c798b2d779e47f7ff0b11b1f655bab4fe
+EBUILD gammu-1.40.0.ebuild 1437 BLAKE2B 5b9fbbfe25f6bf1c97a555de60005d3d0c9c8e8c860f1d66ad3e8dd0e11451ee3e0ff8f4cb1538b092bd7789fd29d0a044afe24c0e1d0912fa3acfbdb1f4cc7c SHA512 770fd5df827eaa5c3d8ae2eb2bd1a9c8bd3e45967d06bcc9ddd2fe098ede1c0d4fa24d8af0ecabcb6e63ada4aea527ec1de6d7f8d95c76832084968a330b86f3
MISC metadata.xml 984 BLAKE2B 3e0df0fd12d705aae2205d86942131a2cc482aeef6a4c963d8179fb84189df45eaa294b7701a0d0ada00596d171808df6e7f0c9f7b1b4f0467cddd12ee47b316 SHA512 2d6eeac0eb8c89178ee3c66f778d5db8e9b24bd645a47ba2996c0e676ba229f59fa2e1be908ee46a5e182c18d0638e473d8076cede396c910157bd286f084397
diff --git a/app-mobilephone/gammu/gammu-1.39.0.ebuild b/app-mobilephone/gammu/gammu-1.39.0-r1.ebuild
index d33aa0433469..44f8382b7a3b 100644
--- a/app-mobilephone/gammu/gammu-1.39.0.ebuild
+++ b/app-mobilephone/gammu/gammu-1.39.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -20,7 +20,7 @@ COMMON_DEPEND="
bluetooth? ( net-wireless/bluez:= )
curl? ( net-misc/curl:= )
dbi? ( >=dev-db/libdbi-0.8.3:= )
- mysql? ( virtual/mysql:= )
+ mysql? ( dev-db/mysql-connector-c:= )
postgres? ( dev-db/postgresql:= )
usb? ( virtual/libusb:1= )
"
diff --git a/app-mobilephone/gammu/gammu-1.40.0.ebuild b/app-mobilephone/gammu/gammu-1.40.0.ebuild
new file mode 100644
index 000000000000..3eb015fdcee0
--- /dev/null
+++ b/app-mobilephone/gammu/gammu-1.40.0.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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"
+
+DEPEND="
+ dev-libs/glib:2=
+ virtual/libgudev:=
+ bluetooth? ( net-wireless/bluez:= )
+ curl? ( net-misc/curl:= )
+ dbi? ( >=dev-db/libdbi-0.8.3:= )
+ mysql? ( dev-db/mysql-connector-c:= )
+ odbc? ( dev-db/unixODBC )
+ postgres? ( dev-db/postgresql:= )
+ usb? ( virtual/libusb:1= )
+"
+BDEPEND="
+ ${DEPEND}
+ irda? ( virtual/os-headers )
+ nls? ( sys-devel/gettext )
+"
+RDEPEND="
+ ${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"
+ LD_LIBRARY_PATH="${BUILD_DIR}/libgammu" cmake-utils_src_test -j1
+}
+
+src_install() {
+ cmake-utils_src_install
+ docompress -x /usr/share/doc/${PF}/examples/
+}