diff options
Diffstat (limited to 'app-arch/zchunk')
-rw-r--r-- | app-arch/zchunk/Manifest | 4 | ||||
-rw-r--r-- | app-arch/zchunk/zchunk-1.2.3.ebuild | 10 | ||||
-rw-r--r-- | app-arch/zchunk/zchunk-9999.ebuild | 12 |
3 files changed, 23 insertions, 3 deletions
diff --git a/app-arch/zchunk/Manifest b/app-arch/zchunk/Manifest index edad6f862649..0dc785457e18 100644 --- a/app-arch/zchunk/Manifest +++ b/app-arch/zchunk/Manifest @@ -1,4 +1,4 @@ DIST zchunk-1.2.3.tar.gz 1508271 BLAKE2B 7432289f3730083d0634c32f03d1daf2570c21e94ebab0aabeee4527f7ba56aef5cc567dfdb8ede701bea5d0cda4f248f0cf0fdb04e4f5ee1effb888a2907ec9 SHA512 5e46d8c3e36034de8424937cdfac59acdfaf332203e6e5d8b290614cbbe0340998d53b0583b0ef93189f41dc89219a75f50572757ebcea9abd83bd9aad861a73 -EBUILD zchunk-1.2.3.ebuild 574 BLAKE2B 4655308902d8bee360ca635c18820d7ec9cada7d6a3a3cdb4faeefc1b31909ea58e8ae407d9117f04cbba3347dab7e012c528017ef9befb5dbabcfc087e96bd4 SHA512 0eff461ee7e4d0a414de68fcecaae90b416467baf36aaa05949bb1a8631d3eab83c28884d9981fdc125db4b90c3a49d6e911d47d292647c1c19b9b9bdc7449e7 -EBUILD zchunk-9999.ebuild 569 BLAKE2B c9681269bf4802fb0a1018ecd814b2f6c8da2e747d0e7c10a99f7e0b0963fa82a2688a162e6b96375f1311e5d80ee6c69ccc151e8253386a2b802fadb7ef660d SHA512 938f2e7e8a190708900e4dc74691453902f9332d82bb8445f05ee7d2c20c6d7c155d2903b6c425d0ec5d72fc87a39a0b643700cfb79d0e7a24b2f355f19acf92 +EBUILD zchunk-1.2.3.ebuild 705 BLAKE2B c04697ec4edc4ad3f1f1ba772b7b5910b91a73e5c06a82db5547a88872ea807fb75eaae4a1ce1a34209ef3a8e5b7f7c17d11892b149523e6ed8992195c422606 SHA512 741d1dd28733df18d334eb4e05bf8628ac6186cd90ffb14a651ee4cc093c41012be3001741c3a8b73823ee4104a8c854b7c373ec294719aa4912d046e272e5b0 +EBUILD zchunk-9999.ebuild 705 BLAKE2B c04697ec4edc4ad3f1f1ba772b7b5910b91a73e5c06a82db5547a88872ea807fb75eaae4a1ce1a34209ef3a8e5b7f7c17d11892b149523e6ed8992195c422606 SHA512 741d1dd28733df18d334eb4e05bf8628ac6186cd90ffb14a651ee4cc093c41012be3001741c3a8b73823ee4104a8c854b7c373ec294719aa4912d046e272e5b0 MISC metadata.xml 481 BLAKE2B f6888c5e64deafa0b7f52a0f1b4c611c610108d91b7f8fd831f49ebc5fe67e5fae1c57e7bef2c1a51510b9beab33ace6aaa25bf6f88ce0d10f39d7c8479b7d06 SHA512 16d3ff19941ec61f62377ea01af9cfa0bc428e05f21610105ab02b3f9ad9464a28e74f2709249014f1720e7c2dd13cc8b3b7d02a880d8a785231af29d7e7b5c2 diff --git a/app-arch/zchunk/zchunk-1.2.3.ebuild b/app-arch/zchunk/zchunk-1.2.3.ebuild index 78b7906664ab..e89d8926554d 100644 --- a/app-arch/zchunk/zchunk-1.2.3.ebuild +++ b/app-arch/zchunk/zchunk-1.2.3.ebuild @@ -18,6 +18,8 @@ fi LICENSE="BSD-2" SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" DEPEND=" app-arch/zstd:= @@ -25,3 +27,11 @@ DEPEND=" dev-libs/openssl:= " RDEPEND="${DEPEND}" + +src_configure() { + local emesonargs=( + $(meson_use test tests) + ) + + meson_src_configure +} diff --git a/app-arch/zchunk/zchunk-9999.ebuild b/app-arch/zchunk/zchunk-9999.ebuild index 76677dce82f5..e89d8926554d 100644 --- a/app-arch/zchunk/zchunk-9999.ebuild +++ b/app-arch/zchunk/zchunk-9999.ebuild @@ -13,11 +13,13 @@ if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="https://github.com/zchunk/zchunk.git" else SRC_URI="https://github.com/zchunk/zchunk/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" + KEYWORDS="~amd64 ~x86" fi LICENSE="BSD-2" SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" DEPEND=" app-arch/zstd:= @@ -25,3 +27,11 @@ DEPEND=" dev-libs/openssl:= " RDEPEND="${DEPEND}" + +src_configure() { + local emesonargs=( + $(meson_use test tests) + ) + + meson_src_configure +} |