diff options
Diffstat (limited to 'media-radio')
-rw-r--r-- | media-radio/Manifest.gz | bin | 5015 -> 5018 bytes | |||
-rw-r--r-- | media-radio/fldigi/Manifest | 2 | ||||
-rw-r--r-- | media-radio/fldigi/fldigi-4.0.13.ebuild | 43 | ||||
-rw-r--r-- | media-radio/flrig/Manifest | 2 | ||||
-rw-r--r-- | media-radio/flrig/flrig-1.3.37.ebuild | 31 | ||||
-rw-r--r-- | media-radio/svxlink/Manifest | 3 | ||||
-rw-r--r-- | media-radio/svxlink/files/remotetrx.service | 22 | ||||
-rw-r--r-- | media-radio/svxlink/files/svxlink.service | 22 | ||||
-rw-r--r-- | media-radio/svxlink/svxlink-15.11-r1.ebuild | 76 |
9 files changed, 201 insertions, 0 deletions
diff --git a/media-radio/Manifest.gz b/media-radio/Manifest.gz Binary files differindex e0bc38f588c1..ea9dbea08509 100644 --- a/media-radio/Manifest.gz +++ b/media-radio/Manifest.gz diff --git a/media-radio/fldigi/Manifest b/media-radio/fldigi/Manifest index 0f821d05bce7..102beda39761 100644 --- a/media-radio/fldigi/Manifest +++ b/media-radio/fldigi/Manifest @@ -2,6 +2,7 @@ AUX fldigi-c++11.patch 1140 BLAKE2B 987d33126e80340d7687cc1e346a8cc8b5701c9f6a42 DIST fldigi-4.0.10.tar.gz 3633010 BLAKE2B 5b74b86949ad9737ec74c55d9335ce9df39fa4d390780801aa5b3698de5cce715e51218bc33e77bbb16a0ecb24554e927ea3d48ce024d6adc73a93acf49912b5 SHA512 211a29f75c5f07752b6b652d02bcdb63e9a318b2867140446ccef126cdeff69e99f6def0fa01bbe76b8ea7ad0a48dfc6ee1c3985758b0e941b524f94ad22e5ec DIST fldigi-4.0.11.tar.gz 3634431 BLAKE2B d6a597ef4cb81af919fbea8b713fdb522f1ac563053abdcb0dd60ac254598d85e0636f942562070d49c932ca10e78964695b4d544735c0f44155d59b665269d1 SHA512 d08453763ac19d294726f96f5be56250c435f4f5ee884c482cb17d804241428051e9cce33887d301483fc996d5a2c0f17b9f7ac44a2888089c1e7a521955092c DIST fldigi-4.0.12.tar.gz 3636531 BLAKE2B 0a8a70afde9001e8f01ace5abfbe0a700d4df3d4592edb9c68f11b50d226c35d4ccb9c41d88e023140e791a2d0a1a6e7cf42fe7dc990f08eee381f8c79d8ed42 SHA512 f8fd5d2d761a963820c08ffd01cf6849309eb0ea47cd07429f8dac43af7490deb0a3d62aba8b8ca122ea2d6f2747f2bcf122fc02c9fce64f0c0e1f81ca5d9344 +DIST fldigi-4.0.13.tar.gz 3715981 BLAKE2B 598473de1306b57674409c60b297f4e4e13f3c2c429f4044cfae92f92ce7584a03c1d867aa5d15d662d300f9f667a38475e0a26c741d5efdb8e3fa10714efb84 SHA512 e5a74da404657356663dd5c115572efcf6525fb8851f5b6e9efc49c042d281d9cbf163ac99ee63396cb08737a5ae9223c1c985d72483b7031b5003174ac80d0d DIST fldigi-4.0.4.tar.gz 3351853 BLAKE2B 895996058eea05a8e1a2a2d1fdafb90798c71d1b9fab62c4bca2b61d5547276c2b3fe9f1b3367e7fe790c05c50ceb971f4d4a8cc4186df20784435f4e0b507a4 SHA512 9629941f4e0ed43d99363e224184a2afa211294c2cf7964c3d6a4c53202cc0ca63c3b86c8a35065b84cfa3e7a61899e997a1d75fcf7821fba7900fa9585298f2 DIST fldigi-4.0.5.tar.gz 3611622 BLAKE2B 4e1fdf5ac600975f8d020ef999e557ea96484725997bfaf324b73dfa1565bb112f087941291b14cd023dc56fcf709367d08dda3c1ac444e63783838c358bbbd6 SHA512 cca07e73c7c411fe4c97d862c5f740aa4e31fa46423387929eec233045c27df8b1c4f1f8fd3a7a40d6f65f2023a900827456a5fa679e71bcf5868c3ab13018b5 DIST fldigi-4.0.6.tar.gz 3611395 BLAKE2B 455a725e93fa934814891b2202ab5185756c7b3507b78dcc75c480381415d5da1c3e76ee2b65215fd1d199ff18d095c2a12db30826feb42a8648beeab54af93e SHA512 07a685d2356cb7b8663d3f9217f4f124318fdaa3c9c460a14c3c262822e7f99ec0f45d7cd026ca269f1e497e9a420a094ae7b3c70ddb171403bcdbdd70883148 @@ -11,6 +12,7 @@ DIST fldigi-4.0.9.tar.gz 3625206 BLAKE2B c3b4056b8b5ddbf388cc660742998c110c27134 EBUILD fldigi-4.0.10.ebuild 965 BLAKE2B 249c84924b752a7f34b17713d9bcba9496ecea87d19c3ca45706f1f8a6ed8bed649e1d47e168637046974730ffbaecab1800d8bcfd3638dab1698b4318c7d415 SHA512 58087bc28d121bc466dc89355de61ce0e1630aca431c5954099e6c5774ad7ef24e34d6ac686b306794464b6cf35696fd12a24aceaeaa53515f3adde7f0b517a0 EBUILD fldigi-4.0.11.ebuild 965 BLAKE2B 249c84924b752a7f34b17713d9bcba9496ecea87d19c3ca45706f1f8a6ed8bed649e1d47e168637046974730ffbaecab1800d8bcfd3638dab1698b4318c7d415 SHA512 58087bc28d121bc466dc89355de61ce0e1630aca431c5954099e6c5774ad7ef24e34d6ac686b306794464b6cf35696fd12a24aceaeaa53515f3adde7f0b517a0 EBUILD fldigi-4.0.12.ebuild 964 BLAKE2B ecfcb6b1f1181b9e6f4bde50418569fb917788758888aa0d1d7544a0d137aa9b5fe327c855bcdb15678c8f1637af840fb6f0d7079b606d01103c2827aff0ae93 SHA512 a33217892281522e69e0ae5d2583b46ed51ba6c36e811b51db85f8814a50b2eac98c51b45e209dc89618fa6ae70e1e1aead5c8fb454c1041d8b9e6c98fd1260d +EBUILD fldigi-4.0.13.ebuild 965 BLAKE2B 249c84924b752a7f34b17713d9bcba9496ecea87d19c3ca45706f1f8a6ed8bed649e1d47e168637046974730ffbaecab1800d8bcfd3638dab1698b4318c7d415 SHA512 58087bc28d121bc466dc89355de61ce0e1630aca431c5954099e6c5774ad7ef24e34d6ac686b306794464b6cf35696fd12a24aceaeaa53515f3adde7f0b517a0 EBUILD fldigi-4.0.4-r1.ebuild 1042 BLAKE2B 2d4b16b28cdc326b8102404f4ffdce8e1321657a46aa00beba7dfea5fe9c7f87525afbd5740ad2774b3f6c3247cd6fabd7a4a67b834c62af9b4bf2102266ddc8 SHA512 7e3701bf4ccfe6d6257db9fb09d730bae0044c19b74833faf9a75be24f9bde0b750b0a91a04ffbb802068479b7ed504b9ad0c62b232ad9ead9620d9b463c76cc EBUILD fldigi-4.0.4.ebuild 981 BLAKE2B e524958f675792c66746b3a43d2d789804c34a49d2c9c2052cf39a806b422ad5e6c2e1e0ef8adfcfdb5985a5e848625c4974570ccbcb1971646fd7e4b476afc8 SHA512 7702bf8879d87134ccf6306ed18874061ffe10897e0a32d9772263489c3d214f607eb3af7d6fc5447c2e644d869370fa8376e5f9b1e9b57c46819f48b98d467e EBUILD fldigi-4.0.5.ebuild 986 BLAKE2B d52536a1d42b02e22c419dc9bec46583a9b6943dbf12fda2909f3bef9b626e703e43b3bc351cfe6e0b70cbb8a9b22bee67378e417a94862df3735c7bad6ebd35 SHA512 602b86836bf073a36274a2d61874d4dd1ed133e0fee65cdae02d31f6eaf3280dbaa4ec6cbd69c6caca906a15932c6bd8d351188e40f9993b6c196a64e80a0d53 diff --git a/media-radio/fldigi/fldigi-4.0.13.ebuild b/media-radio/fldigi/fldigi-4.0.13.ebuild new file mode 100644 index 000000000000..b447e289f005 --- /dev/null +++ b/media-radio/fldigi/fldigi-4.0.13.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils + +DESCRIPTION="Sound card based multimode software modem for Amateur Radio use" +HOMEPAGE="http://www.w1hkj.com" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="hamlib nls pulseaudio" + +RDEPEND="x11-libs/fltk:1[threads,xft] + media-libs/libsamplerate + media-libs/libpng:0 + x11-misc/xdg-utils + dev-perl/RPC-XML + dev-perl/Term-ReadLine-Perl + >=media-libs/portaudio-19_pre20071207 + hamlib? ( media-libs/hamlib ) + pulseaudio? ( media-sound/pulseaudio ) + >=media-libs/libsndfile-1.0.10" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext ) + virtual/pkgconfig" + +DOCS=( AUTHORS ChangeLog NEWS README ) + +src_prepare() { + epatch "$FILESDIR"/$PN-c++11.patch +} + +src_configure() { + econf --with-sndfile \ + $(use_with hamlib) \ + $(use_enable nls) \ + $(use_with pulseaudio) \ + --without-asciidoc +} diff --git a/media-radio/flrig/Manifest b/media-radio/flrig/Manifest index 4ba7cce89914..ed9a765e3382 100644 --- a/media-radio/flrig/Manifest +++ b/media-radio/flrig/Manifest @@ -8,6 +8,7 @@ DIST flrig-1.3.33.tar.gz 687422 BLAKE2B 7da15e2d3b9a11f5fdaa52c3292a5a610d519b47 DIST flrig-1.3.34.tar.gz 691775 BLAKE2B 3103e9eaeff7db47363e37f811d08519e8a5481a61d13c4b92f8013ec7e5bb71de8443e2809d1522b7a6b9cd117ab712bd6f56aea1d4fbbd60613c6cc9bcd4c6 SHA512 4d276bff8386c0d3ae4273477ff4ac9be32d7423f5b93a2806e693e2ef4966a50b28f08e3aab9340056a00fa1ae29b34f7443ae7a95eee2e4405be3600ac182d DIST flrig-1.3.35.tar.gz 692055 BLAKE2B f542ca97449ed9fad842f616a973d94027f28c626d5856b8a9a408114e4b834d90603212fbff41cb28c5d87da45a90b585370299967fc5d428caaf3a61011197 SHA512 b20e027cc89b0867f89a34da41e42768777b00802332c0dac2009649231845d7b7d149b329be3349087cef6a76f1a829fc7de49343e637efe34b54eb462c60d2 DIST flrig-1.3.36.tar.gz 692799 BLAKE2B 5fbe2a38a5b76f850c3ac7760481e2ae0b11e9115b239caf9c6a3fd8a39495baf7e00b615ce340fd60739aba36f3c2bb7fc25a6034f1d73add7c964b5db5a6b9 SHA512 8d8797ed09d9314eb4fa2100056b2f9f84cdb104a516a30b36c6341c05d09c5868cd3b9b256c967bed5514ac3362be28b46aca8f9af871f9261904bc12d6401e +DIST flrig-1.3.37.tar.gz 700906 BLAKE2B f37e858b23476b9b2cdcc3a07f011889b33118030b3b8a9d8e46c53ee57426554ff8db2a9a9e458eed6ffa2c84193b3aba7a8c5e6db994f5ad291f4e645d9da7 SHA512 a8d611cae7bf23c92689e75b75b8de72bf4ea56a5039e54c97dcfeca186afcdebb13782dffafb507047e1d5574e2af1fb6f88bc8a01452ac8921bfa6295c0c90 EBUILD flrig-1.3.27.ebuild 624 BLAKE2B 51c0584b7d610f8bc345674361d71bd6864815ec259232ec2c0a1203c8fa5468e446508ce076d8a8747af1973819cfb2f9ef4f81c393c3c0fae7de84150e135b SHA512 3f896c6421a005fabae7db40559b5ce5276d8b40de6a95deb7b9d8f00f1dbd437ed0dd49b034d51ab55c96efce41103651c65c632a51c90cfd1c1f978aeac337 EBUILD flrig-1.3.28.ebuild 626 BLAKE2B ee1d3a031a3cc026faaedacdacdc728f4b37f674fb1555eb29527b3bdd0852ad15094203d4909436a71b65b7afb5ebdaf0320ce27b4145452591b31b43ad4691 SHA512 e6c243bd911e9f894524d9366c6dd344941524a1811614056d547a68d56bf58996b3c4ff02b5e80bf27ced913c602589d480188b425d38fe5deaff3efbca7c9d EBUILD flrig-1.3.30.ebuild 626 BLAKE2B ee1d3a031a3cc026faaedacdacdc728f4b37f674fb1555eb29527b3bdd0852ad15094203d4909436a71b65b7afb5ebdaf0320ce27b4145452591b31b43ad4691 SHA512 e6c243bd911e9f894524d9366c6dd344941524a1811614056d547a68d56bf58996b3c4ff02b5e80bf27ced913c602589d480188b425d38fe5deaff3efbca7c9d @@ -17,4 +18,5 @@ EBUILD flrig-1.3.33.ebuild 625 BLAKE2B a355e324fdeb4cca2db3bab3ef4500871f4d0b8db EBUILD flrig-1.3.34.ebuild 626 BLAKE2B ee1d3a031a3cc026faaedacdacdc728f4b37f674fb1555eb29527b3bdd0852ad15094203d4909436a71b65b7afb5ebdaf0320ce27b4145452591b31b43ad4691 SHA512 e6c243bd911e9f894524d9366c6dd344941524a1811614056d547a68d56bf58996b3c4ff02b5e80bf27ced913c602589d480188b425d38fe5deaff3efbca7c9d EBUILD flrig-1.3.35.ebuild 626 BLAKE2B ee1d3a031a3cc026faaedacdacdc728f4b37f674fb1555eb29527b3bdd0852ad15094203d4909436a71b65b7afb5ebdaf0320ce27b4145452591b31b43ad4691 SHA512 e6c243bd911e9f894524d9366c6dd344941524a1811614056d547a68d56bf58996b3c4ff02b5e80bf27ced913c602589d480188b425d38fe5deaff3efbca7c9d EBUILD flrig-1.3.36.ebuild 625 BLAKE2B a355e324fdeb4cca2db3bab3ef4500871f4d0b8db73d11276a3dc3ac622492d108ffeed47db6c0bc3df808c77158627ae7efaefbeda04d66d755458f70b6cdcd SHA512 59ef8acf3d6101b54a05d832463eb1b100d6486f3c2a5fa2392fafc96abc32f228c4cb6655914a2111cc5ca67e3bb9e76916fde0edb183fa635794a64a89bca9 +EBUILD flrig-1.3.37.ebuild 626 BLAKE2B ee1d3a031a3cc026faaedacdacdc728f4b37f674fb1555eb29527b3bdd0852ad15094203d4909436a71b65b7afb5ebdaf0320ce27b4145452591b31b43ad4691 SHA512 e6c243bd911e9f894524d9366c6dd344941524a1811614056d547a68d56bf58996b3c4ff02b5e80bf27ced913c602589d480188b425d38fe5deaff3efbca7c9d MISC metadata.xml 325 BLAKE2B c4c98ed723dff91c8935c44ee552e25a08366edb7b73593d29d790622a49e130ef56137de21e1df16e1f968b1d5a0c984ce6df5b817a39f38523fb71353a3e1f SHA512 ca601e14e79450d08e0679e86827071a323fbc60cdf89412257747490046ca6efb2e78ae27f69c0e3ad449427049a35d478f2a7524a0606658ef9b302d9c0d43 diff --git a/media-radio/flrig/flrig-1.3.37.ebuild b/media-radio/flrig/flrig-1.3.37.ebuild new file mode 100644 index 000000000000..55065b05abc0 --- /dev/null +++ b/media-radio/flrig/flrig-1.3.37.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools eutils + +DESCRIPTION="Transceiver control program for Amateur Radio use" +HOMEPAGE="http://www.w1hkj.com/flrig-help/index.html" +SRC_URI="mirror://sourceforge/fldigi/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="nls" + +RDEPEND="x11-libs/libX11 + x11-libs/fltk:1 + x11-misc/xdg-utils" + +DEPEND="${RDEPEND} + sys-devel/gettext" + +src_prepare() { + epatch "${FILESDIR}"/fix-bashism.patch + eautoreconf +} + +src_install() { + emake DESTDIR="${D}" install + dodoc AUTHORS ChangeLog README +} diff --git a/media-radio/svxlink/Manifest b/media-radio/svxlink/Manifest index ec1f0020640c..514526635244 100644 --- a/media-radio/svxlink/Manifest +++ b/media-radio/svxlink/Manifest @@ -1,8 +1,11 @@ AUX remotetrx.init 786 BLAKE2B ec1183abfa81ee2e309bf91476623f8030a997f9a17ce8ba37a523fb30fb424972759d8aa81bfd776d7d53222ce6594739231db827248b0cf27876c9267f28d4 SHA512 66222df5ee57a28b5f857ee1209efa3e9af270be3f38ef763ec757b55ef58bd831f18e4704f6dd5554435522a24982ce59c8e70e013e2098b16b997495fb2d05 AUX remotetrx.rc 578 BLAKE2B 1f80f1c09aa77fc11a004a40a0a878f2b0b2f2c7d0dc2a70510e58442d7557b9424807cc1168a806e5348c314d1fb5c5afc562f3ae9a82daf470d5b07b412c5e SHA512 759adaa668f5f0315dd9d710d3ed738b4a0e042a7d12541862c2a311073d25573195336416b3940aaa89443242ce34abf7994c902603cd2640d08291037f465f +AUX remotetrx.service 725 BLAKE2B ecc70328d89dc6ab1e96cea7160e532847263d9307ceedb53faa6548d4215dc0c34f3aceaffc04192f4b7f199ea584672345436b4719d8afecd24be910893ca3 SHA512 28ce7d82aebfa074fafdee3bd59b411acbdf469e12c0fd06d16f9738168539d1dd0d293e380ad47b0266b809a15dab8504688f52f03efaaa7fda1338603dd287 AUX svxlink-15.11-gcc72.patch 500 BLAKE2B 8dfa6c6d28b8e1d3b14867bfcb5974ae62cb0cfdb208931c17146a7da8538b6ddd2e16b55aac484e5401b1c3b9613c86682265ac9504c4f1ffd5285af778f306 SHA512 b0f06e116c8ab65baca58324bed81a5b2fcd28f4c28cfccf9f5a173bbc2c0da32b5d68008ce157e92d95ee6cd9174f7c70a6f47029a98a1d618390a93cd54edb AUX svxlink.init 782 BLAKE2B 536435d70a3a5afbcf533ce39cc1b8bc0de5320ac57728a4ef7e7ed6aa3a702afb52c2b8e986c270c628b28b893a0a4058941addc6c29362c62bd6766ed69365 SHA512 ad3f8c2310a346bc34eeecf541cef87a5eb24649060695d8b510de3f08de1c0cdb4cccac229dc53ab1bf5bc6386aa7b191a6df3a1546a5ddcdfdc146b9f16b51 AUX svxlink.rc 568 BLAKE2B 7e0fa55b6d7d099778f2b20cf3b85b54a943460ade694bdf75159945f0be671eefefbffdfceaf28b092dcd4078970f88194d63311f3cea9cfb38922d83e9f1de SHA512 96e95116c031e3e5f21d1239362736c093c3e5c32adcb4eef1fa667c89a08d62cdb82640a246cf11b9fddc62544f98a660f626e91c67dd7a0d608904b8ddf6dd +AUX svxlink.service 690 BLAKE2B 7f62518556c7c0fd0a4e759031520181f5a9a61a4d5ebcf874e60e8cd400327feee0306011ab8c88b17b8a5b666cc0fda90244b7a9e5ad9734ec629e0bf3d2f3 SHA512 2879820eaa64bc574e1a2c57492ba429cb4b5748b56132fac8922727a8924197b719075c39a6ab0ffcb698b3cf4b5eb889f19c2aac0a9d143f0aef6de778b225 DIST svxlink-15.11.tar.gz 1528034 BLAKE2B 70a8f0f0181aee836738fba0b570d5fe5a896685267b8a9bbd09e6f6139fd764f5dac58dd57cff1ec2531b748511bb210a2aacc30704c5aee7d378489316a9b5 SHA512 b5c36e1a5e1dd0f954b7c2318d32d1bd52d8ec0a94a98e9c2de0b61ebbc6d0809d87fefbf13271c20a1a55e1a965e1a98f14c819df7b16a523b7cfc0fd4562ac +EBUILD svxlink-15.11-r1.ebuild 1750 BLAKE2B 0dd7c2ce869e18ea801c27c3af4aee7f0cac76e5c39807a36049c54734c14d108d57d5971c1aca1c71d3ebb8b8ce6594ab3455a8b0f64bce749dc4c98e4eada4 SHA512 033529dbe42592d5c650b62a08a48808c5bd5e2583d1505860abd1ce8cea6c93c3b91c1ec4937f92977e658d0bc236f327438cdc25461efd5fb5ba0d8f98f07d EBUILD svxlink-15.11.ebuild 1646 BLAKE2B 459ecb702fa6d5951ef130acbb34303b77b19dc0abd31c86f4179e5f175115739c3427448e5115b57d234b43ac69f49d5c98a1782ed4ac42c918268345f6e973 SHA512 8bb7ffe3775e1915256365cf8db31676db333d21217c2f6186fa0c36acc9aaff9f32bfddc35013f220b3461142b59cfec9a390206ef05761840e99ff0f4b2a5d MISC metadata.xml 696 BLAKE2B 51be8858bc950793e0044d7d8dfa695f3f4c1fa0f373be8908d00c0fdc73ee0fbbe06b118a28da147978ad204d63f2eb02183c961123d71c078fcaa9cc8306f0 SHA512 8e514fc2f15af5d7520a371ab802aa2a024276514d184f31b00b96c09b06e7b7c69904a0ea256f17fbe9e97f8da4cd908a91072284b274ba6488982e92182bc5 diff --git a/media-radio/svxlink/files/remotetrx.service b/media-radio/svxlink/files/remotetrx.service new file mode 100644 index 000000000000..fd808a220a50 --- /dev/null +++ b/media-radio/svxlink/files/remotetrx.service @@ -0,0 +1,22 @@ +;;;;; Author: Richard Neese<kb3vgw@gmail.com> + +[Unit] +Description=SvxLink remote transceiver repeater control software +Documentation=man:remotetrx(1) +After=network.target remote-fs.target syslog.target time.target + +[Service] +PIDFile=/var/run/remotetrx.pid +ExecStartPre=-/bin/touch /var/log/remotetrx +ExecStartPre=-/bin/chown svxlink /var/log/remotetrx +ExecStart=/bin/sh -c '/usr/bin/remotetrx --pidfile=/var/run/remotetrx.pid --logfile=/var/log/remotetrx --config=/etc/svxlink/remotetrx.conf --runasuser=svxlink' +ExecReload=/bin/kill -s HUP $MAINPID +Restart=on-failure +TimeoutStartSec=60 +#WatchdogSec=@SVX_WatchdogSec@ +#NotifyAccess=main +LimitCORE=infinity +WorkingDirectory=/etc/svxlink + +[Install] +WantedBy=multi-user.target diff --git a/media-radio/svxlink/files/svxlink.service b/media-radio/svxlink/files/svxlink.service new file mode 100644 index 000000000000..8b95f3047f78 --- /dev/null +++ b/media-radio/svxlink/files/svxlink.service @@ -0,0 +1,22 @@ +;;;;; Author: Richard Neese<kb3vgw@gmail.com> + +[Unit] +Description=SvxLink repeater control software +Documentation=man:svxlink(1) +After=network.target remote-fs.target syslog.target time.target + +[Service] +PIDFile=/var/run/svxlink.pid +ExecStartPre=-/bin/touch /var/log/svxlink +ExecStartPre=-/bin/chown svxlink /var/log/svxlink +ExecStart=/bin/sh -c '/usr/bin/svxlink --logfile=/var/log/svxlink --config=/etc/svxlink/svxlink.conf --pidfile=/var/run/svxlink.pid --runasuser=svxlink' +ExecReload=/bin/kill -s HUP $MAINPID +Restart=on-failure +TimeoutStartSec=60 +#WatchdogSec=@SVX_WatchdogSec@ +#NotifyAccess=main +LimitCORE=infinity +WorkingDirectory=/etc/svxlink + +[Install] +WantedBy=multi-user.target diff --git a/media-radio/svxlink/svxlink-15.11-r1.ebuild b/media-radio/svxlink/svxlink-15.11-r1.ebuild new file mode 100644 index 000000000000..5dfe0e89f9b6 --- /dev/null +++ b/media-radio/svxlink/svxlink-15.11-r1.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit cmake-utils eutils qt4-r2 systemd user + +CMAKE_USE_DIR="${S}/src" + +DESCRIPTION="Multi Purpose Voice Services System, including Qtel for EchoLink" +HOMEPAGE="http://www.svxlink.org" +SRC_URI="https://github.com/sm0svx/${PN}/archive/15.11.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-lang/tcl:0 + dev-qt/qtcore:4 + dev-qt/qtgui:4 + media-libs/alsa-lib + media-sound/gsm + dev-libs/libgcrypt:0 + media-libs/speex + media-libs/opus + dev-libs/libsigc++:2 + dev-libs/popt" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +pkg_setup() { + enewgroup svxlink + enewuser svxlink -1 -1 -1 svxlink +} + +src_prepare() { + # fix compilation problem with newer gcc bug #639592 + epatch "${FILESDIR}"/${P}-gcc72.patch + + cmake-utils_src_prepare + # drop deprecated desktop category (bug #475730) + sed -i -e "s:Categories=Application;:Categories=:g" src/qtel/qtel.desktop || die +} + +src_configure() { + local mycmakeargs=( + -DSYSCONF_INSTALL_DIR=/etc + -DLOCAL_STATE_DIR=/var + ) + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile +} + +src_install() { + cmake-utils_src_install + + fowners -R svxlink.svxlink /var/spool/svxlink + + rm -R "${D}"/usr/share/doc/svxlink || die + dodoc src/doc/README-${PV}.adoc + doman src/doc/man/*.1 src/doc/man/*.5 + + insinto /etc/logrotate.d + doins distributions/gentoo/etc/logrotate.d/* + + newinitd "${FILESDIR}"/remotetrx.init remotetrx + newinitd "${FILESDIR}"/svxlink.init svxlink + newconfd "${FILESDIR}"/remotetrx.rc remotetrx + newconfd "${FILESDIR}"/svxlink.rc svxlink + + systemd_dounit "${FILESDIR}"/remotetrx.service + systemd_dounit "${FILESDIR}"/svxlink.service +} |