From 28d8acbb30a9ebda81447e5e3f5210a438ba7d24 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 30 Jan 2024 17:49:05 +0000 Subject: gentoo auto-resync : 30:01:2024 - 17:49:05 --- net-misc/Manifest.gz | Bin 55127 -> 55123 bytes net-misc/dropbox/Manifest | 3 + net-misc/dropbox/dropbox-191.4.4995.ebuild | 110 +++++++++++++++++++++++++++++ net-misc/ofono/Manifest | 8 +-- net-misc/ofono/ofono-1.34.ebuild | 66 ----------------- net-misc/ofono/ofono-2.0.ebuild | 66 ----------------- net-misc/ofono/ofono-2.1.ebuild | 4 +- net-misc/ofono/ofono-2.3.ebuild | 65 +++++++++++++++++ 8 files changed, 183 insertions(+), 139 deletions(-) create mode 100644 net-misc/dropbox/dropbox-191.4.4995.ebuild delete mode 100644 net-misc/ofono/ofono-1.34.ebuild delete mode 100644 net-misc/ofono/ofono-2.0.ebuild create mode 100644 net-misc/ofono/ofono-2.3.ebuild (limited to 'net-misc') diff --git a/net-misc/Manifest.gz b/net-misc/Manifest.gz index 198314fcb29c..da1d21ecf195 100644 Binary files a/net-misc/Manifest.gz and b/net-misc/Manifest.gz differ diff --git a/net-misc/dropbox/Manifest b/net-misc/dropbox/Manifest index 174254bbf2e3..24e3b903db9a 100644 --- a/net-misc/dropbox/Manifest +++ b/net-misc/dropbox/Manifest @@ -3,6 +3,9 @@ AUX dropbox.initd 1581 BLAKE2B c23a753b7e4d1132d516d607e0eee35072130f6e66c59af00 AUX dropbox_at.service-r2 1582 BLAKE2B 7a5d8eb1e99d6a9f6cc7d903d8d2cb6b124b4a5217e978d05f0afb08de90b3634bb802bd075a053b84b0ec4f5ef6643d2efb00beb964f9f14dd3dd234806358b SHA512 ce465614c848103ac19d3782bf55508ab9b3a3f1c0159cd0ccb7daa7374f014382b30a99bf2eb5488ab4474cad953ce0b4710c8222e5196ea49672db5d183b85 DIST DropboxGlyph_Blue.svg 605 BLAKE2B 6c488bd261293b22da98035935ddfa9247bedbc6f4da2f9fc2470af802c1f4f597ac88b01b5bef9e77e1e717267f633d6a04af2ccfd3c5f9dbff22fbceaf9a91 SHA512 9202344b904dcd7955e5a355dadf537d1544140d74f8a33bdc40e18e36661e3a474d11cf17613eaebf4e76c170d8413d99abdedfb8635784bcd6892b4b259712 DIST dropbox-lnx.x86-190.4.6383.tar.gz 113669890 BLAKE2B 538250096936e5548a55eb442f5893db2c0b25ff1cc3c040e82c568dd5400ed6dac7e83eacf5fb575a5ea05a5edf738458e99d6679f82c5622b4cf5364458a95 SHA512 65e603d504a36e236198ac7edae77d90a0ec17e7cdaad097d9fb80187194054e770aac546d3aa07ecdc9683489bb12c3f1ea553c942a237934f189d80637def8 +DIST dropbox-lnx.x86-191.4.4995.tar.gz 113609714 BLAKE2B 52c4c93bb3391a50f97eb484e44fd4db6c7772c031613a3250c18a342d314a4af28d76f47c73cc084af774c059e3a2015934e5e768ea6d1c5e3bdba0ab3ca121 SHA512 73c597afbd544a8e38c9dd389f97befc174b7768d95a1483bf0e50c03384a422d7f11ec33818803ee6c7e084f004b6cce42cb70b47b66876d32d47ff2eccf930 DIST dropbox-lnx.x86_64-190.4.6383.tar.gz 115387950 BLAKE2B f1e6e9f5b480a05192eb9595e1556ede907e3e971fa75cb0f25f3c0ea8bad89fdaa74e881461f2ca3ef7906c64d3e1986386d5086ee4b8210f587ab774d62797 SHA512 ba15c67c7763a7c58a8ff250444e1fc12720442e985ef70b208c5629c5157f9d5e561c28a7adf8c2a0c668206dd6f2ff881a0e688f0c8d06140e7325fdc07ea2 +DIST dropbox-lnx.x86_64-191.4.4995.tar.gz 115356260 BLAKE2B 56ade937a51ee6ce2137fc4996c1024c415a88ca59a7da2017dc8abb8a1e1012400550eb4a117d052a5cfe34221cdfc9ee1a4c4bf7cd1e61418dfccbfc9f702a SHA512 a0f9a8171b4824cb0338cd13948bc9a55a6dcbaabe5d8d2792895e8dc352b761100b06832a6617c82ad6566ba21a952cc25b19007d0f66db43030c869144036e EBUILD dropbox-190.4.6383.ebuild 2854 BLAKE2B 938a534f67e98c950bc2f5993afb13aa1d19875b2cd332c61e6045c085735bc0a8a54d3899824b4e5b5426ed7af1402d848dd53e67ea6634a9ce76f2e64396f6 SHA512 f595b7d859d54ee56ac430aa5dc327c8b21c0be56ed8e03b0b7d503a95965993982253261c2cb54c6438191ae1a4eac2be2e99bb27f03d02f6f3d7e8f3181f49 +EBUILD dropbox-191.4.4995.ebuild 2856 BLAKE2B 7b3cadc147c6d044c54809ba6dbb3ebbe41aa88f142bca3df50b9714da31f18383c74c7d4fbdbf3e0eb6aaea5b409487adb9fcd9893d58dbd9def7ff9fac423d SHA512 920f734f7fe52294740c36378609522424538fa5baa7459c1cb96d823ba4f4a7a4ff810b68a05bbe721f6ffcf9b1765b806ce400194e33be407a60dad68ab31d MISC metadata.xml 336 BLAKE2B 0932d5cb97ca50abfbfd49b3b209733da73c94ed41ef1087e6c43c4e65f3a09186f74c507cf0db5d64a1c5231d3560a7d6a8bb6130e95e1d5dbb7f3974801df3 SHA512 25bee9aa1ab64f01bb4544dec14b4b98bcb3877714ec33c6cbed4cdd3362d2a4cab58f425cad3723398e4ee0a2ba16a550ab38ff9f974cd0c5046df1b34b5eb0 diff --git a/net-misc/dropbox/dropbox-191.4.4995.ebuild b/net-misc/dropbox/dropbox-191.4.4995.ebuild new file mode 100644 index 000000000000..4ab56202224d --- /dev/null +++ b/net-misc/dropbox/dropbox-191.4.4995.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop pax-utils systemd xdg + +DESCRIPTION="Dropbox daemon (pretends to be GUI-less)" +HOMEPAGE="https://www.dropbox.com/" +SRC_URI=" + amd64? ( https://clientupdates.dropboxstatic.com/dbx-releng/client/dropbox-lnx.x86_64-${PV}.tar.gz ) + x86? ( https://clientupdates.dropboxstatic.com/dbx-releng/client/dropbox-lnx.x86-${PV}.tar.gz ) + https://www.dropbox.com/sh/42f8d4kq6yt5lte/AAD69lhaw6gy46W8HfQAm0GSa/Glyph/Dropbox/SVG/DropboxGlyph_Blue.svg +" + +LICENSE="BSD-2 CC-BY-ND-3.0 FTL MIT LGPL-2 openssl dropbox" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-linux" +IUSE="selinux X" + +RESTRICT="mirror strip" + +QA_PREBUILT="opt/.*" +QA_EXECSTACK="opt/dropbox/dropbox" + +BDEPEND="dev-util/patchelf" + +# Be sure to have GLIBCXX_3.4.9, #393125 +RDEPEND=" + X? ( + x11-themes/hicolor-icon-theme + ) + selinux? ( sec-policy/selinux-dropbox ) + app-arch/bzip2 + dev-libs/glib:2 + dev-libs/libffi-compat:6 + media-libs/fontconfig + media-libs/freetype + net-misc/wget + sys-libs/zlib + sys-libs/ncurses-compat:5 + virtual/opengl + x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXrender + x11-libs/libxcb +" + +src_unpack() { + unpack ${A} + mkdir -p "${S}" || die + mv "${WORKDIR}"/.dropbox-dist/* "${S}" || die + mv "${S}"/dropbox-lnx.*-${PV}/* "${S}" || die + rmdir "${S}"/dropbox-lnx.*-${PV}/ || die + rmdir .dropbox-dist || die +} + +src_prepare() { + default + # we supply all of these in RDEPEND + rm -vf libGL.so.1 libX11* libffi.so.6 || die + # some of these do not appear to be used + rm -vf libQt5{OpenGL,PrintSupport,Qml,Quick,Sql,WebKit,WebKitWidgets}.so.5 \ + PyQt5.QtPrintSupport.* PyQt5.QtQml.* PyQt5.QtQuick.* \ + wmctrl libdrm.so.2 libpopt.so.0 || die + if use X ; then + mv images/hicolor/16x16/status "${T}" || die + else + rm -vrf images || die + fi + patchelf --set-rpath '$ORIGIN' \ + apex._apex.*.so \ + nucleus_python.*.so \ + tprt.*.so \ + || die + pax-mark cm dropbox + mv README ACKNOWLEDGEMENTS "${T}" || die +} + +src_install() { + local targetdir="/opt/dropbox" + + insinto "${targetdir}" + doins -r * + fperms a+x "${targetdir}"/{dropbox,dropboxd} + dosym "${targetdir}/dropboxd" "/opt/bin/dropbox" + + if use X; then + doicon -s 16 -c status "${T}"/status + newicon -s scalable "${DISTDIR}/DropboxGlyph_Blue.svg" dropbox.svg + fi + + make_desktop_entry "${PN}" "Dropbox" "dropbox" + + newinitd "${FILESDIR}"/dropbox.initd dropbox + newconfd "${FILESDIR}"/dropbox.conf dropbox + systemd_newunit "${FILESDIR}"/dropbox_at.service-r2 "dropbox@.service" + + dodoc "${T}"/{README,ACKNOWLEDGEMENTS} +} + +pkg_postinst() { + einfo "Warning: while running, dropbox may attempt to autoupdate itself in" + einfo " your user's home directory. To prevent this, run the following as" + einfo " each user who will run dropbox:" + einfo "" + einfo "install -dm0 ~/.dropbox-dist" +} diff --git a/net-misc/ofono/Manifest b/net-misc/ofono/Manifest index 0d2d0d886031..22d9f8eba36f 100644 --- a/net-misc/ofono/Manifest +++ b/net-misc/ofono/Manifest @@ -1,10 +1,8 @@ AUX ofono.initd 418 BLAKE2B 0a0f8894ec52b7213e46c8a1474f1a6061324f6e31842910e241e40e88fdb92c15560f9a8744922fea9cf83114a242315de910fe849918e9e26f7b8ce63831ad SHA512 ef86f8e4d3b30d98eee5849c85fd8fd1bed0d8ac9c76bcce91440483439dbaea36e1ff3529fe8f5c1b0255a91917ab67d98513cafcae8f0031cce1bf3f133704 DIST ofono-1.33.tar.xz 1060408 BLAKE2B 646a96c0926ea032fef0357aabe6a4be6da88f4ccbdff59bb86b5de73a9b469362151b212a05234619f5d616b534343137c66e923782c7d50dfe13d2bf66558c SHA512 8d88226aa2b43eca840c6330045ee7a96c91f6003b06fca5ea55b74fc229f0e0ba0c8d98f7945f8c23ec5a8e7057bffef6335c61842e245686e0ed7c5feda589 -DIST ofono-1.34.tar.xz 1060828 BLAKE2B be0d3787ca9226763fb2bff46f1c3cec813d702730d6231986ec5aa43e2d96e08385fa3f64ccff97cf15844e41a33d6c37d1d35c8b0c5fcf3765848e258e3372 SHA512 79ebf0bc795288f07b58eeaa1a0aa3309b4afecae3abdd26c0749e22a4c2e74b65e93cbcfdfd1738dbcb2d0cfb8c687d182d706696a7c1cd5b4ed3bcec059489 -DIST ofono-2.0.tar.xz 1096856 BLAKE2B 28b29577cdd70129fd8f7346bd82e03078452b03bb4baf152c4e406cfc17a5eeac11312999592acad85d7c61c4595403d266482068576573fd1d75a15e610d80 SHA512 3b29845d06784bfec8e60f6590237b77baa0826b1366f7ed8491d41622da19c72290ff8508a4625e5d7d5f68a03237524aa2ef1936b26dbc035fb3e7fa747f23 DIST ofono-2.1.tar.xz 1097624 BLAKE2B 574293a73061470eec322df7fa62d581e8e8d2c5b81e896bff52173a986733f448686186bc0400ccf256fb931e26a1fef6a664dafa8f64935f936c9347e4a054 SHA512 7227939c488c2a62f640d5a8279e0698935aa1df5a2a349e195df9a8d9d9123c73a7f1177aae022b4c805d266c24a9770784193100adffa45f6c36a3ed847bb1 +DIST ofono-2.3.tar.xz 1216872 BLAKE2B e32ea09dbc8f0aa2ca3f322ffc34d9f9d06d862792b05a0f96ddba4ebe4038199ab40a4065582d68a35d2a5725646626bc36c8f9e83d89a42be8d76271144751 SHA512 0c53c2c441d28f89140192fe808769b3b27ef1ebf75e9ee9f9bfa53d0d102a47d11fcb364077ca88cdc598e8368924f477024b44a2adf795efe40b52ffe92dce EBUILD ofono-1.33.ebuild 1669 BLAKE2B eb7abc422df9cd30afe9da53ce32757c83b233bfa2c9e97584a8e89530ddf4cc4080eb5a578d5a1f8cb4f64e96e06c471220eda081a2d2275b090354109aac4e SHA512 d3a63932b9901c39f9b014be4d210085b4e098d574a52a47077ac9d168e659010727ce2a35dd1bddfa28e58fd105dc3c4f9f06d8db76dc0fdcbc600da689e328 -EBUILD ofono-1.34.ebuild 1683 BLAKE2B e4a1c00d3bbabc211a095fa8d4ed9c33eb36b6f56560f07c0f486656a258b68b2272d0305456a39218b235a9c9445ca2431dc5297d78007e608ba823329fef84 SHA512 4b113c7d2340cbfd44998ea1673cb71eb9afa4daf8bb701ceb5c6109b9095aa71c9975b1fc067ef59c4fea62488ba4d4a7a3c6b78b404b58c6002291cd2cae7a -EBUILD ofono-2.0.ebuild 1692 BLAKE2B f0e6f07726ac5dfa37771852951dec28bbe7359a6b2d593762c66d509dc45ae866b4f8dcd241fe8ee531ed26adf36e8463c57ae5e6b93036b67170b67d8bbe75 SHA512 6a4eac300254e6730c84c9c7dc203091e7873871a8ba8780eddbbcfaace78a8f5d7adcf76f3211c00a253dca41d6dc2e5840689c9a9cdaefa71190a358857d1f -EBUILD ofono-2.1.ebuild 1692 BLAKE2B f0e6f07726ac5dfa37771852951dec28bbe7359a6b2d593762c66d509dc45ae866b4f8dcd241fe8ee531ed26adf36e8463c57ae5e6b93036b67170b67d8bbe75 SHA512 6a4eac300254e6730c84c9c7dc203091e7873871a8ba8780eddbbcfaace78a8f5d7adcf76f3211c00a253dca41d6dc2e5840689c9a9cdaefa71190a358857d1f +EBUILD ofono-2.1.ebuild 1686 BLAKE2B de6607909c4ac9a226085e9a15868a847d3c86ed122d787262fe4acd532628e9e1a48318fa5fcafc5a3c7e602477a85dce970f7a922786945ad6aed51bc57eea SHA512 993e6c3ce4c15a9377039aeef493b98d84f92861f995b5a1933ab30aca70e7388166168801844362d505ac8390a0a6a4c96068d0659fab94e0096430c9477cf4 +EBUILD ofono-2.3.ebuild 1653 BLAKE2B dbaa4f9bfe8203924af0fbc53816082146bc7f83920608a1b71b0eaa9f72170cbdf9d129831244a29cc363b39fffa9c472d5a05b0f3d8f3d42d2b60f5ee39d00 SHA512 daca5e03bdc94f0ff974de5ded39e575c3ddc3baa220ebfa8e522ef7acecdaebee56a3095e1ff51c9b411ee935f0d2a7b227e7137afe0a0ce0e65792d7ff1cc9 MISC metadata.xml 952 BLAKE2B 9980756397330c03bd0f21db6d44e4af119135b9a864d4cdc97a697e7f0013051985c7db3c48d8d17bd592cfaf185a81add398d3e0a3ddc64aa61979a1603d5e SHA512 a745e9cf9a89e3c989cd950651c3d914ffe17e34f32f9623c468127011c6faa35942484d24c34c217b614b295743120a035a56aa30ae79343a72ba5cfbc462f0 diff --git a/net-misc/ofono/ofono-1.34.ebuild b/net-misc/ofono/ofono-1.34.ebuild deleted file mode 100644 index e55afed80dd2..000000000000 --- a/net-misc/ofono/ofono-1.34.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit systemd - -DESCRIPTION="Open Source mobile telephony (GSM/UMTS) daemon" -HOMEPAGE="https://git.kernel.org/pub/scm/network/ofono/ofono.git" -SRC_URI="https://www.kernel.org/pub/linux/network/${PN}/${P}.tar.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="+atmodem bluetooth +cdmamodem +datafiles doc dundee examples +isimodem +phonesim +provision +qmimodem tools +udev upower" - -REQUIRED_USE="dundee? ( bluetooth )" - -RDEPEND=">=sys-apps/dbus-1.6 - >=dev-libs/glib-2.68 - net-misc/mobile-broadband-provider-info - bluetooth? ( >=net-wireless/bluez-4.99 ) - udev? ( virtual/udev ) - examples? ( dev-python/dbus-python ) - tools? ( virtual/libusb:1 )" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -DOCS=( ChangeLog AUTHORS ) - -src_configure() { - econf \ - $(use_enable udev) \ - $(use_enable isimodem) \ - $(use_enable atmodem) \ - $(use_enable cdmamodem) \ - $(use_enable datafiles) \ - $(use_enable dundee) \ - $(use_enable bluetooth) \ - $(use_enable phonesim) \ - $(use_enable provision) \ - $(use_enable qmimodem) \ - $(use_enable tools) \ - $(use_enable examples test) \ - $(use_enable upower) \ - --disable-maintainer-mode \ - --disable-rilmodem - --localstatedir=/var \ - --with-systemdunitdir="$(systemd_get_systemunitdir)" -} - -src_install() { - default - - if use tools ; then - dobin tools/auto-enable \ - tools/huawei-audio \ - tools/lookup-provider-name \ - tools/lookup-apn \ - tools/get-location \ - tools/tty-redirector - fi - - newinitd "${FILESDIR}"/${PN}.initd ${PN} - use doc && dodoc doc/*.txt -} diff --git a/net-misc/ofono/ofono-2.0.ebuild b/net-misc/ofono/ofono-2.0.ebuild deleted file mode 100644 index 892057a6974a..000000000000 --- a/net-misc/ofono/ofono-2.0.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit systemd - -DESCRIPTION="Open Source mobile telephony (GSM/UMTS) daemon" -HOMEPAGE="https://git.kernel.org/pub/scm/network/ofono/ofono.git" -SRC_URI="https://mirrors.edge.kernel.org/pub/linux/network/${PN}/${P}.tar.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="+atmodem bluetooth +cdmamodem +datafiles doc dundee examples +isimodem +phonesim +provision +qmimodem tools +udev upower" - -REQUIRED_USE="dundee? ( bluetooth )" - -RDEPEND=">=sys-apps/dbus-1.6 - >=dev-libs/glib-2.68 - net-misc/mobile-broadband-provider-info - bluetooth? ( >=net-wireless/bluez-4.99 ) - udev? ( virtual/udev ) - examples? ( dev-python/dbus-python ) - tools? ( virtual/libusb:1 )" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -DOCS=( ChangeLog AUTHORS ) - -src_configure() { - econf \ - $(use_enable udev) \ - $(use_enable isimodem) \ - $(use_enable atmodem) \ - $(use_enable cdmamodem) \ - $(use_enable datafiles) \ - $(use_enable dundee) \ - $(use_enable bluetooth) \ - $(use_enable phonesim) \ - $(use_enable provision) \ - $(use_enable qmimodem) \ - $(use_enable tools) \ - $(use_enable examples test) \ - $(use_enable upower) \ - --disable-maintainer-mode \ - --disable-rilmodem - --localstatedir=/var \ - --with-systemdunitdir="$(systemd_get_systemunitdir)" -} - -src_install() { - default - - if use tools ; then - dobin tools/auto-enable \ - tools/huawei-audio \ - tools/lookup-provider-name \ - tools/lookup-apn \ - tools/get-location \ - tools/tty-redirector - fi - - newinitd "${FILESDIR}"/${PN}.initd ${PN} - use doc && dodoc doc/*.txt -} diff --git a/net-misc/ofono/ofono-2.1.ebuild b/net-misc/ofono/ofono-2.1.ebuild index 892057a6974a..b6e6a49216c8 100644 --- a/net-misc/ofono/ofono-2.1.ebuild +++ b/net-misc/ofono/ofono-2.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -11,7 +11,7 @@ SRC_URI="https://mirrors.edge.kernel.org/pub/linux/network/${PN}/${P}.tar.xz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="amd64 arm ~arm64 ~hppa ~loong ppc ppc64 ~riscv sparc x86" IUSE="+atmodem bluetooth +cdmamodem +datafiles doc dundee examples +isimodem +phonesim +provision +qmimodem tools +udev upower" REQUIRED_USE="dundee? ( bluetooth )" diff --git a/net-misc/ofono/ofono-2.3.ebuild b/net-misc/ofono/ofono-2.3.ebuild new file mode 100644 index 000000000000..10655da4f763 --- /dev/null +++ b/net-misc/ofono/ofono-2.3.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit systemd + +DESCRIPTION="Open Source mobile telephony (GSM/UMTS) daemon" +HOMEPAGE="https://git.kernel.org/pub/scm/network/ofono/ofono.git" +SRC_URI="https://mirrors.edge.kernel.org/pub/linux/network/${PN}/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="+atmodem bluetooth +datafiles doc dundee examples +isimodem +phonesim +provision +qmimodem tools +udev upower" + +REQUIRED_USE="dundee? ( bluetooth )" + +RDEPEND=">=sys-apps/dbus-1.6 + >=dev-libs/glib-2.68 + net-misc/mobile-broadband-provider-info + bluetooth? ( >=net-wireless/bluez-4.99 ) + udev? ( virtual/udev ) + examples? ( dev-python/dbus-python ) + tools? ( virtual/libusb:1 )" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +DOCS=( ChangeLog AUTHORS ) + +src_configure() { + econf \ + $(use_enable udev) \ + $(use_enable isimodem) \ + $(use_enable atmodem) \ + $(use_enable datafiles) \ + $(use_enable dundee) \ + $(use_enable bluetooth) \ + $(use_enable phonesim) \ + $(use_enable provision) \ + $(use_enable qmimodem) \ + $(use_enable tools) \ + $(use_enable examples test) \ + $(use_enable upower) \ + --disable-maintainer-mode \ + --disable-rilmodem + --localstatedir=/var \ + --with-systemdunitdir="$(systemd_get_systemunitdir)" +} + +src_install() { + default + + if use tools ; then + dobin tools/auto-enable \ + tools/huawei-audio \ + tools/lookup-provider-name \ + tools/lookup-apn \ + tools/get-location \ + tools/tty-redirector + fi + + newinitd "${FILESDIR}"/${PN}.initd ${PN} + use doc && dodoc doc/*.txt +} -- cgit v1.2.3