From b49088575eb777ced2551f484da86317332d6087 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 24 Jul 2021 02:11:45 +0100 Subject: gentoo resync : 24.07.2021 --- x11-wm/subtle/Manifest | 2 +- x11-wm/subtle/subtle-0.11.3244-r1.ebuild | 83 +++++++++++++++++++++++++++++ x11-wm/subtle/subtle-9999.ebuild | 89 -------------------------------- 3 files changed, 84 insertions(+), 90 deletions(-) create mode 100644 x11-wm/subtle/subtle-0.11.3244-r1.ebuild delete mode 100644 x11-wm/subtle/subtle-9999.ebuild (limited to 'x11-wm/subtle') diff --git a/x11-wm/subtle/Manifest b/x11-wm/subtle/Manifest index bc16c84b3d91..b86fe3243c25 100644 --- a/x11-wm/subtle/Manifest +++ b/x11-wm/subtle/Manifest @@ -1,4 +1,4 @@ DIST subtle-0.11.3244.tar.gz 190549 BLAKE2B bb4b78165741ef30c1e9e145d4f26c8903d597dfa210688246210bb6f04ffb8b62b9295ffdfd0829f1c36019287ff82677253daf87878562b7ba55a517fb00ce SHA512 3d6edd5cb1b5dcd058caeddf3ead024c7cce39684baca8bac9709683ce3130a5c8433cbe046d28dc7420637dd855a2b6775638097f78a5e701bb85e505e8167c +EBUILD subtle-0.11.3244-r1.ebuild 1924 BLAKE2B ddaf40394ae07529b812de11215296a60fe776edc6cc667247be915a419bf9c651f6d09d19fa802feeb8070e024b5262dcc7cdc29e7c7ead94cea37d8e89bfe8 SHA512 dce8fa1370489615ec717f64cd735ebc015fd4eb9c4d665176e4c4a374fae4de4ce4ebaaf125f01730e7c5c5ca9d2be8488b3adae708832dc099f8f52e4fc57e EBUILD subtle-0.11.3244.ebuild 2070 BLAKE2B 1c2d16eeb72c171c164e4ec5862b18e52380b72aa26a3252d0192cdb4c3098d2e906fce700d2b2892ed96e3530078b39fc37415d967f81bb6e9a565273047df2 SHA512 c98a5bf12b1d3322344cdcf80ff612e5f4bc0f25ca637f6872538674e26c8aeed9a87ea4a2200f3636ea3f654256c64ec1c520f6a8e175a7f28ac7b301ea2fb2 -EBUILD subtle-9999.ebuild 2070 BLAKE2B 1c2d16eeb72c171c164e4ec5862b18e52380b72aa26a3252d0192cdb4c3098d2e906fce700d2b2892ed96e3530078b39fc37415d967f81bb6e9a565273047df2 SHA512 c98a5bf12b1d3322344cdcf80ff612e5f4bc0f25ca637f6872538674e26c8aeed9a87ea4a2200f3636ea3f654256c64ec1c520f6a8e175a7f28ac7b301ea2fb2 MISC metadata.xml 1071 BLAKE2B 174307dc5589d03b7ed88424c575b0f1aa3c88ac4e4c13e05d7cbec349247abb7da98c1b75a86e34e61f1e26a49f0623334383845a1e052f0789484f229e0774 SHA512 43820c6deb320cf15afee6d9e77d24da9f9084c1006b97e6b8a46a0208575af238500c1a635eb44f594498f8c74e3048ee9cd5085a9e1b7566e67c0cf5cf41d2 diff --git a/x11-wm/subtle/subtle-0.11.3244-r1.ebuild b/x11-wm/subtle/subtle-0.11.3244-r1.ebuild new file mode 100644 index 000000000000..1375736daf48 --- /dev/null +++ b/x11-wm/subtle/subtle-0.11.3244-r1.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" +USE_RUBY="ruby26 ruby27 ruby30" + +inherit ruby-ng toolchain-funcs + +SRC_URI="https://dev.gentoo.org/~radhermit/dist/${P}.tar.gz" +KEYWORDS="~amd64 ~x86" + +DESCRIPTION="A manual tiling window manager" +HOMEPAGE="https://subforge.org/projects/subtle/wiki" + +LICENSE="GPL-2" +SLOT="0" +IUSE="debug doc +xft xinerama xpm +xrandr +xtest" +RESTRICT="!test? ( test )" + +RDEPEND="x11-libs/libX11 + xft? ( x11-libs/libXft ) + xinerama? ( x11-libs/libXinerama ) + xpm? ( x11-libs/libXpm ) + xtest? ( x11-libs/libXtst ) + xrandr? ( x11-libs/libXrandr )" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +ruby_add_rdepend "dev-ruby/minitar" +ruby_add_bdepend "dev-ruby/rake doc? ( dev-ruby/rdoc )" + +all_ruby_unpack() { + if [[ ${PV} == "9999" ]]; then + mercurial_src_unpack + else + default + fi +} + +each_ruby_configure() { + local myconf + use debug && myconf+=" debug=yes" || myconf+=" debug=no" + use xft && myconf+=" xft=yes" || myconf+=" xft=no" + use xinerama && myconf+=" xinerama=yes" || myconf+=" xinerama=no" + use xpm && myconf+=" xpm=yes" || myconf+=" xpm=no" + use xtest && myconf+=" xtest=yes" || myconf+=" xtest=no" + use xrandr && myconf+=" xrandr=yes" || myconf+=" xrandr=no" + + ${RUBY} -S rake -v CC="$(tc-getCC)" destdir="${D}" ${myconf} config || die +} + +each_ruby_compile() { + ${RUBY} -S rake -v build || die +} + +all_ruby_compile() { + use doc && { rake rdoc || die ; } +} + +each_ruby_install() { + ${RUBY} -S rake -v install || die +} + +all_ruby_install() { + dodir /etc/X11/Sessions + cat <<-EOF > "${D}/etc/X11/Sessions/${PN}" + #!/bin/sh + exec /usr/bin/subtle + EOF + fperms a+x /etc/X11/Sessions/${PN} + + insinto /usr/share/xsessions + doins data/${PN}.desktop + + dodoc AUTHORS NEWS + + use doc && dodoc -r html +} + +pkg_postinst() { + elog "Note that surserver will currently not work since dev-ruby/datamapper" + elog "is not in the tree." +} diff --git a/x11-wm/subtle/subtle-9999.ebuild b/x11-wm/subtle/subtle-9999.ebuild deleted file mode 100644 index ef71c3fce45f..000000000000 --- a/x11-wm/subtle/subtle-9999.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" -USE_RUBY="ruby24 ruby25 ruby26" - -inherit ruby-ng toolchain-funcs - -if [[ ${PV} == "9999" ]]; then - EHG_REPO_URI="https://hg.subforge.org/subtle" - EHG_CHECKOUT_DIR=${S}/all - inherit mercurial -else - SRC_URI="https://dev.gentoo.org/~radhermit/dist/${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -DESCRIPTION="A manual tiling window manager" -HOMEPAGE="https://subforge.org/projects/subtle/wiki" - -LICENSE="GPL-2" -SLOT="0" -IUSE="debug doc +xft xinerama xpm +xrandr +xtest" -RESTRICT="!test? ( test )" - -RDEPEND="x11-libs/libX11 - xft? ( x11-libs/libXft ) - xinerama? ( x11-libs/libXinerama ) - xpm? ( x11-libs/libXpm ) - xtest? ( x11-libs/libXtst ) - xrandr? ( x11-libs/libXrandr )" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -ruby_add_rdepend "dev-ruby/archive-tar-minitar" -ruby_add_bdepend "dev-ruby/rake doc? ( dev-ruby/rdoc )" - -all_ruby_unpack() { - if [[ ${PV} == "9999" ]]; then - mercurial_src_unpack - else - default - fi -} - -each_ruby_configure() { - local myconf - use debug && myconf+=" debug=yes" || myconf+=" debug=no" - use xft && myconf+=" xft=yes" || myconf+=" xft=no" - use xinerama && myconf+=" xinerama=yes" || myconf+=" xinerama=no" - use xpm && myconf+=" xpm=yes" || myconf+=" xpm=no" - use xtest && myconf+=" xtest=yes" || myconf+=" xtest=no" - use xrandr && myconf+=" xrandr=yes" || myconf+=" xrandr=no" - - ${RUBY} -S rake -v CC="$(tc-getCC)" destdir="${D}" ${myconf} config || die -} - -each_ruby_compile() { - ${RUBY} -S rake -v build || die -} - -all_ruby_compile() { - use doc && { rake rdoc || die ; } -} - -each_ruby_install() { - ${RUBY} -S rake -v install || die -} - -all_ruby_install() { - dodir /etc/X11/Sessions - cat <<-EOF > "${D}/etc/X11/Sessions/${PN}" - #!/bin/sh - exec /usr/bin/subtle - EOF - fperms a+x /etc/X11/Sessions/${PN} - - insinto /usr/share/xsessions - doins data/${PN}.desktop - - dodoc AUTHORS NEWS - - use doc && dodoc -r html -} - -pkg_postinst() { - elog "Note that surserver will currently not work since dev-ruby/datamapper" - elog "is not in the tree." -} -- cgit v1.2.3