[arch-commits] Commit in oxyromon/trunk (PKGBUILD oxyromon-chdman-path.patch)

Maxime Gauduin alucryd at archlinux.org
Fri Mar 26 10:16:35 UTC 2021


    Date: Friday, March 26, 2021 @ 10:16:35
  Author: alucryd
Revision: 904469

upgpkg: oxyromon 0.6.0-2

Modified:
  oxyromon/trunk/PKGBUILD
Deleted:
  oxyromon/trunk/oxyromon-chdman-path.patch

----------------------------+
 PKGBUILD                   |   19 ++++++-------------
 oxyromon-chdman-path.patch |   21 ---------------------
 2 files changed, 6 insertions(+), 34 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-03-26 09:30:56 UTC (rev 904468)
+++ PKGBUILD	2021-03-26 10:16:35 UTC (rev 904469)
@@ -2,7 +2,7 @@
 
 pkgname=oxyromon
 pkgver=0.6.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Rusty ROM OrgaNizer'
 arch=(x86_64)
 url=https://github.com/alucryd/oxyromon
@@ -13,32 +13,25 @@
 )
 makedepends=(
   git
-  mame
+  mame-tools
   maxcso
   p7zip
   rust
 )
 optdepends=(
-  'mame: CHD support'
+  'mame-tools: CHD support'
   'maxcso: CSO support'
   'p7zip: 7Z and ZIP support'
 )
 _tag=bde32c31c83e12b18baefaf4182664b431dae16d
-source=(
-  git+https://github.com/alucryd/oxyromon.git?signed#tag=${_tag}
-  oxyromon-chdman-path.patch
-)
-validpgpkeys=('9437DD3815A7A9169E3D3946AFF5D95098BC6FF5') # Maxime Gauduin <alucryd at archlinux.org>
-b2sums=('SKIP'
-        '8cb8a37e11c521436c2e015367458219205ded84c404928cf74a5f75843b7903b420af6bc820ff809fd1fd8bd605185918393f140e1f66dd85c9a538698a9407')
+source=(git+https://github.com/alucryd/oxyromon.git?signed#tag=${_tag})
+validpgpkeys=(9437DD3815A7A9169E3D3946AFF5D95098BC6FF5) # Maxime Gauduin <alucryd at archlinux.org>
+b2sums=(SKIP)
 
 prepare() {
   cargo fetch \
     --locked \
     --manifest-path oxyromon/Cargo.toml
-
-  cd oxyromon
-  patch -Np1 -i ../oxyromon-chdman-path.patch
 }
 
 pkgver() {

Deleted: oxyromon-chdman-path.patch
===================================================================
--- oxyromon-chdman-path.patch	2021-03-26 09:30:56 UTC (rev 904468)
+++ oxyromon-chdman-path.patch	2021-03-26 10:16:35 UTC (rev 904469)
@@ -1,21 +0,0 @@
-diff '--color=auto' -rupN oxyromon.orig/src/chdman.rs oxyromon/src/chdman.rs
---- oxyromon.orig/src/chdman.rs	2021-03-25 16:24:40.030873441 +0100
-+++ oxyromon/src/chdman.rs	2021-03-25 16:25:32.009052878 +0100
-@@ -18,7 +18,7 @@ pub fn create_chd(cue_path: &PathBuf, pr
-     let mut chd_path = cue_path.clone();
-     chd_path.set_extension(CHD_EXTENSION);
- 
--    let output = Command::new("chdman")
-+    let output = Command::new("mame-chdman")
-         .arg("createcd")
-         .arg("-i")
-         .arg(cue_path)
-@@ -51,7 +51,7 @@ pub async fn extract_chd(
-     cue_name.push(CUE_EXTENSION);
-     let cue_path = directory.join(cue_name);
- 
--    let output = Command::new("chdman")
-+    let output = Command::new("mame-chdman")
-         .arg("extractcd")
-         .arg("-i")
-         .arg(chd_path)



More information about the arch-commits mailing list