diff options
-rw-r--r-- | media-sound/pavucontrol-qt/Manifest | 1 | ||||
-rw-r--r-- | media-sound/pavucontrol-qt/files/xdg-user-dirs-cmake-fix.patch | 11 | ||||
-rw-r--r-- | media-sound/pavucontrol-qt/pavucontrol-qt-0.3.0.ebuild (renamed from media-sound/pavucontrol-qt/pavucontrol-qt-0.1.0-r1.ebuild) | 16 |
3 files changed, 11 insertions, 17 deletions
diff --git a/media-sound/pavucontrol-qt/Manifest b/media-sound/pavucontrol-qt/Manifest new file mode 100644 index 00000000..01e28196 --- /dev/null +++ b/media-sound/pavucontrol-qt/Manifest @@ -0,0 +1 @@ +DIST pavucontrol-qt-0.3.0.tar.xz 34992 SHA256 35e5641f6f982332d14b8d70ec2ab6b4b3b3f672fb135ab016718d009062995e SHA512 689292049557425d70ecabb42112422737f8a26bfa5416d3018d69f2d2cde20d95a752a0750fe3ced26d71c1051d5bb8a13208396f48ce9d0027b7591e4bdef5 WHIRLPOOL 650d99c42d2613d37cd34eb550c8ef9ef146e77a2cf199e70013cd2f63f89a43c53800d2b5ad0ff78fa293b75d062d6284a306e76f10324046b2d45484140cd4 diff --git a/media-sound/pavucontrol-qt/files/xdg-user-dirs-cmake-fix.patch b/media-sound/pavucontrol-qt/files/xdg-user-dirs-cmake-fix.patch deleted file mode 100644 index 5c554846..00000000 --- a/media-sound/pavucontrol-qt/files/xdg-user-dirs-cmake-fix.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -Nur a/CMakeLists.txt b/CMakeLists.txt ---- a/CMakeLists.txt 2016-09-24 20:03:23.878743418 +0100 -+++ b/CMakeLists.txt 2016-09-24 20:03:37.416310552 +0100 -@@ -16,7 +16,6 @@ - find_package(Qt5LinguistTools REQUIRED QUIET) - - find_package(lxqt REQUIRED QUIET) --find_package(XdgUserDirs REQUIRED QUIET) - - include(LXQtCompilerSettings NO_POLICY_SCOPE) - include(LXQtTranslate) diff --git a/media-sound/pavucontrol-qt/pavucontrol-qt-0.1.0-r1.ebuild b/media-sound/pavucontrol-qt/pavucontrol-qt-0.3.0.ebuild index b42c54b1..3b2a60d0 100644 --- a/media-sound/pavucontrol-qt/pavucontrol-qt-0.1.0-r1.ebuild +++ b/media-sound/pavucontrol-qt/pavucontrol-qt-0.3.0.ebuild @@ -4,17 +4,21 @@ EAPI=6 -inherit eutils git-r3 cmake-utils +inherit eutils cmake-utils DESCRIPTION="Qt port of pavucontrol" HOMEPAGE="http://lxqt.org" -EGIT_REPO_URI="https://github.com/lxde/pavucontrol-qt.git" -EGIT_BRANCH="master" -EGIT_COMMIT="4ce124ce49071a97f9185a6e619608e8481a337a" + +if [[ ${PV} = *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="git://git.lxde.org/git/lxde/${PN}.git" +else + SRC_URI="https://github.com/lxde/${PN}/releases/download/${PV}/${P}.tar.xz" + KEYWORDS="amd64 ~arm ~arm64 ~x86" +fi LICENSE="GPL" SLOT="0" -KEYWORDS="amd64 x86" IUSE="" DEPEND="dev-qt/qtgui:5 @@ -27,6 +31,6 @@ DEPEND="dev-qt/qtgui:5 RDEPEND="${DEPEND}" src_prepare() { - epatch ${FILESDIR}/xdg-user-dirs-cmake-fix.patch + local mycmakeargs=( -DPULL_TRANSLATIONS=OFF ) cmake-utils_src_prepare } |