diff --git a/app-misc/dragon/Manifest b/app-misc/dragon/Manifest new file mode 100644 index 0000000000..9426b99df6 --- /dev/null +++ b/app-misc/dragon/Manifest @@ -0,0 +1 @@ +DIST dragon-1.1.1.tar.gz 17178 BLAKE2B bfe8cbda4beaf62de670eb2a02ad96b0289abd8ed2929ed35ddab2887ef63c6555dca1aad8bd73e87212ac79c8bfebd52371c9acaef180b475dab5ba03e01635 SHA512 e94a91752ff1af25452c09fb85ca318b29cb2301178346d3ff84ffd6270f6cf03e6f90c0db2e39567f5f724fdf8e6551a16e051b78920236c8177d965c209700 diff --git a/app-misc/dragon/dragon-1.1.1.ebuild b/app-misc/dragon/dragon-1.1.1.ebuild new file mode 100644 index 0000000000..c6a78934c6 --- /dev/null +++ b/app-misc/dragon/dragon-1.1.1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Simple drag-and-drop source/sink for X and Wayland" +HOMEPAGE="https://github.com/mwh/dragon" + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://github.com/mwh/dragon.git" + inherit git-r3 +else + SRC_URI="https://github.com/mwh/dragon/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="GPL-3" +SLOT="0" + +DEPEND=">=x11-libs/gtk+-3" +RDEPEND="${DEPEND}" + +src_install() { + emake PREFIX="${D}/usr/bin" install + dodoc README +} diff --git a/app-misc/dragon/dragon-9999.ebuild b/app-misc/dragon/dragon-9999.ebuild new file mode 100644 index 0000000000..c6a78934c6 --- /dev/null +++ b/app-misc/dragon/dragon-9999.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Simple drag-and-drop source/sink for X and Wayland" +HOMEPAGE="https://github.com/mwh/dragon" + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://github.com/mwh/dragon.git" + inherit git-r3 +else + SRC_URI="https://github.com/mwh/dragon/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="GPL-3" +SLOT="0" + +DEPEND=">=x11-libs/gtk+-3" +RDEPEND="${DEPEND}" + +src_install() { + emake PREFIX="${D}/usr/bin" install + dodoc README +} diff --git a/app-misc/dragon/metadata.xml b/app-misc/dragon/metadata.xml new file mode 100644 index 0000000000..087b286e3f --- /dev/null +++ b/app-misc/dragon/metadata.xml @@ -0,0 +1,11 @@ + + + + + octiabrina@myrvogna.net + Octiabrina Terrien-Puig + + + mwh/dragon + +