diff options
-rw-r--r-- | media-gfx/scangearmp/scangearmp-2.4.60.ebuild | 61 | ||||
-rw-r--r-- | media-sound/pamixer/pamixer-1.4.ebuild | 32 |
2 files changed, 93 insertions, 0 deletions
diff --git a/media-gfx/scangearmp/scangearmp-2.4.60.ebuild b/media-gfx/scangearmp/scangearmp-2.4.60.ebuild new file mode 100644 index 0000000..7693bdb --- /dev/null +++ b/media-gfx/scangearmp/scangearmp-2.4.60.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +MY_P1=$( ver_cut 1 ) +MY_P2=$( ver_cut 2- ) +MY_PN="${PN}${MY_P1}" +MY_P="${MY_PN}-source-${MY_P2}-3" + +DESCRIPTION="Driver and utility package for Canon scanners" +HOMEPAGE="https://www.canon.com" +SRC_URI="https://gdlp01.c-wss.com/gds/2/0100011792/01/${MY_P}.tar.gz" + +LICENSE="Canon-IJ" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=x11-libs/gtk+-2.16:2 +virtual/libusb:1" +RDEPEND="${DEPEND}" + +S="${PORTAGE_BUILDDIR}/work/${MY_P}/${MY_PN}" + +src_prepare() +{ + sed -i -e '/^CFLAGS/d' configure.in || die + sed -i -e '/AC_INIT/s/in/ac/' configure.in || die + mv configure.{in,ac} || die + + eapply_user + + eautoreconf +} + +src_compile() +{ + SHIPPED_LIBS="${PORTAGE_BUILDDIR}/work/${MY_P}/com/libs_bin$(usex amd64 "_x86_64" "_i686")" + emake LDFLAGS="-L${SHIPPED_LIBS}" +} + +src_install() +{ + SHIPPED_LIBS="${PORTAGE_BUILDDIR}/work/${MY_P}/com/libs_bin$(usex amd64 "_x86_64" "_i686")" + + dodir /usr/lib/bjlib + dodir /lib/udev/rules.d + + dolib.so "${SHIPPED_LIBS}/"*.so* + insinto /usr/lib/bjlib + doins "${PORTAGE_BUILDDIR}/work/${MY_P}/com/ini/canon_mfp2_net.ini" + + insinto /lib/udev/rules.d + doins "${S}/etc/"*.rules + + emake DESTDIR="${D}" install +} + diff --git a/media-sound/pamixer/pamixer-1.4.ebuild b/media-sound/pamixer/pamixer-1.4.ebuild new file mode 100644 index 0000000..e112f2e --- /dev/null +++ b/media-sound/pamixer/pamixer-1.4.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Pulseaudio command line mixer." +HOMEPAGE="https://github.com/cdemoulins/pamixer" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/cdemoulins/pamixer" +else + SRC_URI="https://github.com/cdemoulins/pamixer/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="amd64 x86" +fi + +RESTRICT="mirror" +LICENSE="GPL-3" +SLOT="0" +IUSE="" + +RDEPEND=" + dev-libs/boost + media-sound/pulseaudio" + +DEPEND="${RDEPEND}" + +src_install() { + dobin ${PN} + dodoc README.rst +} + |